# goose + Dizo

> Add Dizo to goose as a Remote Extension (Streamable HTTP) from the Desktop app, goose configure or config.yaml, with your key as a request header.

Type: MCP client — server URL `https://mcp.dizo.ai/mcp`. No native app needed.

## Steps
1. Create a Dizo key with a per-request maximum, daily cap and endpoint allow-list.
2. CLI: run `goose configure`, choose **Add Extension**, then **Remote Extension (Streamable HTTP)**, and enter the Dizo URL.
3. Answer **Yes** to "Would you like to add custom headers?" and add `Authorization` with the value `Bearer dz_live_...`.
4. Desktop: open the sidebar, click **Extensions**, then **Add custom extension**, choose the Streamable HTTP type and fill in the same URL and header.
5. Start a session and ask goose to call `dizo_whoami` to confirm the tools are loaded.

## Where to go
Opens goose Desktop with an install prompt for the Dizo extension.

Install in goose: goose://extension?url=https%3A%2F%2Fmcp.dizo.ai%2Fmcp&type=streamable_http&id=dizo&name=Dizo&description=Dizo%20data%20API

## goose configure
```
goose configure
# Add Extension
# Remote Extension (Streamable HTTP)
# URI: https://mcp.dizo.ai/mcp
# Would you like to add custom headers? Yes
# Header name: Authorization
# Header value: Bearer dz_live_...
# Add another header? No
```

## ~/.config/goose/config.yaml
```
extensions:
  dizo:
    type: streamable_http
    name: dizo
    enabled: true
    uri: "https://mcp.dizo.ai/mcp"
    headers:
      Authorization: "Bearer dz_live_..."
    timeout: 300
```

## Notes
- goose uses `extensions`, `uri` and `type: streamable_http` (underscore), not `mcpServers` and `url`.
- On Windows the config file is `%APPDATA%\Block\goose\config\config.yaml`.
- Use a `dz_test_` key while you design recipes: it returns synthetic data and never spends credits.

## Related API docs
- [/docs/search](https://dizo.ai/docs/search.md)
- [/docs/best-match](https://dizo.ai/docs/best-match.md)
- [/docs/email-find](https://dizo.ai/docs/email-find.md)
- [/docs/keys](https://dizo.ai/docs/keys.md)


## What goose is

goose is an open-source, on-machine AI agent that runs as a desktop app and as a command-line tool. It works with a range of model providers and gets its abilities from extensions, which are MCP servers. Some extensions are built in, others run locally as processes, and some are remote servers that goose reaches over Streamable HTTP. Its docs note that SSE is no longer supported for remote extensions, so streamable HTTP is the transport to use.

Dizo is a remote extension from goose's point of view. You point goose at `https://mcp.dizo.ai/mcp`, add your key as a request header, and the Dizo tools join whatever else goose can do on your machine. That combination is the interesting part: goose can read a local CSV, call Dizo for each row, write the results to a new file and run your script against it, all in one session.

## Why pair a general-purpose agent with B2B data

Many of goose's users are not building software. They automate the tedious parts of their own work: reports, file clean-up, research. Go-to-market work is full of that kind of task. A founder wants a short list of target accounts, an operations lead needs to re-find contacts whose emails bounced, a recruiter wants the engineering leaders at five companies. Each of those is a few tool calls plus some file handling, which suits an agent that can act on your machine.

Dizo keeps that work predictable. Each tool description lists its credit cost, lookups that find nothing are free, and searches charge only for results returned. The `dizo_quote` tool returns the exact cost of any call without spending anything, and `dizo_count` sizes a market for free. An agent with those tools can tell you what a task will cost before it does it.

## Tasks you can hand to goose

These are realistic requests for a goose session with the Dizo extension enabled. Credit costs follow the [MCP page](/mcp).

- "How many US logistics companies have 200 to 1,000 employees? Break it down by headcount band." (free)
- "Read accounts.csv, find the head of finance at each company and write the results to finance-leads.csv."
- "Find work emails for the names and companies in event-leads.csv and move not-found rows to a separate file." (1 credit per email found, misses free)
- "Who is behind the email in this support ticket, and what company do they work for?" (2 credits if found)
- "Build a list of 50 VPs of Marketing at Series B SaaS companies with work emails, but quote it first."
- "Look up these 12 domains and add headcount and industry columns to my spreadsheet." (1 credit each if found)
- "Check my Dizo balance and this month's spend before we start." (free)

## Setting it up from the CLI

Run `goose configure` and choose **Add Extension**, then **Remote Extension (Streamable HTTP)**. Give the extension a name, enter `https://mcp.dizo.ai/mcp` as the URI and accept or adjust the timeout. When goose asks "Would you like to add custom headers?", answer Yes, enter `Authorization` as the header name and `Bearer` followed by your key as the value, then answer No to adding another header.

goose saves the result in its config file, which is `~/.config/goose/config.yaml` on macOS and Linux and `%APPDATA%\Block\goose\config\config.yaml` on Windows. If you prefer editing the file, add a `dizo` entry under `extensions` with `type: streamable_http`, `uri`, `enabled: true`, a `headers` map and a `timeout`. Note the differences from other clients: goose uses `uri` rather than `url`, `extensions` rather than `mcpServers`, and an underscore in `streamable_http`.

## Setting it up in goose Desktop

In the desktop app, click the button in the top-left to open the sidebar, click **Extensions**, then **Add custom extension**. Choose the Remote Extension (Streamable HTTP) type, enter the Dizo URL as the endpoint and add a request header with `Authorization: Bearer` and your key. Set a timeout and click **Add**. The extension then appears in the list and can be switched on or off.

Desktop and CLI share the same configuration, so an extension added in one shows up in the other. That is convenient if you prototype a task in the app and later run it from a script.

## Keeping spend under control

goose can work through long tasks with little supervision, which is exactly when hard limits matter. Create a key just for goose with `max_credits_per_request`, `daily_cap_credits`, `monthly_cap_credits` and an `allowed_endpoints` list, using the [keys reference](/docs/keys). If your goose tasks never need phone numbers, leave the phone endpoints off the allow-list and the 10-credit lookups simply cannot happen.

Add guidance to your goose instructions or recipes: call `dizo_whoami` at the start, quote any job that may exceed about 100 credits with `dizo_quote`, and stop on `402 monthly_cap_reached`. For jobs of more than 50 lookups, the [batch endpoint](/docs/batch) is the right tool, with up to 10,000 lookups per job and results as JSONL or CSV. At account level, the monthly spend cap is a hard ceiling that auto-refill never exceeds, and alerts fire at 50%, 80% and 100%.

## Worked example: a finance-leader list from a CSV

You have a file of 40 target account domains and want the most senior finance person at each, with a work email. goose reads the file and calls the [decision-maker finder](/docs/best-match) with your ranked titles: CFO, then VP Finance, then Head of Finance. That tool charges 1 credit per 25 people returned, so 36 matches cost 1.44 credits. goose then calls email find for the 36 people. If 30 emails are found, that is 30 credits, and the six misses are free.

The total is 31.44 credits, about $0.79 at the $0.025 rate. goose writes the results to a new CSV with a column marking rows that still lack an email, so you know exactly where the gaps are. Had you asked for direct dials as well, the quote would have shown the jump: 30 found phones at 10 credits each is 300 credits, which is a decision worth making on purpose.

## A second example: cleaning a list before a send

An operations lead has 800 names and companies collected at an event and wants to email them next week. Asked to prepare the list, goose first quotes the job: at most 800 credits if every email lookup succeeds, or $20.00 at the $0.025 rate. Because the job is over 50 lookups, goose uses a batch job rather than 800 separate calls, then waits for it to complete.

If 560 emails come back, the job costs 560 credits ($14.00), and the 240 misses are free. goose splits the results into two files: found rows with their `confidence` score, and not-found rows to set aside. Dizo does not verify lists that already have addresses; a dedicated email-verification tool does that. If any found address later bounces, report it through the [feedback endpoint](/docs/feedback); confirmed bad data is credited back automatically. The [email finder](/products/email-finder-api) page explains the response in more detail.

## Troubleshooting

If the Dizo tools do not appear, check the config entry. The `type` must be `streamable_http`, the address key must be `uri` and the extension must be enabled. If goose connects but calls fail authentication, confirm the header value reads `Bearer`, one space and the key, and that the key has not been revoked. If it still fails, check goose's docs for the current extension schema, since field names can change between releases.

Dizo errors include a stable `error.code` and a plain-English `fix`. A key without the right scope or allow-list entry is refused, so ask goose to run `dizo_whoami` and read what the key can do. Rate-limit errors carry `error.retryable` and `error.retry_after`. A 402 means a cap was reached: stop, and raise the cap only if the spend was intended.

## Security practices

The goose config file holds your key in plain text when you use a header, so keep it out of any dotfiles repository you publish. If a key is exposed, revoke it in the console and create a new one. Giving goose its own key also means per-key usage in the console shows exactly what goose spent.

goose can read files and pages that contain text aimed at the model. Tight caps and a narrow allow-list bound what a manipulated session can do. Keys are read-only for billing by default, so goose cannot top up your account or change auto-refill unless you grant `billing:write`, and it should not need it.

## FAQ

### Does goose support remote MCP servers like Dizo?
Yes. goose supports remote extensions over Streamable HTTP. Add Dizo with goose configure, the Desktop Extensions page or a streamable_http entry in config.yaml.

### Where does goose store the Dizo configuration?
In ~/.config/goose/config.yaml on macOS and Linux, and %APPDATA%\Block\goose\config\config.yaml on Windows, under the extensions key.

### Why is my config.yaml entry ignored?
goose expects extensions, uri and type: streamable_http. Entries written for other clients, with mcpServers, url or streamable-http, will not load.

### Can goose use Dizo without spending credits?
Yes, with a dz_test_ key in the header. Test keys return synthetic data in the live format and never spend credits. You get a live key when you [sign up](/signup).

### How do I stop goose spending too much?
Use a dedicated key with a per-request maximum, daily and monthly caps and an endpoint allow-list. The account monthly cap stops calls with a 402 once it is reached, and misses cost nothing.

### Is there an official Dizo extension in the goose directory?
No. Dizo is added as a custom remote extension with the settings on this page.
