Remote MCP server

Search & SEO data, as tools your agent can call.

One Streamable HTTP MCP endpoint gives Claude Code, Cursor, VS Code, and Codex live Google SERPs, keyword volumes, trends, and backlinks—with zero local wrappers.

Server URL (Streamable HTTP)
https://dataforapi.com/mcp

What is the DataForAPI MCP server?

The DataForAPI Model Context Protocol server exposes our public search, keyword, trend, backlink, and on-page endpoints as typed read-only tools over HTTPS. Any MCP-compatible coding agent can query real-time search intelligence using the exact same Bearer API key and prepaid USD ledger as your backend services.

Server URL
https://dataforapi.com/mcp
Transport
Streamable HTTP stateless (JSON-RPC over POST)
Authentication
Authorization: Bearer dfa_live_... or dfa_test_...
Context footprint
~80% smaller than raw SERP JSON
Billing
Pay-per-call from $1.00 free trial; $0 on errors
Discovery
initialize and tools/list are always $0.00

Connect your client

Reference your API key via environment variable or editor secret prompt so credentials never enter chat history or version control.

1Add the remote Streamable HTTP MCP server to Claude Code:
Claude Code
claude mcp add --transport http dataforapi https://dataforapi.com/mcp \
  --header "Authorization: Bearer $DATAFORAPI_KEY"
2Verify connection and available tools:
Claude Code
claude mcp list

The tools

Read-only search, keyword, trend, and link tools exposed automatically on tools/list.

ToolWhat it returnsLive rate
serp_google_organicLive Google desktop/mobile organic results, PAA, Local Pack, and cited AI Overviews.$0.00195 – $0.0039
serp_bing_organicLive Bing organic web rankings and rich answer snippets.$0.0018
keywords_search_volumeMonthly Google Keyword Planner volume, CPC bids, and 12-month history (up to 1,000 terms).$0.088 / batch
google_trends_exploreInterest-over-time series, sub-region demand, and breakout queries for up to 5 terms.$0.0108
backlinks_summaryDomain/URL authority rank, referring domains, dofollow ratio, and spam score.$0.0235 + $0.000035/row
onpage_instant_auditReal-time technical SEO audit of titles, canonicals, status codes, and OnPage score.$0.000145
search_api_docsSearch all 12 DataForAPI families, payload schemas, and micro-USD pricing.$0.000 (free)
call_v1_endpointUniversal caller for any DataForAPI route across Labs, Merchant, App Data, Business Data, AI Optimization, Domain Analytics & Balance.Endpoint rate ($0 balance)

Billing, keys and trust

Billed like the REST API

Every MCP tool call debits the exact micro-USD rate from your prepaid balance and logs status + latency in Console.

Scoped keys & daily UTC caps

Mint a dedicated dfa_live_... key for your coding agent with a daily USD spend ceiling, or revoke it in one click.

Results are untrusted data

Web snippets and SERP titles originate from external domains. Treat tool outputs as data, never executable instructions.

MCP server FAQ

Need help connecting an agent?Email support@dataforapi.com

What transport protocol does the DataForAPI MCP server use?

Stateless Streamable HTTP (JSON-RPC 2.0 over HTTPS POST) at https://dataforapi.com/mcp. No local Docker container, Python runtime, or stdio wrapper is required.

How is MCP token usage optimized compared to raw REST JSON?

Raw SERP payloads include pixel coordinates and layout rectangles that burn LLM context windows. Our MCP server projects the high-signal ranking, URL, snippet, AI Overview, and metric fields—cutting token consumption by roughly 80%.

Can I test MCP tool calls for $0 before spending Live balance?

Yes. Pass any dfa_test_... Sandbox key in the Authorization Bearer header and every MCP tool returns deterministic schema-identical fixtures at $0.000000.

Are failed or timed-out MCP tool calls charged?

Never. Every tool call pre-authorizes micro-USD and refunds 100% automatically on any upstream 5xx error or timeout.

Connect your agent in 30 seconds

Sign in with Google for $1.00 free balance, send one Bearer header, and get structured JSON back.

claude mcp add --transport http dataforapi https://dataforapi.com/mcp --header "Authorization: Bearer $DATAFORAPI_KEY"