Client Setup Guide
Connect AI Clients & IDEs
Step-by-step connection guides for Cursor IDE, Claude Desktop, VS Code, Claude Code CLI, Windsurf, and programmatic Python/Node.js SDKs.
1. Cursor IDE Setup
Configure in Cursor Settings → Features → MCP or via .cursor/mcp.json
.cursor/mcp.json
{
"mcpServers": {
"pulldata": {
"url": "https://pdb.pulldata.io/api/mcp/sse",
"headers": {
"x-api-key": "pdk_live_YOUR_API_KEY"
}
}
}
}How to verify in Cursor:
- Open Cursor Settings → Features → MCP. You should see a green status dot next to pulldata.
- Press Cmd+L or Ctrl+L to open Cursor Chat.
- Prompt: "Check my Pulldata wallet balance" or "Find 10 marketing agencies in Austin, TX".
2. Claude Desktop Integration
Add the Pulldata SSE server to claude_desktop_config.json
claude_desktop_config.json
{
"mcpServers": {
"pulldata": {
"url": "https://pdb.pulldata.io/api/mcp/sse",
"headers": {
"x-api-key": "pdk_live_YOUR_API_KEY"
}
}
}
}📂 macOS Config Path:
~/Library/Application Support/Claude/claude_desktop_config.json📂 Windows Config Path:
%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop after saving the configuration file.
3. Claude Code CLI
Add Pulldata MCP with a single terminal command
Terminal Command
claude mcp add --transport sse pulldata https://pdb.pulldata.io/api/mcp/sse --header "x-api-key: pdk_live_YOUR_API_KEY"
4. Programmatic Python & Node.js SDKs
Connect using official Model Context Protocol client packages
Python (`pip install mcp`)
import asyncio
from mcp import ClientSession
from mcp.client.sse import sse_client
async def main():
headers = {"x-api-key": "pdk_live_YOUR_API_KEY"}
url = "https://pdb.pulldata.io/api/mcp/sse"
async with sse_client(url, headers=headers) as streams:
async with ClientSession(streams[0], streams[1]) as session:
await session.initialize()
# List available scrapers
tools = await session.list_tools()
print("Connected! Available Tools:", [t.name for t in tools.tools])
# Run Google Maps scraper synchronously
result = await session.call_tool(
"pulldata_run_scraper_sync",
arguments={
"scraperId": "google-maps",
"inputParams": {
"categories": ["software company"],
"locations": ["San Francisco, CA"],
"limit": 10
}
}
)
print("Scraped Data:", result.content[0].text)
asyncio.run(main())TypeScript / Node.js (`npm i @modelcontextprotocol/sdk`)
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
async function run() {
const transport = new SSEClientTransport(
new URL("https://pdb.pulldata.io/api/mcp/sse"),
{
requestInit: {
headers: {
"x-api-key": "pdk_live_YOUR_API_KEY",
},
},
}
);
const client = new Client(
{ name: "my-agent", version: "1.0.0" },
{ capabilities: {} }
);
await client.connect(transport);
console.log("Connected to Pulldata MCP Server!");
const balanceRes = await client.callTool({
name: "pulldata_get_balance",
arguments: {},
});
console.log("Wallet Balance:", balanceRes.content[0].text);
}
run().catch(console.error);Connection Verification & Tips
Common solutions
API Key Header
Send your key as x-api-key: pdk_live_... without a Bearer prefix.
Automatic Keepalive Pings
Pulldata emits ping comments every 15 seconds to keep active connections alive across Cloudflare and corporate proxies.