
B2bleads Mcp
io.github.gtovtya由 GitHub 账号 gtovtya 发布v1.6.1更新于 Oct 24, 2026
Search and enrich B2B business leads by industry and city.
概览
封装 B2BLeads API,让助手按行业、城市和筛选条件搜索并补充 B2B 企业线索,并管理已保存的线索列表。
- 可以做什么
- 按自由文本、行业、城市、半径、评分、是否有网站、是否认证、营业状态和价位搜索企业与联系人,支持分页
- 执行覆盖整座城市的扩展搜索,将区域切成网格,单次最多返回约 180 家去重企业
- 列出可用的行业分类
- 列出已保存的线索列表、读取某个列表的全部线索,并按 ID 或名称把搜索结果追加到列表
- 为单个企业网站尽力查找联系邮箱
- 查看账户用量、月度配额与续期时间、已保存的搜索提醒以及最近的搜索历史
- 适用场景
- 适合让助手建立或补充 B2B 潜在客户名单,例如查找某城市中带网站和电话的建筑公司,或收集评分高于某阈值的公司,并把结果保存在 B2BLeads 的已保存列表中。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 18 或更高版本。需要 B2BLeads 账户和 API 密钥,通过环境变量 B2BLEADS_API_KEY 提供;B2BLEADS_API_URL 可覆盖 API 基础地址。需要能访问 B2BLeads API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 B2bleads Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
B2BLeads MCP Server
An MCP (Model Context Protocol) server that gives AI agents — Claude, Cursor, and any other MCP-compatible client — a search_leads tool for real-time B2B company discovery and enrichment.
Ask your agent things like:
"Find construction companies in Munich with a website and phone number."
"Collect 50 IT companies in Berlin rated above 4.0."
"Enrich this lead list with email contacts where available."
...and it calls this tool to return a ready-made list of companies: name, address, phone, website, and email where available.
This server is a thin MCP wrapper around the B2BLeads REST API. You need a B2BLeads account and API key — see Getting an API key below.
Requirements
- Node.js 18 or later
- A B2BLeads API key (sign up)
Installation
No install needed — run it directly with npx. Add it to your MCP client's config:
Claude Desktop / Claude Code
Edit your claude_desktop_config.json (or run claude mcp add):
Cursor
Add the same block to .cursor/mcp.json in your project (or your global Cursor MCP settings).
Any other MCP client
Point it at the command npx -y b2bleads-mcp with the B2BLEADS_API_KEY environment variable set.
Getting an API key
- Create an account at b2bleadsapi.com.
- Pick a plan in Billing.
- Generate a key under API Keys in the dashboard.
- Set it as
B2BLEADS_API_KEYin your MCP client config (see above).
Tools
search_leads
Search for companies and business contacts in real time.
At least one of q, industry, or city is required.
search_leads_advanced
⚠️ Elevated cost: consumes 9x the quota of a single search_leads call. Only use this when you need more results than search_leads returned for a specific city, or need to exhaustively cover a city — not as a default or first attempt. Tiles the city into a 3x3 grid of sub-searches server-side to go beyond the normal ~20-60 result ceiling, returning up to ~180 deduplicated businesses in one call. Does not support pagination.
list_industries
Lists the predefined industry categories usable in search_leads's industry filter. Takes no arguments.
list_saved_lists
Lists all of your saved lead lists — id, name, and lead count for each, not the leads themselves. Read-only. Takes no arguments. Use get_saved_list to fetch one list's full leads.
get_saved_list
Gets one saved lead list by ID, with its full set of saved leads. Read-only.
find_email
Looks up a best-effort contact email for a single business website (checks the homepage and common contact pages). Use this for one specific website rather than re-running search_leads. Requires any paid plan (Starter and above); may return a null email if none is found.
account_get_usage
Gets how much of your monthly search quota has been used and how much remains for the current billing period. Read-only. Takes no arguments.
account_get_usage_limit
Gets your account's total monthly search quota and when the current billing period renews. Read-only. Takes no arguments.
list_saved_searches
Lists your saved search alerts (recurring searches that auto-run and save results to a list). Read-only. Takes no arguments.
get_search_history
Gets your recent search history — up to the last 200 searches (query text, result count, date). Read-only. Takes no arguments.
Configuration
Pricing & rate limits
Each search consumes quota from your B2BLeads plan — see pricing. Rate limits and quota errors are returned by the API and surfaced back to your agent as tool errors.
Links
- B2BLeads website
- REST API documentation
- This package's integration page — setup notes specific to a plain Node.js MCP client
- Claude Desktop / Claude Code integration page
- Terms of Use
- Privacy Policy
License
MIT
来源:README.md,提交 f6ae438
工具
0版本历史
5- v1.6.1最新Oct 14, 2026
- v1.5.0Oct 2, 2026
- v1.4.1Oct 1, 2026
- v1.3.0Sep 25, 2026
- v1.2.0Sep 24, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分