mcpsurfr
Lets your AI agent search the web without API keys and read pages, returning only the passages that answer the question.
151 stars on GitHubby nkapila6License MITUpdated 22 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add mcpsurfr -- uvx mcpsurfr
What to fill in
| Name | What it is | Required |
|---|---|---|
MCPSURFR_MAX_CHARS | Text budget per call for the full-page tools, shared across pages (~4 chars per token). | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Search the web for the latest release notes of this library.
Do a deep research on this topic and cite your sources.
What it is
mcpsurfr searches the web through several engines with no API key, ranks the results on your own machine and fetches the best pages. It returns just the relevant passages, which uses far fewer tokens than whole pages. It also reads PDFs and goes through free APIs for sites such as Stack Overflow, Wikipedia, GitHub, Hacker News, PyPI and npm.
What it can do
search: returns only the relevant passagesrag_search_ddgs: returns full pages as textdeep_research: several search terms across engines, mergedread_url: read one page, optionally only the passages that match a query
When to use
- βΊWhen you want your agent to look up something newer than its training data
- βΊWhen you want a cited summary built from several searches
- βΊWhen you want an answer from a page without loading the whole page
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
keenable-searchLets your agent search the web and read pages without an API key, returning a text snippet for each result and full text for any known URL.wigoloHelps your agent use one local web toolkit for searching, fetching, crawling, caching, extraction, research, and page change checks, without API keys.wigoloHelps your agent search, fetch, crawl, and research the web through a local tool server, with results cached on your computer and no API keys needed.Frequently asked questions
Do I need an API key?
No. Searches go through the ddgs library, which asks several engines and skips blocked ones.
Is it free and open source?
Yes. The readme says it is MIT licensed.
What was it called before?
It was formerly mcp-local-rag. Old configs keep working.
What can it not do?
The readme says it does not handle JavaScript-only pages, OCR for scanned PDFs or image search.
How are results ranked?
A small MobileBERT model runs on your machine to re-rank results before pages are fetched.
Which clients was it tested with?
Claude Desktop, Claude Code, Cursor and Goose.
If it does not work
- βΊUse mcpsurfr@latest in the uvx args if you want new releases, since uvx keeps the first cached version.
- βΊWith Docker, pass settings with -e flags in args, because env does not reach the container.
- βΊGoogle often blocks searches, so the tool falls back to the auto engine on its own.
5 new skills a week. 1 minute to read.