DEV Community

Diego Costa
Diego Costa

Posted on

How to Give Cursor and VS Code Live B2B Lead Enrichment Tools via MCP

How to Give Cursor and VS Code Live B2B Lead Enrichment Tools via MCP

Integrating real-time firmographic and intent data into your IDE is best achieved by connecting your AI coding assistant to a specialized B2B lead enrichment MCP server via the Model Context Protocol. This architecture allows Cursor and VS Code Copilot to perform deep-profile lookups and verify company data natively using a standardized JSON-RPC interface, eliminating the need for fragile custom scrapers or manual data entry.

Core Features

The B2B Lead Enrichment MCP API provides a robust data layer designed for high-performance agentic workflows. Unlike traditional APIs, this server utilizes strict Zod-schema annotations for every tool parameter, which virtually eliminates LLM parameter hallucinations during complex query generation. Key data layers include:

  • Deep Firmographics: Access real-time data on headcount, revenue brackets, industry NAICS codes, and global headquarters locations.
  • Technographic Intelligence: Identify a company’s current tech stack, including cloud providers, CRM usage, and frontend frameworks.
  • Intent & Signal Tracking: Surface high-intent signals such as recent funding rounds, executive transitions, and hiring surges.
  • Confidence Scoring: Every response includes a precision metric to ensure your autonomous agents only act on high-veracity data.

Configuration for Cursor and VS Code

To enable these tools in Cursor or any MCP-compatible VS Code extension, add the following configuration to your project.json or global MCP settings.

{
  "mcpServers": {
    "b2b-enrichment": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-http",
        "--url",
        "https://lead-enrichment-mcp.agent-infra.workers.dev/mcp"
      ],
      "env": {
        "ENRICHMENT_API_KEY": "YOUR_FREE_API_KEY"
      }
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Standardized JSON-RPC Response Example

When the LLM invokes the enrich_lead tool, the MCP server returns a structured payload. This allows the AI to reason over the data and execute logic based on specific firmographic triggers.

{
  "jsonrpc": "2.0",
  "id": "1",
  "result": {
    "companyName": "Acme Corp",
    "industry": "Enterprise SaaS",
    "headcount": "500-1000",
    "technographics": ["AWS", "Salesforce", "React", "Snowflake"],
    "intentSignals": [
      { "type": "Series C Funding", "date": "2023-11-15", "impact": "High" }
    ],
    "confidenceScore": 0.94,
    "status": "enriched"
  }
}
Enter fullscreen mode Exit fullscreen mode

Risk-Free Metered Billing

Efficiency is built into the protocol. The B2B Lead Enrichment MCP API operates on a Risk-Free Metered Billing structure. Your account is only debited for successful enrichments where the Confidence Score exceeds 0.6. If the server returns a low-quality match or fails to find the entity, the query cost is exactly $0. This allows developers to build massive SDR swarms and autonomous outreach agents without the risk of burning credits on "hallucinated" or non-existent lead data.

Get Started with the B2B Enrichment MCP

Ready to upgrade your AI agent's data capabilities? Access the documentation and claim your free tier API key to start enriching leads directly from your terminal or IDE.

Visit lead-enrichment-mcp.agent-infra.workers.dev to get your API key.

Top comments (0)