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

@diego_costa/lead-enrichment-mcp

v1.0.0

Published

MCP-native Lead Enrichment API for autonomous AI agents

Readme

B2B Lead Enrichment MCP API

The MCP-native API that AI agents use to enrich B2B company profiles with structured data.

Live Production URL

https://lead-enrichment-mcp.agent-infra.workers.dev

Status: Live and accepting requests

Quick Start

# Test the API
curl https://lead-enrichment-mcp.agent-infra.workers.dev/health

# Enrich a company (replace with your API key)
curl -X POST https://lead-enrichment-mcp.agent-infra.workers.dev/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"enrich_lead","arguments":{"domain":"stripe.com"}}}'

Pricing

| Tier | Monthly | Price | Overage | |------|---------|-------|---------| | Free | 100 enrichments | $0 | N/A | | Pro | 10,000 enrichments | $49/month | $0.05/enrichment | | Enterprise | Unlimited | Contact us | Custom |

Billing: Only for successful, high-confidence enrichments (confidence > 0.6). No charge for failed or low-quality enrichments.

Get an API Key

  1. Visit https://lead-enrichment-mcp.agent-infra.workers.dev
  2. Sign up for free tier or upgrade
  3. Copy your API key

MCP-Native for AI Agents

This API is built on the Model Context Protocol (MCP), making it natively discoverable and callable by AI agents like Claude, Cursor, and ChatGPT.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "lead-enrichment": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-lead-enrichment"],
      "env": {
        "API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor

Add in Cursor Settings > MCP > Add New Server:

{
  "mcpServers": {
    "lead-enrichment": {
      "type": "http",
        "url": "https://lead-enrichment-mcp.agent-infra.workers.dev/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key-here"
      }
    }
  }
}

VS Code Copilot

Create .vscode/mcp.json:

{
  "servers": {
    "lead-enrichment": {
      "transport": "streamable-http",
        "url": "https://lead-enrichment-mcp.agent-infra.workers.dev/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key-here"
      }
    }
  }
}

ChatGPT GPTs

Use the OpenAPI schema:

https://lead-enrichment-mcp.agent-infra.workers.dev/openapi.json

API Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /mcp | MCP JSON-RPC endpoint | | GET | /health | Health check | | GET | /.well-known/mcp-server.json | MCP Server Card | | GET | /openapi.json | OpenAPI 3.1 spec | | GET | /docs | Human-readable docs | | GET | /test/enrich?domain=stripe.com | Test endpoint (auth required) |

Example Response

For stripe.com:

{
  "companyName": "Stripe, Inc.",
  "industry": "Fintech",
  "employeeCount": "5000+",
  "revenue": "$1B+",
  "technologies": [
    "React",
    "Ruby on Rails",
    "PostgreSQL",
    "Redis",
    "Kubernetes",
    "AWS"
  ],
  "intentSignals": [
    "Recently hired 3 Sales VPs in Q2 2026",
    "Expanding EU operations with new Dublin office"
  ],
  "confidenceScore": 0.95,
  "enrichedAt": "2026-06-19T12:00:00.000Z",
  "insights": [
    "High buying intent: Recently hired multiple sales VPs indicating expansion phase",
    "Enterprise-grade requirements suggest need for robust security and compliance features",
    "European expansion signals potential need for multi-currency and regional compliance"
  ]
}

The enrich_lead Tool

When to Use

  • Qualify a lead before outreach
  • Research a company before a sales call
  • Enrich a list of companies for a campaign
  • Understand a prospect's technology stack
  • Detect buying intent signals

Input

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | domain | string | Yes | Company domain (e.g., "stripe.com") | | attributes | string[] | No | Data types: firmographic, technographic, intent, contacts | | requiredFields | string[] | No | Fields that must be present |

Error Handling

All errors follow RFC 9457 Problem Details format:

{
  "type": "https://api.lead-enrichment-mcp.com/errors/rate-limit-exceeded",
  "title": "Rate Limit Exceeded",
  "detail": "You have exceeded the rate limit...",
  "status": 429,
  "extensions": {
    "code": "RATE_LIMIT_EXCEEDED",
    "retry_after": 60
  }
}

Rate Limits

| Tier | Burst | Sustained | |------|-------|-----------| | Free | 10 req/sec | 5 req/sec | | Pro | 50 req/sec | 20 req/sec |

Development

# Install dependencies
npm install

# Start local dev server
npm run dev

# Deploy
npm run deploy

Tech Stack

  • Hono (TypeScript) - Fast, lightweight web framework
  • Cloudflare Workers - Edge runtime
  • Zod - Schema validation with .describe() annotations
  • MCP SDK - Model Context Protocol
  • Stripe - Metered billing

License

MIT