Unblockingapi MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Unblockingapi MCP listing page.

@unblockingapi/mcp

Official Model Context Protocol server and Claude Code plugin for UnblockingAPI. Gives AI apps (Claude, Cursor, VS Code, Lovable, Replit, …) a real browser behind rotating residential proxies: fetch bot-protected and JavaScript-heavy pages, and get structured JSON for popular sites UnblockingAPI keeps a parser for.

Hosted at https://mcp.unblockingapi.com/mcp — add it as a connector and sign in, no install. Or run it locally with npx -y @unblockingapi/mcp.

Tools

ToolWhat it doesCost
unblock_fetchFetch public web pages that block simple requests, and get clean Markdown or HTML back. Picks plain HTTP or a real browser per site by itself; pass parse: true to get structured JSON for popular sites. Optionally narrowed with a CSS select.1 credit per success; re-reading the same fetch is free
get_build_guideGuides for building apps on the REST API with plain HTTP: API reference, structured data with parse, getting complete pages, and recipes (rank tracker, listings aggregator, price monitor).free

Failed requests are free. The server's instructions, tool descriptions and the notes in each response steer the agent: let the API choose plain fetch or browser, ask for parse: true when it wants data from a known site, scroll or wait when content is missing, and read the build guide before writing code that calls the API.

Structured data

UnblockingAPI keeps parsers for popular sites (search engines, marketplaces, …) and coverage grows. Pass parse: true and the result is JSON whenever one covers the URL; there is nothing to look up first.

Code
unblock_fetch(url: "https://www.google.com/search?q=…", parse: true) → JSON results
unblock_fetch(url: "https://some-small-shop.example/", parse: true)  → the page, with parse: "unavailable"

When no parser covers the URL, the page comes back as usual with parse: "unavailable" in the metadata; when a parser fails because the site changed, the page comes back with parse_error: true rather than an error. parse never changes how the page is fetched or what it costs.

API endpoints behind the tools

ToolCallsKey
unblock_fetchPOST https://api.unblockingapi.com/unblock (JSON body; parse: true asks for structured data)X-Api-Key
get_build_guidenothing: the guides ship in the package (guides/)none

Removed tools

Older versions, and listings copied from them, mention tools that no longer exist. Installs of those versions keep working.

Old toolRemoved inUse instead
find_templates (and unblock_fetch's template argument)0.10.0unblock_fetch(url, parse: true)
google_search0.4.0unblock_fetch(url: "https://www.google.com/search?q=…", parse: true)
list_templates0.4.0unblock_fetch(url, parse: true)
idealista_property0.3.0unblock_fetch(url, parse: true)
ahrefs_website_authoritybefore 0.2.0 (never on npm)unblock_fetch(url)

Setup

You need an UnblockingAPI account — sign up at https://unblockingapi.com (500 free credits once you confirm your email, no card). Then pick one:

  1. Hosted server — paste one URL into your app and sign in. Nothing to install, no key to copy. Recommended for most apps.
  2. Claude Code plugin — the hosted server plus a skill and a setup command, signed in with your account.
  3. Run it locally — the same server over stdio with npx, for those who prefer to run it themselves.

Hosted server

Code
https://mcp.unblockingapi.com/mcp

Streamable HTTP. Apps that support MCP sign-in (OAuth) only need the URL: they open an UnblockingAPI page where you sign in and click Allow. The app never sees your key, and you can disconnect it any time under Settings → Connected apps at app.unblockingapi.com. Apps without sign-in send your key as Authorization: Bearer <key> (or X-Api-Key: <key>).

AppHowGuide
Claude.ai, Claude DesktopCustomize → Connectors → + Add → Add custom connector, paste the URL, Connectunblockingapi.com/tools/claude
CursorOne-click link, or "url" in ~/.cursor/mcp.json, then Login under Settings → MCPdocs/cursor-setup.md · site
VS Code (Copilot)code --add-mcp '{"name":"unblockingapi","type":"http","url":"https://mcp.unblockingapi.com/mcp"}', sign in on first usesite
Windsurf"serverUrl" in the MCP config (Cascade → MCPs → Open MCP config file)site
LovableConnectors → + → MCP server, OAuthsite
ReplitIntegrations → MCP Servers → + Add MCP server, Test & savesite
BoltConnectors → Manage connectors → Custom MCP server, transport HTTP, MCP OAuthsite
Zed"url" (+ "headers") under context_serverssite
ClineRemote Servers tab, "type": "streamableHttp" + key headersite
Gemini CLI / Antigravitygemini mcp add --transport http … / "serverUrl" + key headersite
Claude APImcp_servers entry, your key as authorization_tokensite
n8nMCP Client Tool, HTTP Streamable, Bearer Authsite

With a key instead of signing in:

bash
# Claude Code
claude mcp add --transport http unblockingapi https://mcp.unblockingapi.com/mcp \
  --header "Authorization: Bearer your_api_key_here"
config.json
{
  "mcpServers": {
    "unblockingapi": {
      "url": "https://mcp.unblockingapi.com/mcp",
      "headers": { "Authorization": "Bearer your_api_key_here" }
    }
  }
}

(Some apps name the URL key serverUrl or httpUrl; VS Code uses servers with "type": "http".) Agent frameworks: see Vercel AI SDK and LangChain.

Claude Code plugin

The plugin connects Claude Code to the hosted server, signed in with your account, and adds skills for reading pages and building on the API. In Claude Code:

Code
/plugin marketplace add unblockingapi/mcp
/plugin install unblockingapi@unblockingapi-plugins

Then run /mcp, pick unblockingapi and choose Authenticate to sign in. New to this? Run /unblockingapi:setup and Claude walks you through it, then checks that it works. Full walkthrough: docs/claude-setup.md.

Run it locally (non-Claude MCP clients)

The same server over stdio for Cursor, VS Code, Claude Desktop's local config, and other MCP hosts. Needs Node.js 18+ and your key in UNBLOCKINGAPI_KEY. Claude Code should use the plugin (hosted OAuth) instead of this env-var path.

No key yet? Leave UNBLOCKINGAPI_KEY out. The server then offers a sign_in tool: the agent gives you a link and a code, you sign in or create an account and approve, and the key is saved to ~/.config/unblockingapi/credentials for next time (it never passes through the chat). Or run npx @unblockingapi/mcp login in a terminal first.

bash
# VS Code
code --add-mcp '{"name":"unblockingapi","command":"npx","args":["-y","@unblockingapi/mcp"],"env":{"UNBLOCKINGAPI_KEY":"your_api_key_here"}}'

Cursor (~/.cursor/mcp.json), Claude Desktop (claude_desktop_config.json; restart after editing) and most other apps take this block:

config.json
{
  "mcpServers": {
    "unblockingapi": {
      "command": "npx",
      "args": ["-y", "@unblockingapi/mcp"],
      "env": { "UNBLOCKINGAPI_KEY": "your_api_key_here" }
    }
  }
}

Agentic clients that edit their own config will also set it up if you ask: "Install the @unblockingapi/mcp MCP server. My API key is sk_xxx. It runs over stdio via npx -y @unblockingapi/mcp and needs the env var UNBLOCKINGAPI_KEY."

Environment variables (local server)

VarRequiredDefaultPurpose
UNBLOCKINGAPI_KEYno—Your API key. Optional for stdio: without it, use the sign_in tool or npx @unblockingapi/mcp login.
UNBLOCKINGAPI_BASE_URLnohttps://api.unblockingapi.comOverride the API base URL.
UNBLOCKINGAPI_TIMEOUT_MSno180000Per-request timeout. A plain fetch that falls back to a browser can take ~170 s.

Usage

Once connected, ask your agent things like:

  • "Read https://example.com/pricing and summarise the plans." → unblock_fetch(url) — the API renders it in a browser if the site needs one
  • "Get the Google results for 'wikipedia' as JSON." → unblock_fetch(url: "https://www.google.com/search?q=wikipedia", parse: true)
  • "Pull this listing as structured data." → unblock_fetch(url, parse: true)

unblock_fetch parameters

ParamTypeNotes
urlstring, requiredhttp(s) only; media/binary files are rejected.
renderbooleanOmit to let the API decide (plain first, browser when blocked or a JS shell; learned per site). true always renders, false never.
locationstring2-letter country code for the proxy (us, gb, de, …). An unsupported one is refused with the list.
wait_forstringImplies a browser. stable (default), domcontentloaded, networkidle, or a CSS selector to wait for.
wait_stateenumWith a selector wait_for: visible (default), nonempty, hidden, stable.
scroll_steps0–10Implies a browser. Scroll this many times before the readiness check (lazy content).
wait_min_ms0–10000Implies a browser. Minimum delay after navigation.
settle_ms0–25000Implies a browser. Ceiling on the settle wait (default 5000) — capture happens as soon as the DOM is quiet for 500 ms.
wait_rulesarrayImplies a browser. [{if: "#consent", then: "#results"}] — first visible if wins and its then replaces wait_for.
detect_ms0–25000Implies a browser. How long to probe wait_rules (default 800).
max_age0–300Accept a cached copy this many seconds old. Hits return in ms and carry cached: true.
parsebooleanStructured JSON when UnblockingAPI keeps a parser for the site; otherwise the page as usual with parse: "unavailable". Never changes the fetch or its cost.
formatmarkdown | htmlHow the page comes back (default markdown: a fraction of the size). A parse result is always JSON.
selectstringCSS selector: return only the matching elements, in format.
freshbooleanFetch again even if this exact fetch was made in the last 10 minutes. By default that copy is reused — so re-reading it with another select or format costs nothing.
max_charsintegerCap on returned body (default 80000, max 140000), after format/select. Longer bodies are cut with a note.

Responses start with a JSON metadata block (job_id, status, http_response_code, response_time_ms, render, render_reason, readiness, location, cached, api_name, parse, parse_error, truncated, …), then notes on what to try next (scroll for more, a narrower select, …), then --- and the Markdown, HTML or JSON body. API errors (bad key, out of credits, invalid params, concurrency limit) come back as clear tool errors.

Full API reference: https://unblockingapi.com/docs.

Development

Terminal
npm install
npm run dev        # tsx watch
npm run typecheck  # tsc --noEmit
npm run build      # compile to dist/
npm run smoke      # drive the built server over stdio (add UNBLOCKINGAPI_KEY for live fetches)
npm run smoke:http # the same over HTTP against dist/http.js (or MCP_URL=https://mcp.unblockingapi.com/mcp)
npm run start:http # the hosted server on :8080 (PORT)

Repository layout: src/ (server.ts tools, index.ts stdio entry, http.ts hosted entry, client.ts API client), Dockerfile (the hosted image, deployed to mcp.unblockingapi.com by .github/workflows/deploy.yml), .claude-plugin/ (Claude Code marketplace manifest), plugins/claude/ (the Claude Code plugin: hosted server, skill, setup command), .cursor-plugin/ and plugins/cursor/ (the Cursor plugin), docs/ (setup guides).

License

MIT

@unblockingapi/mcp MCP server – quality and maintenance score on Glama

@unblockingapi/mcp MCP server – quality and maintenance score on Glama