Model Context Protocol (MCP) Integration

Pulldata MCP Server

Turn Claude Desktop, Cursor, VS Code, Windsurf, or any autonomous LLM agent into a high-speed lead scraper. Every public scraper engine is exposed as a standardized tool with live USD wallet metering and automatic guardrails.

Live Server Connection Details
SSE StreamJSON-RPC 2.0
Server SSE Endpoint
https://pdb.pulldata.io/api/mcp/sse
Authentication Header
x-api-key: pdk_live_YOUR_API_KEY
No local scrapers to maintain. Direct cloud execution.
Get API Key from Dashboard

Sync & Async Dual Mode

Get immediate inline results for chat responses, or dispatch 1,000+ row jobs in the background.

Financial Guardrails

Itemized receipts on every tool call, automatic limit enforcement, and daily budget spending caps.

Zero-Fail Schema Coercion

AI inputs are automatically normalized. Single strings, location names, and limits adapt seamlessly.

Fastest Setup

Quickstart in 3 Simple Steps

Connect your favorite AI assistant and start extracting verified B2B leads in under 60 seconds.

01
1

Copy your API Key

Generate a live key (starts with pdk_live_) in your Pulldata Dashboard under API Keys.

02
2

Add MCP Endpoint

Paste the JSON snippet below into your Cursor, Claude Desktop, or VS Code configuration file.

Transport: SSE
03
3

Prompt your AI

Ask in plain English: "Find 20 SaaS startups in Austin, TX with emails and export to CSV."

Live leads returned inline!

Client Setup & Configuration

Select your AI client or programming language to get ready-to-use configuration files and copyable snippets.

Cursor IDE Configuration

Create or edit .cursor/mcp.json in your project, or navigate to Cursor Settings → Features → MCP and add a server.

{
  "mcpServers": {
    "pulldata": {
      "url": "https://pdb.pulldata.io/api/mcp/sse",
      "headers": {
        "x-api-key": "pdk_live_YOUR_API_KEY"
      }
    }
  }
}

💡 Tip: After saving, open Cursor Chat (Cmd+L / Ctrl+L) and type: "Check my Pulldata wallet balance" to verify the connection.

Ready-to-Use Prompts

Natural Language Prompt Cookbook

Once connected, you don't need to write code. Simply ask your AI assistant in plain English:

Google Maps Local Lead Generation
B2B Sales & Local
"Find 20 digital marketing agencies in Austin, TX with phone numbers, verified emails, and websites. Export them to a clean table."
Tool: pulldata_run_scraper_sync
Website Contact & Email Enrichment
Enrichment
"Scrape company emails, contact phone numbers, and LinkedIn handles from stripe.com, vercel.com, and linear.app."
Tool: pulldata_run_scraper_sync
Google Search (SERP) Competitor Intelligence
Market Research
"Scrape the top 20 Google search rankings for 'best AI code editors 2026' and summarize their titles and domain URLs."
Tool: pulldata_run_scraper_sync
Airbnb Vacation Rental Pricing
Real Estate & Travel
"Find 15 beachfront apartments in Miami Beach for 4 guests with price per night and rating over 4.8."
Tool: pulldata_run_scraper_sync
Email Verifier & Deliverability Check
Deliverability
"Check if alex@acme.com and team@openai.com are valid deliverable email inboxes with active MX records."
Tool: pulldata_run_scraper_sync

Available MCP Tools Reference (9 Tools)

Your AI assistant automatically inspects these tools upon connection. Click any tool below to inspect parameters and example payloads.

pulldata_run_scraper_sync

Most Popular

Executes a scraper job synchronously and returns live lead records immediately inline.

Category: Scraping
When to use

Use when responding directly to user chat queries (e.g. up to 50 leads) where real-time results are needed.

Sample Plain English Prompt

"Find 15 coffee shops in Austin, TX with phone numbers, emails, and ratings."

Input Parameters Schema

ParameterTypeRequiredDescription
scraperIdstringYesScraper slug (e.g. "google-maps", "contact-details", "google-search-results", "airbnb-listings")
inputParamsobjectYesInput parameters (locations, categories, websites, limit, search_queries)
webhookUrlstringNo (optional)Optional callback webhook URL upon completion
Arguments Payload
{
  "scraperId": "google-maps",
  "inputParams": {
    "categories": ["coffee shop"],
    "locations": ["Austin, TX"],
    "limit": 5
  }
}
Tool Response (with Receipt)
{
  "billingSummary": {
    "leadsScraped": 5,
    "amountCharged": "$0.025",
    "walletBalanceRemaining": "$49.975 USD"
  },
  "data": [
    {
      "title": "Houndstooth Coffee",
      "category": "Coffee shop",
      "phone": "+1 512-531-9417",
      "primary_email": "info@houndstoothcoffee.com",
      "website": "https://www.houndstoothcoffee.com",
      "address": "401 Congress Ave #100, Austin, TX 78701",
      "rating": 4.6,
      "reviews_count": 512
    }
  ]
}

Itemized Financial Receipts (`billingSummary`)

Every tool execution returns an instant financial receipt so you and your AI assistant always know exactly how much was charged.

Standardized Billing Receipt Envelope

To prevent runaway costs in autonomous AI loops, Pulldata injects a standardized billingSummary into every tool output. The AI assistant can display this directly to the user:

leadsScraped: Number of rows successfully extracted
amountCharged: Exact USD amount deducted from wallet
walletBalanceRemaining: Real-time updated USD balance
Receipt Object Format
"billingSummary": {
  "leadsScraped": 15,
  "amountCharged": "$0.075",
  "walletBalanceRemaining": "$49.925 USD"
}
Mandatory Limit Safety Check

Search-based scrapers without an explicit limit parameter are paused with an instruction asking the AI to verify the requested lead count with the user first.

Daily Spending Budget Cap

Configure a hard daily ceiling (e.g. max $5.00/day) in your dashboard. Any tool execution exceeding this cap is gracefully paused.

Troubleshooting & Status Codes

Quick solutions to common connection and authentication questions.

Symptom / CodeCauseHow to Fix
401 UnauthorizedMissing or invalid API key in x-api-key header.Ensure the header is x-api-key: pdk_live_... and your key is active in the Dashboard.
402 Payment RequiredUSD wallet balance is insufficient for requested scraping batch.Top up your wallet balance →
Budget ExceededDaily MCP spending cap reached.Increase daily budget in your Pulldata Dashboard under MCP Settings.
Tools Not AppearingClient did not refresh MCP tools cache.Restart Claude Desktop or Cursor, or verify JSON syntax in config file.
Session DisconnectProxy or idle timeout.Pulldata automatically emits keepalive pings every 15 seconds. Reconnection is handled automatically by the SDK transport.

Ready to Connect your AI Assistant?

Get your API key in seconds and start extracting live verified leads directly inside Claude, Cursor, or your custom agents.