{"_id":"@diego_costa/lead-enrichment-mcp","name":"@diego_costa/lead-enrichment-mcp","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@diego_costa/lead-enrichment-mcp","version":"1.0.0","mcpName":"io.github.Diego-Costa-Tech/lead-enrichment-mcp","description":"MCP-native Lead Enrichment API for autonomous AI agents","main":"dist/index.js","types":"dist/index.d.ts","type":"module","engines":{"node":">=18.0.0"},"scripts":{"dev":"wrangler dev --port 8787","deploy":"wrangler deploy","build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build","generate-openapi":"wrangler deploy --dry-run --outdir ./dist-openapi"},"publishConfig":{"access":"public"},"keywords":["mcp","lead-enrichment","b2b","ai-agents"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Diego-Costa-Tech/lead-enrichment-mcp.git"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","hono":"^4.0.0","stripe":"^16.0.0","zod":"^3.23.0"},"devDependencies":{"@cloudflare/workers-types":"^4.20260619.1","@types/node":"^22.0.0","typescript":"^5.5.0","wrangler":"^4.0.0"},"_id":"@diego_costa/lead-enrichment-mcp@1.0.0","gitHead":"8c547b239cc5f5942bb9a4357171bfe789f3d490","bugs":{"url":"https://github.com/Diego-Costa-Tech/lead-enrichment-mcp/issues"},"homepage":"https://github.com/Diego-Costa-Tech/lead-enrichment-mcp#readme","_nodeVersion":"22.23.0","_npmVersion":"10.9.8","dist":{"integrity":"sha512-91YXFU0K72ZNSi8QQfSSHJdP/uyYZzgXveApCaQuI/ekiKBVaAQZL1XrRrIx1nA8hGaha0/J48zM9V4/CGpZjA==","shasum":"e14298a35f3ff2f4a6bf08785d35b0b0b2a8f737","tarball":"https://registry.npmjs.org/@diego_costa/lead-enrichment-mcp/-/lead-enrichment-mcp-1.0.0.tgz","fileCount":15,"unpackedSize":89586,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDMHZfXtlkGuVH/eZ6XGQXIyox3iq2/NzFkaGSJPnXvsAiEAiYitv215q6lDceTRrj2bBwgpuWlN6PcS6K1sC3RolfQ="}]},"_npmUser":{"name":"diego_costa","email":"diego.costa.tech@gmail.com"},"directories":{},"maintainers":[{"name":"diego_costa","email":"diego.costa.tech@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lead-enrichment-mcp_1.0.0_1784250943287_0.22168699333210395"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-17T01:15:43.127Z","1.0.0":"2026-07-17T01:15:43.424Z","modified":"2026-07-17T01:15:43.628Z"},"maintainers":[{"name":"diego_costa","email":"diego.costa.tech@gmail.com"}],"description":"MCP-native Lead Enrichment API for autonomous AI agents","homepage":"https://github.com/Diego-Costa-Tech/lead-enrichment-mcp#readme","keywords":["mcp","lead-enrichment","b2b","ai-agents"],"repository":{"type":"git","url":"git+https://github.com/Diego-Costa-Tech/lead-enrichment-mcp.git"},"bugs":{"url":"https://github.com/Diego-Costa-Tech/lead-enrichment-mcp/issues"},"license":"MIT","readme":"# B2B Lead Enrichment MCP API\n\nThe MCP-native API that AI agents use to enrich B2B company profiles with structured data.\n\n## Live Production URL\n\n```\nhttps://lead-enrichment-mcp.agent-infra.workers.dev\n```\n\n**Status**: Live and accepting requests\n\n## Quick Start\n\n```bash\n# Test the API\ncurl https://lead-enrichment-mcp.agent-infra.workers.dev/health\n\n# Enrich a company (replace with your API key)\ncurl -X POST https://lead-enrichment-mcp.agent-infra.workers.dev/mcp \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"enrich_lead\",\"arguments\":{\"domain\":\"stripe.com\"}}}'\n```\n\n## Pricing\n\n| Tier | Monthly | Price | Overage |\n|------|---------|-------|---------|\n| Free | 100 enrichments | $0 | N/A |\n| Pro | 10,000 enrichments | $49/month | $0.05/enrichment |\n| Enterprise | Unlimited | Contact us | Custom |\n\n**Billing**: Only for successful, high-confidence enrichments (confidence > 0.6). No charge for failed or low-quality enrichments.\n\n## Get an API Key\n\n1. Visit [https://lead-enrichment-mcp.agent-infra.workers.dev](https://lead-enrichment-mcp.agent-infra.workers.dev)\n2. Sign up for free tier or upgrade\n3. Copy your API key\n\n## MCP-Native for AI Agents\n\nThis API is built on the Model Context Protocol (MCP), making it natively discoverable and callable by AI agents like Claude, Cursor, and ChatGPT.\n\n### Claude Desktop\n\nAdd to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"lead-enrichment\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@anthropic-ai/mcp-server-lead-enrichment\"],\n      \"env\": {\n        \"API_KEY\": \"your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n### Cursor\n\nAdd in Cursor Settings > MCP > Add New Server:\n\n```json\n{\n  \"mcpServers\": {\n    \"lead-enrichment\": {\n      \"type\": \"http\",\n        \"url\": \"https://lead-enrichment-mcp.agent-infra.workers.dev/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n### VS Code Copilot\n\nCreate `.vscode/mcp.json`:\n\n```json\n{\n  \"servers\": {\n    \"lead-enrichment\": {\n      \"transport\": \"streamable-http\",\n        \"url\": \"https://lead-enrichment-mcp.agent-infra.workers.dev/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer your-api-key-here\"\n      }\n    }\n  }\n}\n```\n\n### ChatGPT GPTs\n\nUse the OpenAPI schema:\n```\nhttps://lead-enrichment-mcp.agent-infra.workers.dev/openapi.json\n```\n\n## API Endpoints\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| POST | `/mcp` | MCP JSON-RPC endpoint |\n| GET | `/health` | Health check |\n| GET | `/.well-known/mcp-server.json` | MCP Server Card |\n| GET | `/openapi.json` | OpenAPI 3.1 spec |\n| GET | `/docs` | Human-readable docs |\n| GET | `/test/enrich?domain=stripe.com` | Test endpoint (auth required) |\n\n## Example Response\n\nFor `stripe.com`:\n\n```json\n{\n  \"companyName\": \"Stripe, Inc.\",\n  \"industry\": \"Fintech\",\n  \"employeeCount\": \"5000+\",\n  \"revenue\": \"$1B+\",\n  \"technologies\": [\n    \"React\",\n    \"Ruby on Rails\",\n    \"PostgreSQL\",\n    \"Redis\",\n    \"Kubernetes\",\n    \"AWS\"\n  ],\n  \"intentSignals\": [\n    \"Recently hired 3 Sales VPs in Q2 2026\",\n    \"Expanding EU operations with new Dublin office\"\n  ],\n  \"confidenceScore\": 0.95,\n  \"enrichedAt\": \"2026-06-19T12:00:00.000Z\",\n  \"insights\": [\n    \"High buying intent: Recently hired multiple sales VPs indicating expansion phase\",\n    \"Enterprise-grade requirements suggest need for robust security and compliance features\",\n    \"European expansion signals potential need for multi-currency and regional compliance\"\n  ]\n}\n```\n\n## The `enrich_lead` Tool\n\n### When to Use\n\n- Qualify a lead before outreach\n- Research a company before a sales call\n- Enrich a list of companies for a campaign\n- Understand a prospect's technology stack\n- Detect buying intent signals\n\n### Input\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `domain` | string | Yes | Company domain (e.g., \"stripe.com\") |\n| `attributes` | string[] | No | Data types: firmographic, technographic, intent, contacts |\n| `requiredFields` | string[] | No | Fields that must be present |\n\n## Error Handling\n\nAll errors follow RFC 9457 Problem Details format:\n\n```json\n{\n  \"type\": \"https://api.lead-enrichment-mcp.com/errors/rate-limit-exceeded\",\n  \"title\": \"Rate Limit Exceeded\",\n  \"detail\": \"You have exceeded the rate limit...\",\n  \"status\": 429,\n  \"extensions\": {\n    \"code\": \"RATE_LIMIT_EXCEEDED\",\n    \"retry_after\": 60\n  }\n}\n```\n\n## Rate Limits\n\n| Tier | Burst | Sustained |\n|------|-------|-----------|\n| Free | 10 req/sec | 5 req/sec |\n| Pro | 50 req/sec | 20 req/sec |\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Start local dev server\nnpm run dev\n\n# Deploy\nnpm run deploy\n```\n\n## Tech Stack\n\n- **Hono** (TypeScript) - Fast, lightweight web framework\n- **Cloudflare Workers** - Edge runtime\n- **Zod** - Schema validation with .describe() annotations\n- **MCP SDK** - Model Context Protocol\n- **Stripe** - Metered billing\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-587073d57542039dbe6ee2f1af4104eb"}