# Every Dizo API, ready as a tool your agent can call.

> Connect any MCP client to https://mcp.dizo.ai/mcp. Every Dizo API is a tool, and each tool description states its credit cost so agents can budget.

One remote MCP server exposes search, enrichment, email, phone, lists, monitors and billing reads as tools. Each tool tells the model what it costs before it is called.

## Highlights
- **One URL.** `https://mcp.dizo.ai/mcp` over streamable HTTP. A local stdio option exists too.
- **Cost in every tool.** Each tool description states its credit cost, such as **1 credit if found** or **1 credit / 25 results**.
- **Free planning tools.** `dizo_whoami`, `dizo_balance`, `dizo_count` and `dizo_quote` cost nothing.
- **OAuth or bearer key.** Sign in with OAuth 2.1 where the client supports it, or pass `Authorization: Bearer`.
- **Safe defaults.** MCP connections get `data:read` only and a 500-credit per-call limit unless you change them.
- **Feedback built in.** `dizo_report_bad_data` reports bounces and wrong numbers for automatic credit refunds.

## Steps
1. **Add the server** — Point your client at `https://mcp.dizo.ai/mcp`.
2. **Authenticate** — Complete OAuth, or add a scoped `dz_live_` or `dz_test_` key as a bearer header.
3. **Check access** — The agent calls `dizo_whoami` to learn its scopes and budget.
4. **Ask in plain English** — Describe who you want; the agent picks tools and quotes big jobs first.

## APIs used
| API | Endpoint | Credits | Charged | Reference |
|---|---|---|---|---|
| Natural-language search | `POST /v1/search` | 1 credit / 25 results | Per result returned | [docs](https://dizo.ai/docs/search.md) |
| Key info | `GET /v1/me` | Free | Never | [docs](https://dizo.ai/docs/me.md) |
| Balance & usage | `GET /v1/billing` | Free | Never | [docs](https://dizo.ai/docs/billing.md) |
| Count (TAM) | `POST /v1/count` | Free | Never | [docs](https://dizo.ai/docs/count.md) |


## What the MCP server is for

The Model Context Protocol is a standard way for AI applications to discover and call external tools. Instead of writing a custom integration for every assistant, a service publishes one MCP server, and any compatible client can list its tools, read their descriptions and call them. The [MCP glossary entry](/glossary/mcp-model-context-protocol) covers the protocol itself.

Dizo's server lives at `https://mcp.dizo.ai/mcp` and speaks streamable HTTP. It exposes every Dizo API as a tool: natural-language search, people and company search, free counts, the decision-maker finder, org charts, email and phone finders, enrichment, reverse lookups, job-change signals, lists, monitors, batch, suppression, data feedback and the free account reads. Connect once and an assistant such as Claude, or an agent you built yourself, can ask for B2B data in the middle of a conversation.

The difference from a generic connector is that the tools are written for models that spend money. Each tool says what it costs, and the free planning tools let an agent check its budget before it acts.

## Credit cost in every tool description

When an MCP client connects, it reads each tool's name and description and passes them to the model. Dizo puts the price in that description. `dizo_find_email` says 1 credit if found. `dizo_find_phone` says 10 credits if found. `dizo_search` says 1 credit per 25 results. `dizo_enrich_person` says 2 credits, plus 1 for email and 10 for phone. The free tools say free.

That changes how a model chooses. Given a request like get me a way to reach the CFO at each of these 30 companies, a model that can see prices will usually reach for email before phone, and for a single decision-maker call over a full org chart. It also lets the model tell you, before it starts, roughly what a task will cost, which is a better experience than finding out afterwards.

Descriptions are a guide, not a guard. Hard limits come from the key and the account, covered below.

## The tools, grouped by job

Twenty-three tools cover the whole API. Thinking of them in groups makes it easier to decide what to allow on a given key.

- Find people and companies: `dizo_search`, `dizo_people_search`, `dizo_company_search`, `dizo_best_contact`, `dizo_org_chart`.
- Get contact data: `dizo_find_email`, `dizo_find_phone`, `dizo_enrich_person`.
- Enrich and identify: `dizo_enrich_person`, `dizo_enrich_company`, `dizo_email_to_profile`, `dizo_phone_to_profile`, `dizo_domain_to_company`.
- Work at scale and over time: `dizo_batch`, `dizo_create_list`, `dizo_create_monitor`, `dizo_watch_job_changes`.
- Keep data clean: `dizo_suppress`, `dizo_report_bad_data`.
- Plan and check, all free: `dizo_whoami`, `dizo_balance`, `dizo_count`, `dizo_quote`.

## Connecting a client

How you add the server depends on the client. In Claude Code, one command does it: `claude mcp add --transport http dizo https://mcp.dizo.ai/mcp --header "Authorization: Bearer $DIZO_API_KEY"`. In Claude Desktop or claude.ai, go to Settings, then Connectors, then Add custom connector, paste the URL and sign in with OAuth. Cursor and many other clients read a JSON file with an `mcpServers` entry that names the URL and an `Authorization` header.

For clients that only run local servers, there is a stdio package: `npx -y @dizo/mcp`, which reads your key from the `DIZO_API_KEY` environment variable. Per-client walkthroughs live on the integration pages, for example [Claude Code](/integrations/claude-code) and [Cursor](/integrations/cursor).

Use a `dz_test_` key while you set things up. It returns synthetic data and never spends credits, so you can try prompts and watch tool choices before anything real is billed.

## Safety defaults and limits

An MCP connection starts conservative. It gets the `data:read` scope only and a 500-credit limit per call, unless you change them in the console. That means a fresh connection can search and look up data but cannot top up credits, change auto-refill, edit spend limits or create keys, and no single tool call can spend more than 500 credits.

On top of that, the key behind the connection carries whatever you set when you created it: daily and monthly credit caps, an endpoint allow-list, an optional IP allowlist and expiry. The account has its own monthly cap in dollars, refills included. Every limit applies to MCP calls exactly as it does to REST calls, because the server calls the same API.

For an assistant used by a whole team, give it a dedicated key with a modest monthly cap and leave phone paths off its allow-list unless the team needs them. That one decision bounds the worst case. The [scoped API keys](/features/scoped-api-keys) page shows how.

## How a well-behaved agent session runs

The free tools exist so an agent can plan. A sensible session starts with `dizo_whoami` to learn its scopes, per-call limit and remaining budget. For anything market-sized it calls `dizo_count`, which returns a matching total at no cost. To compare segments, it runs one count per segment, and each is still free. Before a large job it calls `dizo_quote`, which returns the exact credit cost of a call and spends nothing.

Only then does it run the paid tools, with `max_credits` set on each call as a ceiling. During long loops it checks `dizo_balance`, and if monthly spend is near the cap it stops and asks the human rather than ploughing on. If a returned email bounces later, `dizo_report_bad_data` files the report, and confirmed reports are credited back automatically.

None of this needs special prompting with capable models, because the tool descriptions say what each one is for. A sentence in your system prompt asking the agent to quote any job over about 100 credits and confirm first is still worth adding.

## Prompts that make good use of the tools

The model does the routing, but the way you phrase a request still shapes the result. Say who you want in concrete terms, say what contact data you actually need, and give a budget. A request with a number in it, such as stay under 200 credits, lets the agent set `max_credits` and decide between cheaper and more expensive tools on its own.

A few prompts that map cleanly onto the tools show the pattern. Each names a job, a scope and a limit, so the model can plan before it spends.

Notice that none of these ask for phone numbers unless the job needs them. At 10 credits per number found, phones are where an unfocused prompt costs the most, so be explicit when you want them and when you do not.

- How many heads of IT work at US hospitals with more than 500 employees, split by state? Use free counts only.
- Find the most senior sales leader at each of these 40 domains, falling back from CRO to VP Sales to Head of Sales, with verified emails.
- Watch these 200 customer champions and tell me when any of them change jobs.
- These 80 contacts bounced. Re-identify them with person enrich and find a current work email only where they moved.
- Who is behind this phone number, and is it on the Do Not Call registry?

## A worked example: meeting prep in one conversation

Say you ask an assistant connected to Dizo: I am meeting Ledgerline tomorrow; who runs sales and RevOps there, and can I get their emails? The assistant calls `dizo_domain_to_company` for ledgerline.io, which costs 1 credit if found. It then calls `dizo_org_chart` filtered to the sales department and director-and-above seniority. Suppose that returns 12 people: 12 results at 1 credit per 25 is 0.48 credits.

It picks the four most relevant people and calls `dizo_find_email` for each. If three are found, that is 3 credits; the miss is free. Total for the conversation: about 4.5 credits, or around 11 cents at the pay-as-you-go rate of $0.025 per credit. The assistant can state that estimate before it starts, because every price was in the tool list.

The same flow with phone numbers added for two people would add up to 20 credits if both were found. That is the kind of choice the model can now put to you explicitly.

## MCP or REST

Both reach the same API with the same prices and limits. Use MCP when a model decides what to call: assistants, coding agents and conversational tools. Use REST when your code decides: nightly syncs, form enrichment, CRM pipelines and batch jobs, where you want explicit control of retries and `Idempotency-Key` headers. Many teams use both, with separate keys so each has its own caps.

The [MCP page](/mcp) lists every tool with its current price, and the [pricing](/pricing) page shows how the per-credit rate falls from $0.025 to $0.010 with larger purchases. Sign up for a live key, or start now with a test key.

## FAQ

### What is the Dizo MCP server URL?
`https://mcp.dizo.ai/mcp`, using streamable HTTP. A local stdio version runs with `npx -y @dizo/mcp` and reads `DIZO_API_KEY`.

### How does the server authenticate?
With OAuth 2.1 for clients that support it, or an `Authorization: Bearer` header carrying a Dizo API key.

### Does each tool show its price?
Yes. Every tool description includes its credit cost, so the model can compare options and estimate a task before calling anything.

### Can an agent spend without limits over MCP?
No. MCP connections default to `data:read` and a 500-credit per-call limit, and the key's daily, monthly and per-request caps plus the account monthly cap all apply.

### Which tools are free?
`dizo_whoami`, `dizo_balance`, `dizo_count`, `dizo_quote`, `dizo_suppress` and `dizo_report_bad_data`, which refunds credits on confirmed reports.

### Can I try the MCP server without spending credits?
Yes. Connect with a `dz_test_` key. It returns synthetic data and is always free.
