Google Surf MCP logo

Google Surf MCP

Searches Google, extracts web and PDF content, and builds local project memory without requiring an API key.

Install Google Surf MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "google-surf-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-surf-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y google-surf-mcp

ntimes/linux-x64/native/libonnxruntime_providers_cuda.so to /tmp/allmcps-pre/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_cuda.so npm error Killed npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.2 npm notice To update run: npm install -g npm@12.2.2 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-16T15_54_16_153Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

google-surf-mcp searches Google through a dedicated Chrome profile and Playwright-compatible browser automation, then extracts content from web pages and PDFs. It can store searches, documents, papers, codebases, and research history in a project-scoped local knowledge graph for later retrieval. Use it for API-key-free web research, academic discovery, document extraction, or repeatable project research that benefits from provenance and cross-session memory. SearchApi is available as an optional primary provider or fallback.

Use cases

  • Search Google without configuring a search API key
  • Extract readable text and metadata from web pages and PDFs
  • Find papers and retain their metadata in project memory
  • Search stored research alongside fresh web results
  • Analyze and export a local project knowledge graph

Key features

  • API-key-free Google search through a dedicated Chrome profile
  • HTML and PDF extraction with metadata and body text
  • Project-scoped local knowledge graph and research memory
  • Hybrid retrieval across web, papers, code, and stored content
  • Structured codebase search with symbols, imports, and calls
  • Graph analysis and export in several formats

Tools6

What Google Surf MCP lets your agent do. Expand a tool for its parameters.

Self-reported~115 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

33/33 checks healthy over the last 99d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · google-surf-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars301Stargazers on the source repository.
npm downloads1.7kPackage downloads in the last 30 days.
Last commit10d agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Tools exposed6Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Google Surf MCP works

What google-surf-mcp does

google-surf-mcp exposes Google web search, parallel search, academic search, document extraction, project-memory retrieval, project-memory management, and health checks through MCP. Browser-based Google search is the default and does not require an API key. SearchApi can be configured as an optional primary provider or fallback.

Search and extraction results can become part of a local, project-scoped knowledge graph. Stored material includes web sources, papers, codebases, session intent, plans, experiments, failures, and decisions supplied by the MCP host. Projects are isolated by default, while selected projects can be searched together when verifiable links connect matching entities.

How it works

The search path uses system Chrome with CDP and a dedicated logged-out profile. The profile is separate from the user's normal Chrome profile. Playwright compatibility and recovery paths handle browser differences, CAPTCHA detection, and parser fallback. Google results are parsed with multiple strategies, with sponsored blocks and knowledge panels removed.

Research mode is enabled by default. In that mode, searches and extracted content are written to local storage and used as project memory. Retrieval can combine live web results, exact matches, BM25, vector search, code search, and graph-based candidates through reciprocal rank fusion and a shared reranker. Extracted content becomes active retrieval evidence, while unread search results remain metadata.

With research mode disabled using SURF_RESEARCH=false, search and extraction work without opening the database or graph sidecar. Project-memory tools are not registered in that mode, and live search uses an in-memory reranker.

Setup and configuration

The package requires Node.js 22.12.0 or newer. Browser mode also requires Google Chrome or Chromium. Start the server through an MCP client with:

Terminal
npx google-surf-mcp

The first tool call bootstraps the warm browser profile automatically. If that process fails, run npm run bootstrap. A local installation is also available by cloning the repository and running npm install.

Browser and timezone paths can be adjusted during bootstrap with CHROME_PATH and SURF_TZ. Set SURF_RESEARCH=false to disable local research storage and graph access. SearchApi remains optional because browser-based Google search works without an API key.

Tools and capabilities

The default tool set includes:

  • search for Google web search and optional abstracts or full bodies.
  • search_parallel for parallel web retrieval.
  • scholar_search for paper-focused search and metadata.
  • extract for HTML and PDF content, including available titles, authors, DOI values, publication metadata, and body text.
  • project_memory_search for retrieving stored project knowledge.
  • project_memory for managing, analyzing, or exporting local project memory.
  • health for service health information.

The local knowledge system supports typed entities and relations, evidence paths, code symbols and call relationships, PageRank, personalized PageRank, connected components, Louvain communities, and exports to HTML, Graphviz, D3 JSON, and Neo4j import formats. Local projects and gated GitHub sparse downloads can provide code for structured codebase search.

Limitations and notes

Google search depends on Chrome or Chromium and variable network responses. CAPTCHA handling and parser recovery are included, but browser environments can still affect results. The embedded storage uses local SurrealDB on RocksDB; research mode opens that storage and its graph sidecar. Projects remain isolated unless explicitly selected for combined search and linked through verifiable identifiers such as DOI or repository URLs.

An optional Codex hook can rerank oversized Bash output using source-order, exact, and BM25 ranking with RRF. It does not open the Google Surf database or browser and does not store command output. Install it separately with the package's hooks install --host codex command.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Google Surf MCP

google-surf-mcp is an MCP server that connects AI hosts to Google Search through system Chrome and Playwright, with optional SearchApi fallback, and provides web/paper search, parallel search, document extraction, project-memory search, memory management, and health tools. It stores research locally when research mode is enabled.

Install it by running `npx google-surf-mcp` from your MCP client configuration. The package requires Node.js 22.12.0 or newer, and browser mode requires Google Chrome or Chromium. The first tool call bootstraps the warm profile; `npm run bootstrap` provides a manual fallback.

No, browser-based Google search works without an API key. SearchApi can be configured as an optional primary provider or fallback, but it is not required for the default Chrome-based search path.

Yes, Codex is supported for the optional output-protection hook. Install it with `npx -y google-surf-mcp@latest hooks install --host codex`, then restart Codex and review the hook definitions through `/hooks`. The hook reranks oversized Bash output without opening the server database or browser.

Disable project memory by setting `SURF_RESEARCH=false`. Search and extraction continue without opening the local database or graph sidecar, but the project-memory tools are not registered and live results use an in-memory reranker.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGoogle Surf MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/google-surf-mcp?style=directory)](https://allmcps.com/mcp/google-surf-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/google-surf-mcp"><img src="https://allmcps.com/api/badge/google-surf-mcp?style=directory" alt="Google Surf MCP on AllMCPs" /></a>