# Use RocketVerifier with AI assistants

Source: https://docs.rocketverifier.com/mcp

> RocketVerifier runs an official MCP server at https://api.rocketverifier.com/mcp. Add the URL to any MCP client and sign in with OAuth, or send an API key as a Bearer token. Clients that run local servers use the @rocketverifier/mcp npm package instead. Assistants then verify emails, find addresses, run bulk jobs and check domains straight from the conversation.

The Model Context Protocol (MCP) lets AI assistants call external tools. With the RocketVerifier server connected, you ask in plain language and the assistant runs the verification, the bulk job or the domain check for you, on your account and your credits.

## Choose remote or local

Use the remote server whenever your client supports remote MCP servers. Use the npm package for clients that only start local servers.

| | Remote server | Local package |
| --- | --- | --- |
| Address | `https://api.rocketverifier.com/mcp` | `npx -y @rocketverifier/mcp` |
| Transport | Streamable HTTP | stdio |
| Sign in | OAuth in the browser, or an API key as a Bearer token | API key in `ROCKETVERIFIER_API_KEY` |
| Install | None | Node.js 18 or later |
| Tools | 15 | 14 (everything except `find_email`) |

## Connect Claude

Claude on the web and Claude Desktop add the remote server as a custom connector and sign in with OAuth.

**Step 1. Add a custom connector**

Open Settings, Connectors, and choose Add custom connector. Name it RocketVerifier and enter `https://api.rocketverifier.com/mcp` as the URL.

**Step 2. Sign in and approve**

Click Connect. A RocketVerifier window opens: sign in, pick your personal account or an organization, optionally set a monthly credit cap, and click Allow.

To run the local package in Claude Desktop instead, add it to `claude_desktop_config.json`:

claude_desktop_config.json:

```json
{
  "mcpServers": {
    "rocketverifier": {
      "command": "npx",
      "args": ["-y", "@rocketverifier/mcp"],
      "env": {
        "ROCKETVERIFIER_API_KEY": "rv_live_your_api_key"
      }
    }
  }
}
```

## Connect Claude Code

Add the remote server with one command, then sign in from inside Claude Code.

CLI:

```bash
claude mcp add --transport http rocketverifier https://api.rocketverifier.com/mcp
```

Run `/mcp` in Claude Code, select rocketverifier and authenticate in the browser. To use an API key instead of OAuth, pass it as a header:

CLI:

```bash
claude mcp add --transport http rocketverifier https://api.rocketverifier.com/mcp \
  --header "Authorization: Bearer $ROCKETVERIFIER_API_KEY"
```

## Connect Cursor

Add the server to `.cursor/mcp.json` in your project, or to `~/.cursor/mcp.json` for every project. Cursor opens the RocketVerifier sign-in the first time it connects.

.cursor/mcp.json:

```json
{
  "mcpServers": {
    "rocketverifier": {
      "url": "https://api.rocketverifier.com/mcp"
    }
  }
}
```

To use an API key, add `"headers": { "Authorization": "Bearer rv_live_your_api_key" }` next to `url`, or run the local package with `"command": "npx"`, `"args": ["-y", "@rocketverifier/mcp"]` and the key in `env`.

## Connect VS Code

Add the server to `.vscode/mcp.json` in your workspace. VS Code starts the OAuth sign-in when you first use a tool.

.vscode/mcp.json:

```json
{
  "servers": {
    "rocketverifier": {
      "type": "http",
      "url": "https://api.rocketverifier.com/mcp"
    }
  }
}
```

For the local package, let VS Code prompt for the key so it never lands in the file:

.vscode/mcp.json:

```json
{
  "inputs": [
    { "type": "promptString", "id": "rv-key", "description": "RocketVerifier API key", "password": true }
  ],
  "servers": {
    "rocketverifier": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@rocketverifier/mcp"],
      "env": { "ROCKETVERIFIER_API_KEY": "${input:rv-key}" }
    }
  }
}
```

## Connect ChatGPT and other clients

Any client that supports remote MCP servers connects with the URL alone, and any client that runs local servers uses the npm package.

- **ChatGPT:** turn on developer mode in Settings, then create a connector with the URL `https://api.rocketverifier.com/mcp` and OAuth authentication. Sign in to RocketVerifier when prompted.
- **Remote clients:** add `https://api.rocketverifier.com/mcp` as a remote or Streamable HTTP server. Clients that implement MCP authorization sign in with OAuth automatically. Others send `Authorization: Bearer rv_live_your_api_key`.
- **Local clients:** run `npx -y @rocketverifier/mcp` with `ROCKETVERIFIER_API_KEY` set. `ROCKETVERIFIER_BASE_URL` overrides the API base URL, which defaults to `https://api.rocketverifier.com`.

Building your own client or connector? [MCP connector with OAuth](https://docs.rocketverifier.com/oauth/mcp) covers discovery, registration and token handling.

## Choose how to authenticate

The server accepts three credentials, all sent as `Authorization: Bearer`.

| Credential | Prefix | Best for |
| --- | --- | --- |
| OAuth access token | `rv_at_` | Remote clients. The user signs in once, picks an account and can set a monthly credit cap. No key to copy or rotate. |
| Live API key | `rv_live_` | Local package, scripts and clients without OAuth support. Create one in [API keys](https://app.rocketverifier.com/dashboard/api-keys). |
| Sandbox API key | `rv_test_` | Testing and CI. Accepts only `@sandbox.rocketverifier.com` addresses and never charges. |

OAuth connections appear under Settings, Connected apps, where you can change the cap or disconnect at any time. See [authentication](https://docs.rocketverifier.com/authentication) for API key options such as scopes, spend caps and IP allowlists.

## Available tools

The remote server has 15 tools, and the npm package has the same tools except `find_email`. Every tool calls the REST API on your account, so credits, limits and results match the API exactly.

| Tool | What it does | Credits |
| --- | --- | --- |
| `verify_email` | Verifies one address in real time: status, sub_status, score, catch-all verdict and domain details. | 1, free for unknown results and sandbox addresses |
| `find_email` | Finds a person's address from their name and company domain, with a confidence and the naming pattern. Remote server only. | 1 per candidate checked with a definite answer, up to 4 |
| `create_bulk_job` | Starts a bulk job from a list of up to 100,000 addresses. | 1 per unique email |
| `upload_bulk_from_url` | Starts a bulk job from a CSV, TSV, TXT or XLSX file (up to 50 MB) at a public HTTPS URL. With `preview`, it waits for confirmation after a free estimate. | 1 per unique email when it starts, free with `preview` |
| `preview_bulk_job` | Returns the free list health preview of a previewed job: estimated bounce rate, shares by status and credits needed. | Free |
| `confirm_bulk_job` | Charges and starts a previewed job. Safe to retry: a job is never charged twice. | 1 per unique email |
| `get_job_status` | Returns a bulk job's status and summary counts. | Free |
| `get_job_progress` | Returns poll-friendly progress: processed, remaining, percent, counts, rate and ETA. | Free |
| `get_job_results` | Returns paginated per-email results, filterable by classification. | Free |
| `list_jobs` | Lists recent bulk jobs, filterable by status. | Free |
| `cancel_job` | Cancels a pending or running job and refunds unused credits. | Free |
| `check_credits` | Returns the credit balance and usage today and this month. | Free |
| `check_disposable` | Checks whether an email's domain is a disposable provider. | Free |
| `mx_lookup` | Looks up a domain's MX records. | Free |
| `check_domain_auth` | Scores a domain's SPF, DMARC and DKIM setup from 0 to 100, with fix recommendations. | Free |

Unknown results in bulk jobs are refunded when the job completes. Tool arguments are snake_case on the remote server (`job_id`, `source_url`) and camelCase in the npm package (`jobId`, `sourceUrl`). Your assistant reads the schema, so this matters only when you call tools directly. Each tool maps to an endpoint in the [API reference](https://docs.rocketverifier.com/api), and OAuth connections need the [scope for each tool](https://docs.rocketverifier.com/oauth/mcp#scopes-each-tool-needs).

## Example prompts

Ask in plain language. The assistant picks the tool and explains the result.

- "Is maya@northwind.io deliverable?"
- "Find the email address for Maya Chen at northwind.io."
- "Check whether mailinator.com is a disposable email provider."
- "Run a domain authentication check on northwind.io and tell me which DNS records I'm missing."
- "Preview the list at https://files.northwind.io/leads.csv and tell me the estimated bounce rate before I spend credits."
- "Verify these 200 addresses in bulk and summarize how many are risky."
- "How many RocketVerifier credits do I have left?"

## Test without spending credits

Sandbox addresses return fixed results for free on any credential, so you can try `verify_email` before you spend a credit.

Ask the assistant to verify `deliverable@sandbox.rocketverifier.com` or `undeliverable@sandbox.rocketverifier.com`. The full list of sandbox addresses is on [verify an email](https://docs.rocketverifier.com/api/verify#try-it). For CI and shared demos, connect the local package with an `rv_test_` sandbox key, which refuses every non-sandbox address.

## Frequently asked questions

### Do I need an API key?

Not for the remote server. Add https://api.rocketverifier.com/mcp and sign in to RocketVerifier when your client asks. The local @rocketverifier/mcp package reads an API key from ROCKETVERIFIER_API_KEY.

### How much do the tools cost?

The same as the API. verify_email costs 1 credit, bulk jobs cost 1 credit per unique email, find_email costs up to 4 credits, and status, results, credit and domain tools are free. Unknown results are free.

### Can I try it without spending credits?

Yes. Ask the assistant to verify addresses at @sandbox.rocketverifier.com, such as deliverable@sandbox.rocketverifier.com. They return fixed results for free. A sandbox key (rv_test_) restricts the server to those addresses.

### Will the assistant spend credits without asking?

The bulk tools are built for a preview first. upload_bulk_from_url with preview returns a free bounce estimate, and confirm_bulk_job, the step that charges, tells the assistant to confirm with you before it runs.

### Which is better, the remote server or the npm package?

The remote server needs no install, supports OAuth sign-in and has all 15 tools. Use the npm package for clients that only run local stdio servers.
