Skip to content
MCP server

mcpsurfr

Local multi-engine web search with on-device re-ranking and no API keys

Runs locally

mcpsurfr is an MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Platforms
CLI, Self-hosted
Runs
Locally
Version
1.2.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcpsurfr -- uvx mcpsurfr

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

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

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

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

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcpsurfr -- uvx mcpsurfr

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcpsurfr": {
      "command": "uvx",
      "args": [
        "mcpsurfr"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

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

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

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

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MCPSURFR_MAX_CHARSText budget per call for the full-page tools, shared across pages (~4 chars per token).
  • MCPSURFR_MAX_CHARSText budget per call for the full-page tools, shared across pages (~4 chars per token).

About mcpsurfr

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.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

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.

searchName suggests: reads
Returns only relevant passages for a query.
rag_search_ddgsName suggests: reads
Returns full pages as text from a chosen backend.
deep_research
Searches several terms across backends, merged and de-duplicated.
read_urlName suggests: reads
Reads one page, optionally returning only passages for a query.

What it does

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

Pricing

Pricing unknown

No API keys needed; licence not published

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

How AIPoweredBot checks servers