Agents
MCP Server

MCP Server

SuperScraper ships a Model Context Protocol (MCP) (opens in a new tab) server. Once connected, Claude Desktop, Claude Code, or any MCP-compatible agent can scrape URLs, extract structured data, search the web and look up companies without leaving the conversation.

Tools

The server registers two kinds of tools: in-process tools that run the engine on your own machine, and REST-backed tools that call the SuperScraper API with your key.

In-process tools

ToolWhat it does
scrapeScrape a URL → markdown + optional listing data
extractExtract JSON matching a schema from a URL (LLM-powered, uses your own LLM keys)
crawlSame-domain crawl up to a page cap (max 100) → concatenated markdown
batch_scrapeUp to 50 URLs concurrently with a success/failure summary
searchWeb search, optionally scraping the results
transformConvert HTML you already have into markdown, offline
screenshotCapture a screenshot of a URL
unblockFetch an anti-bot-protected URL through the proxy tier, with an optional region and maxCostUsd
list_toolsList the registered tools and their parameter schemas

REST-backed tools

These call the API and are metered and rate-limited like any other API request.

ToolEndpoint
api_scrape, api_extract, api_search, api_map, api_batch/v1/scrape, /v1/extract, /v1/search, /v1/map, /v1/batch
api_crawl, api_crawl_status/v1/crawl, /v1/crawl/{id}
api_parse, api_screenshot/v1/parse, /v1/screenshot
api_enrich_website, api_enrich_phone, api_enrich_estimate, enrich_batch/v1/enrich/website, /v1/enrich/phone, /v1/enrich/estimate, /v1/enrich/batch
api_brand, api_resolve/v1/brand, /v1/resolve
graph_query, graph_get_business/v1/graph/query, /v1/graph/business/{idOrDomain}
api_usage, api_credits, api_pricing, api_status/v1/usage, /v1/credits, /v1/pricing, /v1/status
provision_key/v1/keys/provision

Hosted MCP is coming soon

Hosted MCP is coming soon. Its address is not published yet, so do not configure a hosted MCP URL. Until it opens, use the REST API or the local stdio server below.

How the hosted server bills and authenticates

This is how the hosted server is built, so you know what to expect when it opens:

  • One endpoint. POST /mcp over Streamable HTTP. Send your API key in a header: Authorization: Bearer ss_live_... or x-api-key: ss_live_....
  • Keys never go in the URL. A request with a key in the path or query string is refused with 400, and that key is not checked. If you ever put a key in a URL, rotate it.
  • No key, no call. A request with no key, or with a revoked or inactive key, is refused with 401 before any tool runs.
  • Billed exactly like the API. Each tool call becomes one request to the REST endpoint listed in the table above, sent with your key. Your plan's quota, rate limits and credit charges apply to it exactly as if you had called that endpoint yourself, and it shows up in /v1/usage the same way. There is no shared key and no free path: the server runs no scraping or enrichment of its own.
  • No billing, no billable call. If the API cannot confirm that billing is on, billable tools return METERING_NOT_ARMED and nothing is run or charged. Account reads (api_usage, api_credits, api_pricing, api_status) still answer.
  • Out of credits. A call refused for quota or credits returns QUOTA_EXHAUSTED. The server never retries a call, so one tool call is never billed twice.
  • provision_key is not served by the hosted server. Create a key with the REST call below or in the dashboard.

Production callers should use the REST API today:

curl -X POST https://api.superscraper.dev/v1/keys/provision \
  -H "Content-Type: application/json" \
  -d '{"label":"research-agent"}'
# → 201 { "apiKey": "ss_live_...", "tenantId": "...", "tier": "free", "credits": { ... }, ... }
 
curl -X POST https://api.superscraper.dev/v1/scrape \
  -H "Authorization: Bearer ss_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","formats":["markdown"]}'

Or sign in at app.superscraper.dev (opens in a new tab) → API Keys → Create key.

Local MCP server

The local MCP server is not published as a package yet. It is available on request: contact support@superscraper.dev. Hosted MCP is coming soon. Until then, call the REST API with your key.

When you have the local server, it runs as a stdio process. Tools that call the REST API (api_*, graph_query, enrich_batch) use credits. The local server defaults to the live API (https://api.superscraper.dev); set SUPERSCRAPER_API_URL only to point at a different base URL.

Environment variables (local server)

These apply only to the local stdio server.

VariableRequiredDescription
SUPERSCRAPER_API_KEYYesYour API key
SUPERSCRAPER_API_URLNoOverride base URL (default: https://api.superscraper.dev)
ANTHROPIC_API_KEYNoKey for the local in-process extract tool when you pass a schema, and for PDF/image reading in the local server.
OPENAI_API_KEYNoOptional. Same local extract tool, when LLM_DEFAULT_PROVIDER=openai, or as the fallback if the Anthropic call fails.

The unblock tool escalates to paid proxy providers only when you have set their credentials in the environment; without them it uses the free own-pool tier.

ANTHROPIC_API_KEY or OPENAI_API_KEY is only needed for the local in-process extract tool when you pass a schema. REST tools use your API key and credits instead. The scrape, crawl, batch_scrape, and search tools work without an LLM key.

Example prompts

Scrape a competitor's pricing page

"Scrape https://example.com/pricing and tell me what the plans cost."

Claude calls scrape, receives markdown, and summarises the pricing table.

Extract structured data

"Extract the business name, address, phone, and hours from https://www.northside-roasters.example/cafes/downtown. Return as JSON."

Claude calls extract with a derived schema and returns clean structured JSON.

Company lookup

"Here are 20 coffee roaster websites. For each one, find the phone number and check what software they use."

Claude calls batch_scrape on the websites, then api_enrich_website for the tech stack and contact details.

Crawl documentation

"Crawl https://docs.stripe.com/api (up to 30 pages) and summarise the key authentication methods."

Claude calls crawl with maxPages: 30 and summarises the concatenated content.

Notes

  • The stdio server runs as a local process. In-process tools send no traffic through SuperScraper servers (your own LLM keys are used directly).
  • crawl runs synchronously in the MCP server and returns content directly. It suits up to ~100 pages per conversation turn.
  • REST-backed tools are subject to your plan's rate limits and credits.
  • The in-process extract tool routes models as the pro tier would, using your own LLM keys.