Skip to main content

MCP server for scraping Google AI Overviews via a Chrome extension relay

Project description

google-ai-scraper

MCP server for scraping Google AI Overviews via a Chrome extension relay. No API keys needed — uses your own Chrome browser.

How it works

MCP Client (Claude Code, Cursor, etc.)
    ↕ stdio
MCP Server + embedded FastAPI (this package)
    ↕ HTTP polling
Chrome Extension (installed separately)
    → opens background tab on google.com
    → scrapes AI Overview → Markdown
    → posts result back

Install

# Via uvx (recommended)
uvx google-ai-scraper

# Or pip
pip install google-ai-scraper

Prerequisites

  1. Chrome with the Google AI Overview Scraper extension installed
  2. Python 3.10+

MCP Client Configuration

Claude Code

Add to your project's .mcp.json or run claude mcp add:

{
  "mcpServers": {
    "google-ai-scraper": {
      "command": "uvx",
      "args": ["google-ai-scraper"]
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "google-ai-scraper": {
      "command": "uvx",
      "args": ["google-ai-scraper"]
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "google-ai-scraper": {
      "command": "uvx",
      "args": ["google-ai-scraper"]
    }
  }
}

MCP Tools

Tool Params Description
search query Search Google AI Overview. Returns markdown + citations + thread_id
follow_up query, thread_id Continue a conversation in an existing thread
health Check server + extension connectivity

Options

google-ai-scraper [--sse] [--no-server] [--port PORT]
Flag Default Description
--sse off Use SSE transport instead of stdio
--no-server off Don't start embedded FastAPI (if running separately)
--port 15551 FastAPI server port

Environment Variables

Variable Default Description
GOOGLE_AI_SCRAPER_URL http://127.0.0.1:15551 FastAPI server URL

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_ai_scraper-0.2.2.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_ai_scraper-0.2.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file google_ai_scraper-0.2.2.tar.gz.

File metadata

  • Download URL: google_ai_scraper-0.2.2.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for google_ai_scraper-0.2.2.tar.gz
Algorithm Hash digest
SHA256 06440e99ad5eb21a205f8ba411be60143587c53d802f03adfea1bc564db35e7a
MD5 df5eb78aaa1b3b914dabe416cfce9c19
BLAKE2b-256 dec6da54dcd0090fde6d492fefdf78dc28e9883156d49e7ce04197d74f110ed3

See more details on using hashes here.

File details

Details for the file google_ai_scraper-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: google_ai_scraper-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for google_ai_scraper-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1faaf79c22e5a2aa9db842f3ee2c54a9a9f72619bfca60c6b9b7c9e618083b6
MD5 eba12a4d9a2ba25d37080fc939bd2040
BLAKE2b-256 36d223d7994b3feb8ff8a4c1fd4d29a2d55ef65bbbf2d5cddce8561afe995155

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page