Leadmagic

io.github.pipeworx-iov0.1.0更新于 Oct 9, 2026

LeadMagic MCP — wraps the LeadMagic B2B email-finder API (leadmagic.io)

已验证Streamable HTTP可网页运行Business & CommerceWeb Search & Scraping

概览

AI 生成的概览

让助手根据姓名和公司域名,通过 LeadMagic 的 B2B 数据 API 查找工作邮箱和公司信息。

功能
将 LeadMagic 的邮箱查找 API 封装为单个工具 leadmagic_find_email,接收名字、姓氏和公司域名,返回工作邮箱以及任职验证和公司字段。返回的邮箱据称已在 LeadMagic 侧完成 SMTP 验证。确认无匹配时返回成功响应,邮箱为 null 且不消耗额度。远程端点除本包工具外,还会列出 ask_pipeworx、discover_tools、remember/recall 等网关共享元工具。
适用场景
适合助手需要根据姓名和域名补充已验证的工作邮箱,或核实任职与公司信息的场景。适用于线索补充、销售 prospecting 和 CRM 数据清理等每位联系人只需一次查询的工作流。
运行要求
可使用 Pipeworx 网关的远程 streamable HTTP 端点,或用 npx 运行本地 npm 包 @pipeworx/mcp-leadmagic(stdio)。需要自备 LeadMagic API 密钥,作为 _apiKey 参数传入并以 X-API-Key 请求头发送。需要访问网关和 api.leadmagic.io 的网络连接。
安装前请注意
必须自行提供 LeadMagic API 密钥(_apiKey,以 X-API-Key 发送),本集成不提供密钥。查询会消耗 LeadMagic 额度,但确认无匹配按免费计费。姓名和公司域名会发送给 LeadMagic 和 Pipeworx 网关,属于向第三方共享数据。网关连接还会列出约 30 个共享元工具,会额外占用上下文。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Leadmagic,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "leadmagic": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/leadmagic/mcp"
    }
  }
}

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 1743+ 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-finder returned HTTP 401 with LeadMagic's own structured problem+json body naming X-API-Key (case-insensitive) or Authorization: Bearer <key> as the two accepted forms. This pack uses X-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 with email: null — this pack decides hit-vs-miss on email, never the envelope, matching the waterfall's house rule (same trap findymail documents for its own API).
  • Not verified (no key held): the exact set of status values 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.):

json
{  "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:

json
{  "mcpServers": {    "pipeworx": {      "url": "https://gateway.pipeworx.io/mcp"    }  }}

Both URLs reach the same gateway and the same 1743+ 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:

json
{  "mcpServers": {    "leadmagic": {      "command": "npx",      "args": ["-y", "@pipeworx/mcp-leadmagic"]    }  }}

Or run it directly to confirm it starts:

bash
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

来源:README.md,提交 21bb460

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Oct 9, 2026