# Groundhog

> Groundhog is an open-source MCP server for web search and scraping. Web search, page reading and research for agents, with hidden text stripped and reported. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/dmytrome/groundhog
- **MCP Registry name:** io.github.dmytrome/groundhog-mcp
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-23

## About

Groundhog reads pages through a real Chrome driven over raw CDP rather than a plain fetcher, so it can open pages that block simple requests. Before the text reaches the model it removes content a human could not see, such as display:none, zero-size boxes or tiny fonts, and lists each removal in a `threats` field so the agent knows something was dropped.

Every result carries a provenance receipt: a SHA-256 of the extracted content, the canonical URL, language, word count and the author and date when the page declares them. In the author's benchmark of 28 pages with hidden text, Groundhog contained all 28 and reported 25, while the other fetch layers it compared reported none. The README calls hidden-text detection a strong heuristic, not a proof.

It starts a headless Chrome in its own profile, so your tabs and logins are untouched, and an SSRF guard checks every request. There is no model and no API key; `research` returns extracts and your agent does the synthesis. Optional modes use a hardened browser container or Ego Lite.

## Features

- **Hidden text removal:** Strips text no human could see and reports each removal.
- **Provenance receipts:** Each source gets a content hash, canonical URL, language and word count.
- **Real browser reads:** Drives Chrome over CDP so pages that block fetchers can still be read.
- **SSRF guard:** Checks every document request, redirects and frames included, with per-domain rate limits.
- **Query-ranked passages:** read_url can return ranked matching passages within a token budget.
- **PDF support:** PDFs come back page by page with text fenced.
- **Read-only tools:** All four tools are annotated readOnlyHint.

## Good for

- Give an agent clean Markdown from pages that block simple fetchers
- Detect prompt-injection text hidden in a page before it is read
- Research a topic and keep source hashes for later citation
- Pull the relevant passages of a long page within a token limit
- Read PDFs up to 100 pages from the web

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add groundhog-mcp -- uvx groundhog-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add groundhog-mcp -- uvx groundhog-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.groundhog-mcp]
command = "uvx"
args = ["groundhog-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user groundhog-mcp uvx -- groundhog-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "groundhog-mcp": {
      "command": "uvx",
      "args": [
        "groundhog-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 4 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `read_url` (name suggests: reads): Fetch a URL and return clean Markdown with title, status, threats and provenance.
- `search` (name suggests: reads): Search the web.
- `research`: Return extracts from several sources for the agent to synthesise.
- `status` (name suggests: reads): Report browser and server state.

## FAQ

### Does Groundhog need an API key?

No. The README says there is no model and no API key; your agent does the synthesis.

### Does Groundhog touch my own browser?

By default it starts its own headless Chrome profile at ~/.groundhog/chrome. The optional Ego Lite mode reads pages with your signed-in sessions.

### How do I install Groundhog?

Run claude mcp add groundhog -- uvx groundhog-mcp, or add the same uvx command to Claude Desktop, Cursor or Windsurf.

### Is hidden-text detection guaranteed?

No. The README describes it as a strong heuristic and lists its limits.

### Is Groundhog free?

Yes. Groundhog is open source, so you can use and self-host it for free.

### How do I add Groundhog to Claude Code?

Run this command in your terminal: claude mcp add groundhog-mcp -- uvx groundhog-mcp

### What are the best alternatives to Groundhog?

The closest alternatives to Groundhog are REA, Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API and AiSOC.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Douyin_TikTok_Download_API](https://ai-powered.com/mcp/douyin-tiktok-download-api): Douyin_TikTok_Download_API is an open-source MCP server for web search and scraping.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/groundhog
