npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bingeljell/lead-gen-mcp

v0.1.1

Published

MCP server for AI-assisted B2B lead generation — discover, extract, score, and export company leads

Downloads

30

Readme

@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

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