Skip to main content
Glama
@bingeljell/lead-gen-mcp

@bingeljell/lead-gen-mcp

by Bingeljell

@bingeljell/lead-gen-mcp

MCP server for AI-assisted B2B lead generation. Discover, extract, score, and export company leads — from any MCP-compatible agent (Claude Desktop, Cursor, Windsurf, Codex, etc.).

Context

  • This started as a lead pipeline inside Alfred — a personal AI agent built for outbound sales work

  • Extracted into a standalone MCP server so anyone selling to small and mid-sized businesses can use it with their agent of choice

  • Works across agents — not Claude-specific

  • Still under active development. See docs/release_notes.md for what's in each release

Related MCP server: leadOracle

Tools

Tool

What it does

lead_discover

Search for companies matching a query and rank them by ICP fit. No browser required.

lead_extract

Deep-extract a single company's name, emails, industry, and size from a URL via headless browser.

lead_generate

Full pipeline: search → rank → extract → filter → save to CSV.

Requirements

  • Node.js ≥ 20

  • A search provider — SearXNG (self-hosted), Brave API key, or nothing (falls back to DuckDuckGo automatically)

  • An LLM key (Anthropic or OpenAI) — optional but improves extraction quality

Setup

Option A — Use via npx (no clone needed)

The server runs on demand. Just configure your agent to call it with npx:

"command": "npx",
"args": ["-y", "@bingeljell/lead-gen-mcp"]

Option B — Clone and build locally

git clone https://github.com/bingeljell/lead-gen-mcp
cd lead-gen-mcp
npm install
npx playwright install chromium   # one-time ~130MB browser download
npm run build

Point your agent at the built file:

"command": "node",
"args": ["/absolute/path/to/lead-gen-mcp/dist/server.js"]

Agent configuration

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "lead-gen": {
      "command": "npx",
      "args": ["-y", "@bingeljell/lead-gen-mcp"],
      "env": {
        "SEARXNG_BASE_URL": "http://localhost:8888",
        "ANTHROPIC_API_KEY": "sk-ant-...",
        "LEAD_GEN_OUTPUT_DIR": "/Users/you/leads"
      }
    }
  }
}

Restart Claude Desktop. The three tools appear automatically.

Cursor / Windsurf

Same config format — add to your MCP settings JSON and restart the editor.

OpenAI Agents SDK (Codex)

from agents import Agent
from agents.mcp import MCPServerStdio

lead_gen = MCPServerStdio(
    command="npx",
    args=["-y", "@bingeljell/lead-gen-mcp"],
    env={
        "SEARXNG_BASE_URL": "http://localhost:8888",
        "ANTHROPIC_API_KEY": "sk-ant-...",
        "LEAD_GEN_OUTPUT_DIR": "./leads"
    }
)

agent = Agent(name="LeadResearcher", mcp_servers=[lead_gen])

Claude Code (CLI)

claude mcp add lead-gen \
  -e SEARXNG_BASE_URL=http://localhost:8888 \
  -e ANTHROPIC_API_KEY=sk-ant-... \
  -e LEAD_GEN_OUTPUT_DIR=/Users/you/leads \
  npx -y @bingeljell/lead-gen-mcp

Environment variables

# Search — set at least one (falls back to DuckDuckGo if none set)
SEARXNG_BASE_URL=http://localhost:8888   # self-hosted SearXNG
BRAVE_SEARCH_API_KEY=                    # https://api.search.brave.com

# LLM — optional, improves extraction accuracy
ANTHROPIC_API_KEY=
OPENAI_API_KEY=

# Output directory for CSVs
LEAD_GEN_OUTPUT_DIR=./leads

Copy .env.example for a template.


ICP profiles

The profile parameter tunes candidate ranking for different buyer types:

Profile

Target

generic

Any business

msp

Managed service providers (IT/cybersecurity)

si

Systems integrators / Microsoft partners

event_planner

Event planning / wedding businesses

Example prompts

"Find 10 MSPs in Austin, Texas and save their contact emails."

"Search for small systems integrators in the UK, vertical msp_uk, max 5 leads."

"Discover event planning companies in Chicago — profile: event_planner."

License

MIT

Available Tools

3 tools
lead_discoverB

Search for company candidates matching a query and rank them by ICP fit. Returns scored URLs ready for extraction — no browser required.

Inputs: query (required), country, profile, vertical, +1 more.

lead_extractA

Deep-extract company info (name, emails, industry, size) from a single URL using a headless browser and optional LLM parsing.

Inputs: url (required), deep.

lead_generateC

Full pipeline: search → rank → extract → filter → save to CSV. Returns a list of discovered leads with emails.

Inputs: query (required), vertical (required), country, filters, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 3 tools

    Disambiguation4/5

    Tools have distinct purposes: discovery, extraction, and full pipeline. The generate tool subsumes the other two but is a convenience layer, not a source of confusion. Minor overlap exists but descriptions clearly differentiate them.

    Naming Consistency5/5

    All tool names follow a consistent lead_verb pattern (discover, extract, generate). The naming is predictable and aligns with tool function.

    Tool Count4/5

    Three tools is on the lower end but appropriate for a focused lead generation server. Each tool earns its place, covering search, extraction, and pipeline integration.

    Completeness4/5

    The tool set covers the core lead generation workflow—search, extract, and output. Missing features like batch extraction or lead management are minor gaps for this scope.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server that enables AI agents to discover and qualify B2B leads from Leadbay's knowledge base, with tools for lead research, enrichment, and outreach logging.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables B2B lead intelligence through seven tools for company lookup, domain enrichment, person search, email finding, and startup discovery, accessible via MCP for AI agents.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to discover and enrich real-time B2B company data, including contact details, ratings, websites, and emails, through MCP-compatible clients.
      5
      71 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to search B2B people and companies, enrich contacts with verified emails and mobile phone numbers via waterfall enrichment across 25+ providers, and export results as CSV or JSON. Supports prospecting, org mapping, candidate sourcing, and outreach workflows through OAuth-authenticated remote access from any MCP-compatible client.
      13
      MIT