mcpField
L
leadenrich-mcp

leadenrich-mcp

Local
github.com/carsonroell-debugBusiness & Marketing2Updated 26w ago

About leadenrich-mcp

leadenrich-mcp is an MCP server for AI agents that enriches lead and company profiles by combining results from Apollo, Clearbit, and Hunter, with attribution for each field. It also provides email discovery, batch enrichment, and usage checks.

Key features

  1. 01Waterfall enrichment across configured providers
  2. 02Merged profiles with field attribution
  3. 03Find and verify email addresses
  4. 04Enrich companies by domain
  5. 05Batch enrich up to 25 leads
  6. 06Cache results and track usage

Use cases

  1. 01Complete a lead profile from an email or name
  2. 02Find and verify a contact email using a company domain
  3. 03Enrich a batch of sales leads and review usage

MCP support

The MCP server exposes lead and company enrichment tools to clients such as Claude and Cursor, using configured Apollo, Clearbit, and Hunter providers.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"carsonroell-debug-leadenrich": {
"command": "uvx",
"args": [
"leadenrich-mcp"
],
"env": {
"APOLLO_API_KEY": "<APOLLO_API_KEY>",
"CLEARBIT_API_KEY": "<CLEARBIT_API_KEY>",
"HUNTER_API_KEY": "<HUNTER_API_KEY>"
}
}
}
}
Run commanduvx leadenrich-mcp
Environment variables to set
APOLLO_API_KEYSecretApollo.io API key for lead enrichment
CLEARBIT_API_KEYSecretClearbit API key for company/contact enrichment
HUNTER_API_KEYSecretHunter.io API key for email finding

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypileadenrich-mcp0.2.0

Tools

6

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
emailanyNoContact email address (best identifier).
domainanyNoCompany domain (e.g. "stripe.com").
api_keyanyNoYour LeadEnrich API key for usage tracking.
last_nameanyNoContact's last name.
providersanyNoOptional list to limit which providers to use. Default: all configured.
first_nameanyNoContact's first name (combine with last_name + domain).

Details

From the project README

LeadEnrich MCP Server

License: MIT Python 3.11+ PyPI MCP MCPize

Waterfall lead enrichment for AI agents. Cascades through Apollo, Clearbit, and Hunter to build the most complete lead profile in a single call.

One-click install: Install on MCPize | pip install leadenrich-mcp

LeadEnrich MCP exposes lead and company enrichment through the Model Context Protocol (MCP), so tools like Claude and Cursor can run enrichment workflows directly. Give it an email, domain, or name and it returns a merged profile with field attribution showing which provider contributed each data point.

Quick Connect

1. Install and start the server
pip install leadenrich-mcp
leadenrich-mcp

The server starts on http://localhost:8300/mcp by default.

2a. Connect from Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "leadenrich": {
      "url": "http://localhost:8300/mcp"
    }
  }
}
2b. Connect from Claude Code
claude mcp add leadenrich --transport http http://localhost:8300/mcp

Tools

ToolDescription
enrich_leadFull waterfall enrichment for a single lead (email, domain, or name+domain)
find_emailDiscover an email from first name + last name + company domain
enrich_companyCompany firmographic data by domain (industry, size, revenue, etc.)
enrich_batchBatch enrich up to 25 leads concurrently
check_usageQuota, cost tracking, and remaining lookups
health_checkServer status, configured providers, and cache stats

How It Works

LeadEnrich uses a waterfall strategy: each provider fills gaps left by the previous one. When email is known, all providers run concurrently for speed. When only name+domain is provided, Apollo discovers the email first, then Clearbit and Hunter run in parallel.

Input (email / domain / name+domain)
         |
         v
  +-----------+     +-----------+     +----------+
  |   Apollo  | --> |  Clearbit | --> |  Hunter  |
  +-----------+     +-----------+     +----------+
  |  Contact  |     |  Company  |     |  Email   |
  |  Company  |     |  Person   |     |  Verify  |
  |  LinkedIn |     |  Firmo    |     |  Domain  |
  +-----------+     +-----------+     +----------+
         |               |                |
         v               v                v
  +------------------------------------------+
  |        Merged Profile                    |
  |  16+ fields with per-field attribution   |
  |  Confidence score + lookup cost          |
  +------------------------------------------+

Each field in the result includes attribution so you know exactly which provider it came from. No duplicate API calls thanks to built-in caching.

Pricing

TierCostDetails
Free$0.0050 lookups/month
1 provider hit$0.05/lookupSingle provider returned data
2 providers hit$0.10/lookupTwo providers contributed fields
3 providers hit$0.15/lookupFull waterfall, maximum coverage

Requirements

  • Python 3.11+
  • pip

Quick Start

git clone https://github.com/carsonlabs/leadenrich-mcp.git
cd leadenrich-mcp
pip install -r requirements.txt
python main.py

MCP endpoint:

  • http://localhost:8300/mcp

Environment Variables

VariableDescriptionRequired
APOLLO_API_KEYApollo.io API keyNo
CLEARBIT_API_KEYClearbit API keyNo
HUNTER_API_KEYHunter.io API keyNo
LEADENRICH_API_KEYClient auth key for usage meteringNo
LEADENRICH_FREE_TIER_LIMITFree tier limit (default: 50)No
PORTServer port (default: 8300)No

All provider keys are optional. The server uses whichever providers are configured and skips the rest.

Example:

export APOLLO_API_KEY="your-apollo-key"
export CLEARBIT_API_KEY="your-clearbit-key"
export HUNTER_API_KEY="your-hunter-key"
python main.py

Running Options

Run directly:

python main.py

Run via FastMCP CLI:

fastmcp run main.py --transport streamable-http --port 8300

Tool Details

enrich_lead

Inputs:

  • email (optional): Contact email address (best identifier)
  • domain (optional): Company domain (e.g. "stripe.com")
  • first_name / last_name (optional): Contact name (combine with domain)
  • providers (optional): Limit which providers to use
  • api_key (optional): Your LeadEnrich API key

Returns merged lead profile with field attribution, confidence score, and lookup cost.

find_email

Inputs:

  • first_name (required): Contact's first name
  • last_name (required): Contact's last name
  • domain (required): Company domain

Returns discovered email with confidence score and verification status.

enrich_company

Input:

  • domain (required): Company domain

Returns company-level firmographic data: industry, size, revenue, description, location.

enrich_batch

Inputs:

  • leads (required): List of lead objects (max 25), each with optional email/domain/name
  • providers (optional): Limit which providers to use
  • api_key (optional): Your LeadEnrich API key

Returns list of enriched profiles with batch summary.

check_usage

Input:

  • api_key (optional): Your LeadEnrich API key

Returns usage stats: lookup count, cost, tier, remaining quota, and cache stats.

health_check

No input. Returns server status, configured providers, cache stats, and version info.

Try It

fastmcp list-tools main.py
fastmcp call-tool main.py health_check '{}'
fastmcp call-tool main.py enrich_lead '{"email":"[email protected]"}'
fastmcp call-tool main.py find_email '{"first_name":"Jane","last_name":"Smith","domain":"stripe.com"}'
fastmcp call-tool main.py enrich_company '{"domain":"stripe.com"}'

Deployment

Smithery

This repo includes smithery.yaml for Smithery deployment.

  1. Push repository to GitHub
  2. Create/add server in Smithery
  3. Point Smithery to this repository
Docker / Hosting Platforms

A Dockerfile is included for Railway, Fly.io, and other container hosts.

# Railway
railway up

# Fly.io
fly launch
fly deploy

Set your provider API keys in your host environment.

Architecture

Agent (Claude, Cursor, etc.)
  -> MCP
LeadEnrich MCP Server (this repo)
  -> Apollo API    (contact + company data)
  -> Clearbit API  (person + firmographic data)
  -> Hunter API    (email finding + verification)

This server is a translation layer between MCP tool calls and multiple enrichment provider APIs, with built-in caching, usage metering, and waterfall merge logic.

Free vs Pro

ToolFreePro ($29/mo)
enrich_leadYes (Hunter only)Yes (full waterfall: Apollo + Clearbit + Hunter)
check_usageYesYes
health_checkYesYes
find_email-Yes
enrich_company-Yes
enrich_batch-Yes

Free tier gives you single-provider lookups via Hunter. Pro unlocks the full 3-provider waterfall, email finder, company enrichment, and batch operations.

Upgrade to Pro on MCPize — $29/mo or $290/yr.


Built by Freedom Engineers

Related

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.