Automated List Enrichment Using MCP
Use Model Context Protocol (MCP) to find, verify, and enrich B2B contact lists from inside Claude, Cursor, or ChatGPT.
MCP lets an AI assistant call LeadMagic's enrichment tools directly, so you can ask Claude, Cursor, or ChatGPT to find work emails, validate them, and add company data without leaving the chat. Setup is one URL plus an OAuth sign-in. The agent then picks tools such as find_work_email and validate_work_email and charges the same credits as the API.
This guide covers what MCP is, how to connect LeadMagic, and how to run a list through it safely.
What is Model Context Protocol (MCP)?
Model Context Protocol is an open standard, introduced by Anthropic, for connecting AI applications to external tools and data. A service exposes an MCP server; any compatible client (Claude, Cursor, VS Code, ChatGPT, Windsurf, and others) can discover its tools and call them when your prompt needs them.
For list work, that means you can write:
"Look at the leads in
leads.csv. Validate the work emails with LeadMagic, flag anything unknown, and add company firmographics."
The agent calls the tools, reads the results, and writes them back to a file or table you control.
How do I connect the LeadMagic MCP server?
The hosted server uses Streamable HTTP and OAuth. There is no API key in client JSON and no local package to install.
- Every client (Cursor, VS Code, ChatGPT, Claude):
https://mcp.leadmagic.io/mcp - claude.ai and Claude Desktop add it under Customize → Connectors → Add custom connector
Cursor, in .cursor/mcp.json:
{
"mcpServers": {
"leadmagic": {
"url": "https://mcp.leadmagic.io/mcp"
}
}
}Claude Code (MCP docs):
claude mcp add --transport http leadmagic https://mcp.leadmagic.io/mcpAdd --scope user to make it available in every project. Then run /mcp and complete the browser sign-in. The LeadMagic MCP setup guide has client-specific instructions, and the full walkthrough is in the MCP setup docs.
Which tools does the agent use for list enrichment?
You don't call tools by name; the model picks them from your prompt. These are the ones that matter for list work (full list in the tools reference):
| Tool | What it does | Credits |
|---|---|---|
find_work_email | Name + company → work email | 1 per valid email found |
validate_work_email | Deliverability check on one address | 0.25 (unknown not charged) |
find_mobile_number | Mobile from email or profile URL | 5 if found |
enrich_company | Firmographics | 1 |
get_company_technographics | Tech stack | 1 (none charged if empty) |
find_company_funding | Funding rounds | 4 per company profile returned (free if not found) |
process_attached_csv | File dropped into Claude/ChatGPT → bulk job | Per-row tool costs |
submit_detected_bulk_job | Run enrichment on rows or a file URL | Per-row tool costs |
preview_cost / check_credit_balance | Estimate and balance | No charge |
What does a list run look like?
Say you have prospects.csv with First Name, Last Name, and Company Domain, and you want verified emails before anything goes into a sequencer. A prompt that works well:
"Preview the credit cost for finding and validating work emails for every row in prospects.csv. If it's under 300 credits, run it and add 'Work Email' and 'Status' columns."
The agent will typically:
- Call
preview_costand show you the estimate. - Submit the rows as a bulk job (or loop
find_work_emailon small files). - Validate results with
validate_work_emailand return a status per row. - Write the new columns back.
Rows that come back unknown are worth separating. Validation doesn't charge for them, and they are often on catch-all domains, where the server accepts any address so SMTP can't confirm the mailbox. Validation already attempted catch-all resolution on them, so hold them out of the first send, re-check later, or find another contact. The catch-all verification guide explains why these are hard.
Where does MCP help most?
Verifying right before send. Contact data changes as people switch jobs. Running validation as the last step before a list goes into Instantly, Smartlead, or your sequencer of choice catches addresses that were fine when the list was built but aren't now.
Personalization inputs. The same session can pull technographics and funding rounds so the agent has real facts to write a first line from, instead of generic copy.
Cost control. preview_cost and check_credit_balance don't use credits, so you can make "estimate first, then run" part of every prompt.
Can I build my own MCP client against LeadMagic?
Yes, but for custom code the REST API is usually the simpler path: it takes an X-API-Key header at https://api.leadmagic.io and is documented in the API reference. The hosted MCP server expects an OAuth-capable MCP client, so if you are writing your own, use an SDK that supports Streamable HTTP and OAuth rather than passing a key in the URL. See CLI vs API vs MCP for how to choose.
Next step
Connect the server using the setup guide, ask the agent to check your credit balance, then run a 20-row test list before anything bigger. Plans and credit costs are on the pricing page.
Sources and review
Topic path
Go deeper on Enrichment for Developers
API-first enrichment for GTM engineers, data enrichment, scraping, CLI, MCP, and automation.
Keep reading
One platform, three interfaces: REST for applications, LeadMagic CLI for local terminal workflows, and hosted MCP for AI clients.
Catch-all domains accept every address, so most verifiers label them risky or unknown. Here's how to resolve them and route the results.
Data enrichment turns incomplete records into actionable prospect profiles. Learn how B2B teams improve sales and operations.