extracto-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@extracto-mcp pull the title, language and star count from github.com/facebook/react"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
extracto-mcp
Model Context Protocol server for Extracto. It gives Claude, Cursor, Claude Code, and any MCP client the ability to turn a URL plus a schema into validated, typed JSON — no prompt engineering, no HTML parsing, and no hallucinated fields (missing data comes back as null).
Quick start
You need an Extracto API key. Get one at app.getextracto.dev/keys.
The server runs over stdio and is published to npm, so most clients just need this config block.
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"extracto": {
"command": "npx",
"args": ["-y", "extracto-mcp"],
"env": { "EXTRACTO_API_KEY": "exa_live_your_key_here" }
}
}
}Cursor
Add to ~/.cursor/mcp.json (or the project .cursor/mcp.json) with the same block.
Claude Code
claude mcp add extracto -e EXTRACTO_API_KEY=exa_live_your_key_here -- npx -y extracto-mcpRestart the client and ask it to extract something, e.g. "Use extracto to pull the title, language and star count from github.com/facebook/react."
Related MCP server: AgentQL MCP Server
Tools
Tool | What it does |
| Synchronous extraction from a single URL (up to ~90s). Returns |
| Submit an async job for heavy or anti-bot pages. Returns a job id immediately. |
| Poll an async job for status and result. |
| List your recent async jobs. |
The schema argument
A schema is an object mapping field names to types. A type is:
a literal:
"string","number","boolean","array","object"a one-element array for a list:
["string"], or[{ "title": "string" }]a nested object:
{ "author": { "name": "string" } }
{
"title": "string",
"price": "number",
"tags": ["string"],
"reviews": [{ "user": "string", "stars": "number" }]
}Only fields that are actually found on the page are returned; anything missing is null rather than guessed.
Configuration
All configuration is via environment variables passed by your MCP client:
Variable | Required | Description |
| yes | Your key from app.getextracto.dev/keys. |
| no | Override the API host (defaults to |
| no | Per-request timeout in ms (default |
Development
npm install
npm run dev # run from source with tsx
npm run typecheck
npm run build # bundle to dist/ with tsupRelated
extracto— the official TypeScript/JavaScript SDK.getextracto.dev — docs and API reference.
License
MIT
Available Tools
4 toolsextractExtract structured data from a URLARead-only
Extract structured data from a public web page and return it as validated, typed JSON. Extracto renders the page (JavaScript included), runs a schema-constrained extraction, and returns ONLY fields that match the schema. Missing data comes back as null rather than a hallucinated guess. Best for a single known URL. This call is synchronous (up to ~90s); for heavy or anti-bot pages prefer extract_async.
Inputs: url (required), schema (required), examples.
extract_asyncSubmit an async extraction jobARead-only
Submit an asynchronous extraction job for a heavy, slow, or anti-bot-protected page. Returns a job id immediately; poll it with get_job until status is "success" or "failed". Use this instead of extract when a page is large or likely to need stealth rendering.
Inputs: url (required), schema (required), examples, webhookUrl, +1 more.
get_jobGet an extraction jobARead-only
Fetch the current status and (once complete) the result of an async extraction job created with extract_async. Status is one of pending, processing, success, failed.
Inputs: id (required).
list_jobsList recent extraction jobsARead-only
List your recent async extraction jobs, newest first.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool serves a distinct purpose: synchronous extraction, async submission, polling, and listing. No overlap or ambiguity.
Names are mostly lowercase and descriptive, but 'extract_async' breaks the verb_noun pattern seen in 'get_job' and 'list_jobs'. Minor inconsistency.
With 4 tools covering sync/async extraction and job management, the count is well-scoped for a focused extraction service.
Covers core extraction workflows, but lacks a cancel job or delete job tool. Minor gap for a complete surface.
Maintenance
Related MCP Connectors
Web page to JSON fields (by JSON Schema) for agents. Pay per call in USDC on Base via x402.
Turn any website into structured JSON data matching your custom schema.
Verified websites as JSON commands for AI agents over plain curl or MCP.
Turn any public webpage into JSON with AI, save it as a live JSON API, and call it from your agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceStructured web context infrastructure for AI agents. Extract reliable schema-guided JSON from websites using Claude-powered parsing, Browserless fallback rendering, and MCP-native workflows.11MIT
- AlicenseNot gradedqualityBmaintenanceEnables users to extract structured data from specified web pages using a URL and natural-language prompt to describe the desired fields. It exposes this capability as an MCP tool for compatible clients.237 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables agents to extract structured data from web pages by supplying a URL and a natural-language prompt describing the desired data and fields. It exposes this capability as an MCP tool for compatible clients.237 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables extraction of structured data from web pages by specifying a URL and a prompt that describes the desired fields, making that capability available to MCP-compatible clients.237 npmMIT