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
- Chrome with the Google AI Overview Scraper extension installed
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file google_ai_scraper-0.2.0.tar.gz.
File metadata
- Download URL: google_ai_scraper-0.2.0.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b73c3ecddab93da3efda3924135fd724938b1afa032416ed6ade24d96e5ec0a
|
|
| MD5 |
e868e3a0b760c581584359f7dfb68815
|
|
| BLAKE2b-256 |
ee83f6811e479de424ce1d05b2ba599ba88a6efed9ac17b71c623badd453b469
|
File details
Details for the file google_ai_scraper-0.2.0-py3-none-any.whl.
File metadata
- Download URL: google_ai_scraper-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8e8a9e9fbc48e2f76641a80578c7722b48c0a85a665a81b6341567eac1a921a
|
|
| MD5 |
567fea3be6ff9882761122985cbea024
|
|
| BLAKE2b-256 |
dfa14643ea5ae6fb3a4dfa1649a0f7dd77a036c5deb8b1f8442ddfec84c140bc
|