# google-surf-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/HarimxChoi/google-surf-mcp  
**GitHub Stars:** 304  
**npm Downloads (last month):** 2114  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/google-surf-mcp

## Description
Google search via Playwright with a warm Chrome profile. No API key, no proxies.

## Tools
Capabilities this server exposes over MCP:

- **search** — Discover **new web sources** and read them in the same call with `extract_mode`.
- **scholar_search** — Find paper-specific Google Scholar metadata.
- **extract** — Read a web page, PDF, or repository from an **already-known URL**.
- **project_memory_search** — Local-only** search of indexed project knowledge; no live web search.
- **project_memory** — Manage projects, save research records, index user-approved local folders, and export graphs.
- **health** — Inspect search and local runtime status.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "google-surf-mcp": {
    "command": "npx",
    "args": ["-y","google-surf-mcp"]
  }
}
```

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/google-surf-mcp/readme_

