About Leadmagic
Leadmagic is an MCP server for teams and agents that need B2B work email lookup. Given a person's name and company domain, it uses LeadMagic's API to return email and employment and company fields, with returned emails SMTP-validated by LeadMagic.
Key features
- 01Find work email by name and domain
- 02Return employment verification details
- 03Include company information
- 04Use LeadMagic's SMTP-validated email results
Use cases
- 01Look up a prospect's work email
- 02Check employment and company details
- 03Find an email using a company domain
MCP support
Exposes the LeadMagic email-finder API as an MCP tool. Calls require the user's LeadMagic API key, passed as `_apiKey`; the gateway endpoint includes shared Pipeworx meta-tools, while the standalone stdio server exposes only this pack's tool.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://gateway.pipeworx.io/leadmagic/mcpclaude mcp add --transport http pipeworx-io-leadmagic https://gateway.pipeworx.io/leadmagic/mcp{"mcpServers":{"pipeworx-io-leadmagic":{"type":"http","url":"https://gateway.pipeworx.io/leadmagic/mcp"}}}Open in Cursor{"servers":{"pipeworx-io-leadmagic":{"type":"http","url":"https://gateway.pipeworx.io/leadmagic/mcp"}}}Open in VS Code{"mcpServers":{"pipeworx-io-leadmagic":{"type":"http","url":"https://gateway.pipeworx.io/leadmagic/mcp"}}}{"mcpServers":{"pipeworx-io-leadmagic":{"serverUrl":"https://gateway.pipeworx.io/leadmagic/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project README@pipeworx/leadmagic
Find a work email by name + company domain, via LeadMagic's B2B data API
(leadmagic.io). Every email returned is already SMTP-validated on
LeadMagic's side. Part of the enrich-waterfall finder rotation (fleet
#2860).
Part of Pipeworx — an MCP gateway connecting AI agents to 1882+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
leadmagic_find_email(first_name, last_name, domain, _apiKey)— work email, employment verification, and company fields; a confirmed no-match is free on LeadMagic's own billing.
Auth
BYO only. Pass your LeadMagic API key as _apiKey (header X-API-Key). Get
one at https://leadmagic.io. No platform key (D4).
Data sources
https://api.leadmagic.io/v1/people/email-finder— email finder.
Verification notes (fleet #2860, 2026-10-08, no vendor key held)
- Auth header + live endpoint confirmed by edge probe. No-key POST to
/v1/people/email-finderreturned HTTP 401 with LeadMagic's own structured problem+json body namingX-API-Key(case-insensitive) orAuthorization: Bearer <key>as the two accepted forms. This pack usesX-API-Key. - Response shape is from vendor docs only (https://leadmagic.io/docs/api-reference/email-finder,
read 2026-10-08):
- hit:
{ email, status: "valid", credits_consumed: 1, message, employment_verified, company_name, company_industry, mx_provider } - no match:
{ email: null, status: null, credits_consumed: 0, message, first_name, last_name, domain }The no-match case is a fully-populated 200 withemail: null— this pack decides hit-vs-miss onemail, never the envelope, matching the waterfall's house rule (same trap findymail documents for its own API).
- hit:
- Not verified (no key held): the exact set of
statusvalues beyond"valid"on a live call (docs only show the one example), and whether a malformed domain produces a 4xx or a clean no-match.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"leadmagic": {
"url": "https://gateway.pipeworx.io/leadmagic/mcp"
}
}
}
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/leadmagic/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 1882+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
This pack takes your own API key (_apiKey) — we don't front one for it, so there's no curl here that would run without it. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/leadmagic_find_email. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
{
"mcpServers": {
"leadmagic": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-leadmagic"]
}
}
}
Or run it directly to confirm it starts:
npx -y @pipeworx/mcp-leadmagic
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Leadmagic data" })
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Comments
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.