Give your AI agent any public webpage

ExtractAPI's MCP server exposes one extract tool. Without a key it performs bounded public HTTP fetching with redirect, SSRF, and response-size checks. With EXTRACTAPI_KEY it calls the authenticated browser-backed API for JavaScript rendering, waits, selectors, and structured output. Neither mode guarantees access to protected sites.

Get a free API key →
Without a keyBounded public fetch extraction with redirect, SSRF, and response-size checks.
With EXTRACTAPI_KEYPlaywright-backed rendering for SPAs, dynamic pages, CSS selectors, and waits.

Install from this repository

cd mcp
npm install
EXTRACTAPI_KEY=ext_yourkey node server.js

Claude / Cursor / Codex configuration

{
  "mcpServers": {
    "extractapi": {
      "command": "node",
      "args": ["/path/to/extractapi/mcp/server.js"],
      "env": { "EXTRACTAPI_KEY": "your-key" }
    }
  }
}

Keep the key in the MCP process environment. Never paste it into prompts, client-side JavaScript, or support messages. The repository's mcp/README.md contains additional stdio examples.

For a complete workflow, see the AI-agent extraction guide and the REST quickstart.