← All plugins

B2BLeads MCP server source — GitHub

Run the MCP server yourself, straight from source.

The b2bleads-mcp server is fully open source. Clone the repository if you want to read the code, self-host it, or send a pull request — it's a small, single-file Node.js MCP server, not a black box.

It's the same server every other platform on this page uses: a stdio MCP process that wraps the B2BLeads REST API — search_leads, search_leads_advanced, list_industries, list_saved_lists, get_saved_list, and find_email — behind six typed tools any MCP-compatible client can call.

Git tags and GitHub releases are kept in lockstep with the published npm package and the MCP Registry entry, so building from a tagged commit gives you exactly the same version as installing it any other way.

  • MIT licensed, ~200-line entry point — readable in one sitting
  • Plain ESM, no build step, Node.js 18+
  • Same six tools as every other stdio client on this page
  • Issues and pull requests welcome

Installation

bash
git clone https://github.com/gtovtya/b2bleads-mcp
cd b2bleads-mcp
npm install
B2BLEADS_API_KEY=your-api-key node bin/b2bleads-mcp.js

Tools available here

Local stdio connection (self-hosted package) — exposes the full tool set, including saved-list management.

search_leadssearch_leads_advancedlist_industrieslist_saved_listsget_saved_listfind_emailaccount_get_usageaccount_get_usage_limitlist_saved_searchesget_search_history