Tool for Gemini CLI and Antigravity

Google's terminal agents, with a browser of their own.

One command adds UnblockingAPI's hosted MCP server to Gemini CLI; one config entry adds it to Antigravity CLI. Both then read pages that block bots or need JavaScript, and get JSON where a template covers the site.

500 free credits  ·  1 credit per successful fetch  ·  Open-source MCP server

terminal
gemini mcp add -s user --transport http \
  --header "Authorization: Bearer your_api_key_here" \
  unblockingapi https://mcp.unblockingapi.com/mcp

Live docs in the terminal

The agent reads current references and changelogs while it works on your code.

Past bot protection

Residential proxies and a real browser where a plain fetch gets blocked.

User-wide

Added at user scope, so it's in every project you open.

Terminal agents read the web through whatever tools they have. unblock_fetch gives them pages that render client-side or sit behind bot walls; find_templates turns known sites into JSON fields.

Add it to Gemini CLI

Gemini CLI with an API key

RecommendedURL + API key

Same hosted URL, authenticated by your key in a header.

gemini mcp add -s user --transport http \
  --header "Authorization: Bearer your_api_key_here" \
  unblockingapi https://mcp.unblockingapi.com/mcp
-s user writes to ~/.gemini/settings.json; leave it out to add it to this project only.

Gemini CLI, signing in

Sign in, no key

Paste the hosted URL and approve access. No key to copy, nothing to install.

~/.gemini/settings.json

{
  "mcpServers": {
    "unblockingapi": { "httpUrl": "https://mcp.unblockingapi.com/mcp" }
  }
}
Then run /mcp auth unblockingapi in Gemini CLI, sign in to UnblockingAPI in the browser and allow access.

Run it locally

Local server

Prefer to run the server yourself? It is open source and runs with npx (Node.js 18+).

~/.gemini/settings.json

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

Antigravity CLI

Add the server to Antigravity's MCP config (global: ~/.gemini/config/mcp_config.json; the MCP settings show the exact path). Remote servers need serverUrl. Antigravity's sign-in for custom servers is still unreliable, so use the key header.
{
  "mcpServers": {
    "unblockingapi": {
      "serverUrl": "https://mcp.unblockingapi.com/mcp",
      "headers": { "Authorization": "Bearer your_api_key_here" }
    }
  }
}

Try it in Gemini CLI

Ask this once you're connected. Gemini CLI should find the Google template with find_templates and come back with parsed results instead of HTML.
Use unblockingapi to get the Google results for "best espresso machine" as structured data, then summarise the top three.
No code

Want structured data instead of raw HTML?

unblock_fetch hands back the full rendered page. For clean fields instead - a price, a title, a whole list - build a template visually in the editor: load the page, tap what you want, done. No CSS selectors to write by hand.

Save it and it's a reusable API endpoint - same account, same key, same as the built-in templates. Build the structure once, then call it from your app - or your AI agent - forever.

Try the editor

No account needed to try it  ·  No credit card  ·  More about the editor

amazon.comSample data

Select one item. Similar items are detected automatically.

Website

Sony WH-1000XM5

4.6

$299.99

Bose QuietComfort

4.5

$249.00

Bang & Olufsen Beoplay

4

$1,714.99

Extracted JSON

{ "products": [
  { "name": "Sony WH-1000XM5", "price": 299.99, "currency": "USD", "rating": 4.6 },
  { "name": "Bose QuietComfort", "price": 249, "currency": "USD", "rating": 4.5 },
  { "name": "Bang & Olufsen Beoplay", "price": 1714.99, "currency": "USD", "rating": 4 }
] }

Tap one item, get every item - as an array.

Gemini CLI questions

Google replaced Gemini CLI with Antigravity CLI in June 2026. Both work: Gemini CLI takes the URL as httpUrl, Antigravity as serverUrl (it does not accept url or httpUrl).

/mcp auth opens a browser and listens on a localhost callback, so it needs a machine with a browser. On a remote or headless box, use the key header instead.

With the key header, the key is stored in Gemini CLI's config, so keep that file out of source control. Where sign-in is available it is the safer option: the app then holds only a revocable token, and you can disconnect it under Connected apps.

The MCP server is free and open source. Fetches run on your UnblockingAPI account: every successful fetch costs 1 credit and failed ones are free. New accounts get 500 free credits with no credit card, and plans make credits cheaper at volume. Looking up templates is free.

Three, all read-only. unblock_fetch reads any URL through rotating residential proxies and a real browser, picking a plain fetch or a browser per site by itself. It returns the page as Markdown (HTML on request), or JSON with a template. find_templates checks whether a published template covers a site. get_build_guide gives Gemini CLI the API reference and recipes when you build an app on the API. Details on the MCP server page.

The hosted server: nothing to install or update, and most apps sign in without a key. Run it locally with npx -y @unblockingapi/mcp if you prefer to keep the process on your machine - the tools and costs are the same.

Give Gemini CLI a real browser.

500 free credits, no credit card. Connect in under a minute.