AI Agent Integration · Planned Stage 1 MCP Spec

One Remote MCP Endpoint for Public Social, Sites, Web & Search Data

Connect coding agents and automation runtimes to https://dataroute.dev/mcp with one DATAROUTE_API_KEY. Every MCP tool call inherits automatic failover, normalized JSON/Markdown outputs, and HTTP 200-only USD billing.

Planned MCP URL: https://dataroute.dev/mcp Env Var: DATAROUTE_API_KEY Discovery: /llms.txt & /llms-full.txt Status: Stage 0 Pre-Launch

Client Setup Blueprints (Planned Stage 1)

Copyable Configuration for 5 Agent & Automation Runtimes

All five snippets below show the target Stage 1 remote MCP connection contract. Replace DATAROUTE_API_KEY once Stage 1 key issuance opens.

CLI & Coding Agent

Claude Code

Register the single HTTP MCP server once so Claude Code can call Social, Sites, Web, and Search tools using DATAROUTE_API_KEY.

claude mcp add dataroute Planned Stage 1 CLI
# Planned Stage 1 remote MCP setup
export DATAROUTE_API_KEY="dr_live_your_key"

claude mcp add --transport http dataroute https://dataroute.dev/mcp \
  --header "Authorization: Bearer ${DATAROUTE_API_KEY}"

AI Code Editor

Cursor

Add DataRoute to workspace or user MCP settings so Composer and Agent modes query live web pages, X posts, and domain profiles.

.cursor/mcp.json Planned .cursor/mcp.json
{
  "mcpServers": {
    "dataroute": {
      "url": "https://dataroute.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${env:DATAROUTE_API_KEY}"
      }
    }
  }
}

Terminal Coding Agent

Codex

Configure the bearer environment variable directly in Codex TOML configuration so secrets stay out of project files.

~/.codex/config.toml Planned ~/.codex/config.toml
[mcp_servers.dataroute]
url = "https://dataroute.dev/mcp"
bearer_token_env_var = "DATAROUTE_API_KEY"

Autonomous Agent Runtime

OpenClaw

Connect OpenClaw workflows to one unified data toolset backed by prepaid USD credits and HTTP 200-only metering.

openclaw.mcp.json Planned Agent MCP Config
{
  "servers": {
    "dataroute": {
      "transport": "streamable-http",
      "endpoint": "https://dataroute.dev/mcp",
      "auth": {
        "type": "bearer",
        "env": "DATAROUTE_API_KEY"
      }
    }
  }
}

Workflow Automation

n8n

Point the n8n MCP Client Tool node (or HTTP Request node targeting https://api.dataroute.dev/v1/*) at one credential entry.

n8n MCP Client Tool Configuration Planned MCP Client Node / HTTP
{
  "node": "MCP Client Tool",
  "endpointUrl": "https://dataroute.dev/mcp",
  "authentication": "headerAuth",
  "headerName": "Authorization",
  "headerValue": "Bearer {{ $env.DATAROUTE_API_KEY }}",
  "allowedTools": [
    "social_x_search",
    "site_profile",
    "web_to_markdown",
    "search_serp"
  ]
}

Planned MCP Tool Registry

Core Tools Exposed via https://dataroute.dev/mcp

Every tool maps 1-to-1 to a canonical /v1/* REST route so agents and backend services observe identical schemas and billing rules.

Inspect All 27 Routes →
MCP Tool Name Backing REST Route Stage Purpose
social_x_search GET /v1/social/x/search V1 Flagship Search recent or top public X posts using structured query operators, language filters, and bounded cursor pagination.
social_x_timeline GET /v1/social/x/users/{handle}/timeline V1 Flagship Read recent public posts from a creator timeline with optional reply/repost filters and deterministic cursor pagination.
social_reddit_posts GET /v1/social/reddit/posts V1 Multi-Upstream Retrieve public subreddit listings (hot, new, top) or keyword search results with normalized post scores and permalinks.
site_profile GET /v1/sites/{domain}/profile V1 Flagship Inspect live DNS records, TLS certificate validity, RDAP/WHOIS registrar metadata, and nameserver hosting footprint.
site_traffic GET /v1/sites/{domain}/traffic V1 Flagship Retrieve estimated monthly traffic scale, geographic distribution, and acquisition channel mix for a public domain.
site_ranks GET /v1/sites/{domain}/ranks V1 Flagship Query cross-checked domain authority rankings from Tranco, Majestic Million, and Chrome UX Report popularity tiers.
web_to_markdown POST /v1/web/markdown V1 Flagship Extract clean, boilerplate-free Markdown, canonical URL resolution, and HTTP metadata from any public web page.
web_screenshot POST /v1/web/screenshot V1 Flagship Capture deterministic desktop or mobile viewport PNG screenshots alongside HTTP status and SHA-256 content hashes.
web_site_dossier POST /v1/web/dossier V1 Flagship Assemble a structured multi-page snapshot of a target site (homepage, pricing, docs, changelog) in one bounded API call.
search_suggest GET /v1/search/suggest V1 Flagship Expand seed queries into live search autocomplete suggestions scoped by country (gl) and language (hl).
search_serp GET /v1/search/serp V1 Multi-Upstream Capture ranked Google organic search results, snippets, and SERP feature flags for any locale and device profile.

Machine-Readable Discovery

llms.txt & Markdown Content Negotiation Live Today

Concise Index

/llms.txt

Structured plain-text overview of DataRoute positioning, planned endpoints, and canonical URLs ready for LLM context windows.

Open /llms.txt →

Extended Reference

/llms-full.txt

Full machine-readable specification including all 27 planned endpoints, unified error taxonomy, and pricing architecture.

Open /llms-full.txt →

HTTP Negotiation

Accept: text/markdown

Every canonical page on dataroute.dev serves companion Markdown on Accept: text/markdown with Vary: Accept.

View this page as Markdown →

Questions & Answers

MCP & AI Agent Questions

Why expose one MCP endpoint at https://dataroute.dev/mcp for all four data pillars?

Managing separate MCP servers, vendor accounts, and billing balances for social feeds, website intel, web extraction, and SERP capture creates fragile agent configs. A single MCP endpoint authenticated with DATAROUTE_API_KEY gives every supported client deterministic access to all four public data pillars under one prepaid credit pool.

Is https://dataroute.dev/mcp live for production tool calls today?

DataRoute is currently in Stage 0 pre-launch. The MCP endpoint specification, client configuration templates, tool catalog, and /llms.txt discovery manifests are published now so teams can design integrations ahead of the Stage 1 commercial gateway launch.

How do LLM agents read DataRoute documentation natively?

Every canonical route on https://dataroute.dev serves clean companion Markdown when requested with Accept: text/markdown (with Vary: Accept) or via its explicit /index.md alternate link, alongside root /llms.txt and /llms-full.txt manifests.

Are failed MCP tool invocations charged against prepaid credits?

No. MCP tool invocations pass through the exact same HTTP 200-only schema-validated metering engine as REST calls. Upstream timeouts, 429 rate limits, and malformed responses incur zero charge.