# mcpsurfr

> mcpsurfr is an MCP server for web search and scraping. Local multi-engine web search with on-device re-ranking and no API keys. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/nkapila6/mcpsurfr
- **MCP Registry name:** io.github.nkapila6/mcpsurfr
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-23

## About

Searches fan out through the ddgs library across several engines without any keys, then a small MobileBERT model running on plain numpy ranks results so that only the best pages are fetched. Pages are reduced to main text with code blocks and tables intact, PDFs are read from their text layer for up to 50 pages, and sites publishing llms.txt markdown copies are read from those.

The default search tool returns only the passages that answer the question, roughly a tenth of the tokens of full pages. Stack Exchange, Wikipedia, GitHub, Hacker News, PyPI, npm and crates.io go through their free APIs instead of scraping. Results list skipped pages with reasons and show warnings, and searches are cached for five minutes. It cannot read JavaScript-only pages, run OCR on scans or search images.

It was formerly called mcp-local-rag and installs via uvx or Docker.

## Features

- **Keyless search:** Queries several engines through ddgs with no API keys.
- **Local re-ranking:** MobileBERT on numpy picks the best pages.
- **Passage extraction:** Returns only paragraphs that answer the question.
- **API-backed sites:** Uses free APIs for Stack Exchange, Wikipedia, GitHub and more.
- **Skipped-page reporting:** Lists what was left out and why.
- **Five-minute cache:** Repeat searches reuse fetched pages.
- **Recency and region filters:** Limit by day, week, month or year and region.

## Good for

- Research a question across several engines
- Pull an answer from a Stack Overflow thread
- Read a PDF's text layer
- Find recent news with dates
- Check a package's latest version and README

## Install

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

```sh
claude mcp add mcpsurfr -- uvx mcpsurfr
```

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": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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 mcpsurfr -- uvx mcpsurfr
```

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

```toml
[mcp_servers.mcpsurfr]
command = "uvx"
args = ["mcpsurfr"]
```

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
```

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

- `search` (name suggests: reads): Returns only relevant passages for a query.
- `rag_search_ddgs` (name suggests: reads): Returns full pages as text from a chosen backend.
- `deep_research`: Searches several terms across backends, merged and de-duplicated.
- `read_url` (name suggests: reads): Reads one page, optionally returning only passages for a query.

## FAQ

### Do I need an API key?

No.

### How do I install mcpsurfr?

With uvx mcpsurfr or the ghcr.io/nkapila6/mcpsurfr Docker image.

### What can mcpsurfr not read?

JavaScript-only pages, scanned PDFs needing OCR and images.

### What was mcpsurfr called before?

mcp-local-rag.

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

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

### What are the best alternatives to mcpsurfr?

The closest alternatives to mcpsurfr are Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API, SearXNG Search and acrawl.

## Where this comes from

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

## Alternatives

- [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.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [acrawl](https://ai-powered.com/mcp/acrawl): acrawl is an open-source MCP server for browser automation.
- [machine_internet](https://ai-powered.com/mcp/machine-internet): machine_internet is an open-source MCP server for web search and scraping.
- [Google Maps Reviews Scraper — New Review Alerts](https://ai-powered.com/mcp/google-maps-reviews-scraper-new-review-alerts): Google Maps Reviews Scraper — New Review Alerts is a paid MCP server for web search and scraping.
- [OnTheMarket Property Scraper — New Listings & Price-Drop Alerts](https://ai-powered.com/mcp/onthemarket-property-scraper-new-listings-and-price-drop-ale): OnTheMarket Property Scraper — New Listings & Price-Drop Alerts is a paid MCP server for web search and scraping.

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