# ZeroBounce MCP Server (`zerobounce/zerobounce-mcp`) Actor

Official ZeroBounce MCP server: validate, score and find emails, clean lists in bulk, run inbox placement tests and email warmup.

- **URL**: https://apify.com/zerobounce/zerobounce-mcp.md
- **Developed by:** [ZeroBounce](https://apify.com/zerobounce) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### ZeroBounce MCP Server

The official [ZeroBounce](https://www.zerobounce.net) [Model Context Protocol](https://modelcontextprotocol.io) server,
running on Apify as a [Standby Actor](https://docs.apify.com/platform/actors/development/programming-interface/standby).
Connect Claude, Cursor, ChatGPT or any MCP client to it and work with your ZeroBounce account in plain language.

### What can it do?

- **Validate emails**: one address, or up to 200 per request, with status, sub-status and hygiene fields.
- **Score emails**: AI score (0-10) for how likely an address is to engage.
- **Find emails and domains**: guess a work email from a name and company or domain, and find a company's domain.
- **Clean lists in bulk**: upload a file, poll its status and download the results; S3 and SFTP sources too.
- **Inbox placement tests**: create a test, get the seed addresses, read the results.
- **Email warmup**: manage sending accounts, engagement rules and statistics (needs a Warmup API key).

That is 50 tools, or 75 with a Warmup API key. The tools are the same as the
[`@zerobounce/mcp`](https://www.npmjs.com/package/@zerobounce/mcp) npm package, which this Actor runs.

### What you need

- An **Apify API token**, to call the Actor. Find it in Apify Console under **Settings → API & Integrations**.
- A **ZeroBounce API key**, from the API section of your [ZeroBounce account](https://www.zerobounce.net). Validation,
  scoring and finder tools spend your ZeroBounce credits.
- Optionally a **ZeroBounce Warmup API key**, for the Warmup tools.

### How to connect

Point your MCP client at the Actor's Standby URL with the streamable HTTP transport, and send three headers:

```
URL:     https://<username>--zerobounce-mcp.apify.actor/mcp
Headers: Authorization: Bearer <YOUR_APIFY_API_TOKEN>
         X-ZeroBounce-Api-Key: <YOUR_ZEROBOUNCE_API_KEY>
         X-ZeroBounce-Warmup-Api-Key: <YOUR_WARMUP_API_KEY>   (optional)
```

For example, in a client that takes a JSON config (Cursor, Claude Desktop with a remote server, and others):

```json
{
    "mcpServers": {
        "zerobounce": {
            "url": "https://<username>--zerobounce-mcp.apify.actor/mcp",
            "headers": {
                "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>",
                "X-ZeroBounce-Api-Key": "<YOUR_ZEROBOUNCE_API_KEY>"
            }
        }
    }
}
```

Each MCP session gets its own ZeroBounce server process with the keys from its own headers, so several people
can use the Actor with their own ZeroBounce accounts. A session that sends no ZeroBounce key is refused with
HTTP 401, unless a fallback key is set in the Actor input.

### Input

Usually none. The input only holds fallbacks for an owner who runs the Actor for themselves:

| Field | Description |
| --- | --- |
| `zerobounceApiKey` | ZeroBounce API key for sessions that send no `X-ZeroBounce-Api-Key` header. Anyone who can call the Actor with your Apify token then spends your credits, so leave it empty on a shared Actor. |
| `zerobounceWarmupApiKey` | Warmup API key for sessions that send no `X-ZeroBounce-Warmup-Api-Key` header. |
| `apiRegion` | ZeroBounce API host: `default`, `us` or `eu`. |

### Output

The Actor answers over MCP and writes no dataset. Tool results come back to your MCP client.

### Pricing

The Actor is free: it charges no fee per start or per MCP request. You pay only for the Apify platform usage of
your own runs, as with any Actor, and ZeroBounce charges credits for validation, scoring and finder calls on
your ZeroBounce account.

### Privacy

The Actor logs only MCP method names, never request bodies, so email addresses and credentials in tool calls do
not reach the Apify log. Each ZeroBounce process gets only its session's keys, not the Actor's Apify token.

### Alternatives

- **Hosted by ZeroBounce:** `https://mcp.zerobounce.net/mcp`, with OAuth sign-in instead of an API key.
- **Run it yourself:** `npx -y @zerobounce/mcp` with `ZEROBOUNCE_API_KEY` set.

### Support

- Docs: https://www.zerobounce.net/mcp
- Source: https://github.com/zerobounce/zerobounce-mcp

# Actor input Schema

## `zerobounceApiKey` (type: `string`):

Used for MCP sessions that send no X-ZeroBounce-Api-Key header. Anyone who can call this Actor with your Apify token then spends your ZeroBounce credits, so leave it empty on a shared Actor.

## `zerobounceWarmupApiKey` (type: `string`):

Enables the 25 Warmup tools for sessions that send no X-ZeroBounce-Warmup-Api-Key header.

## `apiRegion` (type: `string`):

Which ZeroBounce API host the server calls: default, us or eu.

## Actor input object example

```json
{
  "apiRegion": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("zerobounce/zerobounce-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("zerobounce/zerobounce-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call zerobounce/zerobounce-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zerobounce/zerobounce-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uJvsPmb5pSx7dHxyw/builds/6ua5wRpSqJUTuY2Ak/openapi.json
