B2bleads Mcp

io.github.gtovtya由 GitHub 账号 gtovtya 发布v1.6.1更新于 Oct 24, 2026

Search and enrich B2B business leads by industry and city.

概览

AI 生成的概览

封装 B2BLeads API,让助手按行业、城市和筛选条件搜索并补充 B2B 企业线索,并管理已保存的线索列表。

可以做什么
  • 按自由文本、行业、城市、半径、评分、是否有网站、是否认证、营业状态和价位搜索企业与联系人,支持分页
  • 执行覆盖整座城市的扩展搜索,将区域切成网格,单次最多返回约 180 家去重企业
  • 列出可用的行业分类
  • 列出已保存的线索列表、读取某个列表的全部线索,并按 ID 或名称把搜索结果追加到列表
  • 为单个企业网站尽力查找联系邮箱
  • 查看账户用量、月度配额与续期时间、已保存的搜索提醒以及最近的搜索历史
适用场景
适合让助手建立或补充 B2B 潜在客户名单,例如查找某城市中带网站和电话的建筑公司,或收集评分高于某阈值的公司,并把结果保存在 B2BLeads 的已保存列表中。
运行要求
通过 npx 在本地运行,需要 Node.js 18 或更高版本。需要 B2BLeads 账户和 API 密钥,通过环境变量 B2BLEADS_API_KEY 提供;B2BLEADS_API_URL 可覆盖 API 基础地址。需要能访问 B2BLeads API 的网络。
安装前请注意
API 密钥对应计费账户:每次搜索都会消耗付费套餐的配额,扩展搜索工具消耗的配额是普通搜索的九倍。邮箱查找等功能需要付费套餐。使用 save_to_list、list_id 或 list_name 时,搜索会写入你的已保存列表。查询文本和网站网址会发送给 B2BLeads 服务。

安装

在 SourceWeft 中

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

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):

json
{  "mcpServers": {    "b2bleads": {      "command": "npx",      "args": ["-y", "b2bleads-mcp"],      "env": {        "B2BLEADS_API_KEY": "your-api-key-here"      }    }  }}

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

  1. Create an account at b2bleadsapi.com.
  2. Pick a plan in Billing.
  3. Generate a key under API Keys in the dashboard.
  4. Set it as B2BLEADS_API_KEY in your MCP client config (see above).

Tools

search_leads

Search for companies and business contacts in real time.

ParameterTypeDescription
qstringFree-text query, e.g. "construction companies in Munich".
industrystringOne of the categories from list_industries.
citystringCity or region to search in.
radius_kmnumberSearch radius in kilometers.
min_ratingnumberMinimum rating (0-5).
has_websitebooleanOnly businesses with a website.
verified_onlybooleanOnly businesses with a verified listing.
open_nowbooleanOnly businesses currently open.
price_levelstringbudget | moderate | expensive | luxury
rank_bystringrelevance | distance
limitintegerMax results per call, 1-20.
langstringResult language, BCP-47 tag (e.g. en, pt-BR).
page_tokenstringPagination token from a previous call.
save_to_listbooleanAlso save results into a B2BLeads saved list.
list_idstringExisting saved-list ID to append to.
list_namestringSaved-list name to find-or-create and append to.

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.

ParameterTypeDescription
qstringFree-text query, e.g. "construction companies". Optional if industry is given.
industrystringOne of the categories from list_industries.
citystringRequired. City or region to search in — must be only the city name (e.g. "Lyon"), not the full search phrase, or the wrong place may be geocoded.
min_ratingnumberMinimum rating (0-5).
has_websitebooleanOnly businesses with a website.
verified_onlybooleanOnly businesses with a verified listing.
open_nowbooleanOnly businesses currently open.
price_levelstringbudget | moderate | expensive | luxury
langstringResult language, BCP-47 tag (e.g. en, pt-BR).

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.

ParameterTypeDescription
list_idstringThe saved list's ID, from list_saved_lists or a search_leads save_to_list response. Required.

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.

ParameterTypeDescription
websitestringThe business website URL to look up, e.g. https://example.com. Required.

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

Environment variableRequiredDescription
B2BLEADS_API_KEYYesYour B2BLeads API key.
B2BLEADS_API_URLNoOverride the API base URL. Defaults to https://api.b2bleadsapi.com.

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

License

MIT

来源:README.md,提交 f6ae438

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

5
  1. v1.6.1最新Oct 14, 2026
  2. v1.5.0Oct 2, 2026
  3. v1.4.1Oct 1, 2026
  4. v1.3.0Sep 25, 2026
  5. v1.2.0Sep 24, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分