DEV Community

Diego Costa
Diego Costa

Posted on

How to Give Cursor and VS Code Copilot Live Firmographic Tools via MCP

How to Give Cursor and VS Code Copilot Live Firmographic Tools via MCP

The most efficient way to give LLMs native access to live B2B firmographics and intent data without custom middleware is by deploying an MCP-native API server directly into your IDE's configuration. By integrating our B2B lead enrichment MCP server, developers can enable Cursor or VS Code to perform real-time company profiling, technographic analysis, and intent-signal mapping directly within the chat interface.

Core Features

This MCP server exposes a standardized interface for autonomous agents to query external data, utilizing strict Zod-schema annotations for every tool parameter. This architecture prevents LLM hallucinations by enforcing type safety before the request reaches the upstream enrichment engine.

  • Firmographic Data: Access high-fidelity records including revenue, employee counts, and location.
  • Technographic Insights: Identify tech stacks, stack maturity, and software install base.
  • Intent Signals: Real-time triggers based on hiring patterns, funding announcements, and digital footprint changes.
  • Deterministic Validation: All queries use structured outputs to ensure that your agent logic operates on verified, consistent JSON objects.

Configuration for Cursor/VS Code

To connect your IDE to the enrichment engine, add the following to your mcp.json configuration file. This setup allows your local LLM instance to call the enrich_lead tool natively.

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

JSON-RPC Response Payload

The tool returns a clean, highly structured object designed for immediate agentic consumption. This format minimizes token usage while maximizing data density.

{
  "jsonrpc": "2.0",
  "id": "req_001",
  "result": {
    "companyName": "Acme Corp",
    "industry": "SaaS / Cloud Infrastructure",
    "technographics": ["AWS", "Kubernetes", "Snowflake"],
    "intentSignals": {
      "hiringTrend": "aggressive",
      "recentFunding": "Series C"
    },
    "confidenceScore": 0.94,
    "lastUpdated": "2023-10-27T10:00:00Z"
  }
}
Enter fullscreen mode Exit fullscreen mode

Risk-Free Metered Billing

Efficiency in AI workflows depends on cost-predictability. Our API utilizes a Performance-Based Billing model: you are only billed for successful enrichments where the Confidence Score exceeds 0.6. If the engine returns low-confidence data or fails to find a match, the query is free. This ensures your autonomous agent swarm remains cost-effective as it scales.

Get Your API Key

Ready to supercharge your SDR agents with real-time data? Visit lead-enrichment-mcp.agent-infra.workers.dev to generate your API key and start enriching leads with native MCP integration on the free tier today.

Top comments (0)