← Back to directory
W

Webfetch

Community
Self-hosted web search with fetching, ranking, and semantic caching.
Category
Browser #24 of 104
Stars
★ 62 Popular
Transport
stdio (local process)
Runtime
Python
Credentials
No credential needed
License
MIT
Last commit
Tools
5
56FMRS · C

The README reports a benchmark on 50 SimpleQA questions and notes that the accuracy gap may be within noise at that sample size. Fresh searches have relatively high latency, the cache is single-process, and semantic caching misses some paraphrases.

Strongest · Documentation 16/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
11/20
Maintenance
8/20
Documentation
16/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes the search, fetch, caching, and error-handling flow, and says the handler does not raise exceptions. The supplied material contains no verifiable source, CI, tests, or MCP initialization and tool-list handshake evidence. The five claimed tools and their actual behavior therefore cannot be confirmed, so points are deducted.
Security and permissions 11/20
The manifest marks search-service keys as optional secret environment variables. The README says status output shows only whether a key is set, and discloses network search, fetching, and caching; it also labels model-saved content as unverified. The material does not show code-level credential protections, data-flow boundaries, or cache access controls, so points are deducted. No supplied evidence shows a red-line behavior.
Maintenance 8/20
The material shows an MIT license, version 0.1.3, and a PyPI-based update path, but provides no commit history, release cadence, maintainer response, or security-response channel. Stars and zero open issues do not establish sustained maintenance, so points are deducted.
Documentation 16/20
The README provides installation examples, configuration guidance, a feature and tool overview, benchmark methods and results, limitations, and troubleshooting guidance. Coverage is strong. The benchmark and implementation claims cannot be independently verified from the supplied material, and complete tool parameter definitions and security data-flow details are absent, so full marks are not justified.
Setup experience 13/20
The README gives a quick Claude Code install command, a manual installation path, optional dependencies and key configuration, and a status-check method. The material provides no verifiable cross-platform support or evidence of a successful real client connection. Under the static calibration, CI and committed tests covering key paths are also absent, so the score stays below 15.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkConnects to a database

Best for

  • Agent developers who want to run their own web-search pipeline and can accept roughly 10–40 seconds for a fresh search.
  • Personal or single-process use cases that need local extraction, ranking, and caching.

Not for

  • Use cases requiring sub-second search responses.
  • Deployments requiring a shared cache across processes or teams.
  • Use cases that cannot rely on a model to formulate queries and assess results.

Required permissions

  • Needs network access to configured search engines and pages being fetched; DDG works without credentials.
  • Needs read and write access to the local cache database, defaulting to `~/.webfetch/cache.db`.
  • Optional search-service credentials should be configured as secrets: BRAVE_API_KEY, SERPER_API_KEY, and TAVILY_API_KEY.

Risks and side effects

  • A fresh search typically takes 10–40 seconds; cache hits are instant.
  • Search-engine free quotas may run out, reducing the available engine set or retrieval quality.
  • Semantic caching can miss some paraphrased queries; model-contributed cached findings are labeled unverified.
  • The cache is designed for a single process; the README says the server checks PyPI for a newer release once per process.

Setup

Before you start

Runtime:Python

BRAVE_API_KEY optionalsecret Optional Brave API key from Brave; adds Brave to multi-engine search.
SERPER_API_KEY optionalsecret Optional Serper API key from Serper; adds Google results to multi-engine search.
TAVILY_API_KEY optionalsecret Optional Tavily API key from Tavily; adds Tavily to multi-engine search.
Other optional settings (2)
WEBFETCH_PROVIDER optional Optional search strategy: multi (default), fallback, or a single engine name such as ddg.
WEBFETCH_CACHE_DB optional Optional path for the cache database file; set it to the desired local path.

Register a stdio server in Claude Code or Claude Desktop with command uvx and arguments --from webfetch-llm@latest webfetch-mcp. Alternatively, run pip install "webfetch-llm[all]" and configure the server command as webfetch-mcp. DuckDuckGo requires no key; set BRAVE_API_KEY, SERPER_API_KEY, or TAVILY_API_KEY to add those search engines.

.mcp.json
{
  "mcpServers": {
    "webfetch": {
      "command": "uvx",
      "args": [
        "--from",
        "webfetch-llm@latest",
        "webfetch-mcp"
      ]
    }
  }
}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "webfetch": {
      "command": "uvx",
      "args": [
        "--from",
        "webfetch-llm@latest",
        "webfetch-mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.webfetch]
command = "uvx"
args = ["--from", "webfetch-llm@latest", "webfetch-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add webfetch -- uvx --from webfetch-llm@latest webfetch-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After connecting, confirm that the client lists all five webfetch MCP tools. Call status and check that DDG is ready and that the active search engine configuration is shown.

Troubleshooting

  1. Call status to check whether keys are detected, which engines are active, and which optional features are enabled.
  2. Make sure BRAVE_API_KEY, SERPER_API_KEY, or TAVILY_API_KEY is available when the server starts; DuckDuckGo needs no key.
  3. Check WEBFETCH_PROVIDER; the default `multi` fuses available engines, while `fallback` switches by priority.
  4. If semantic ranking, caching, or compression is unavailable, check that `webfetch-llm[all]` and its optional dependencies are installed.
  5. For JavaScript-dependent or access-restricted pages, check whether Playwright support is enabled.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search for the Federal Reserve's decision this week and provide sources.
  • Fetch this webpage and summarize its main points: https://example.com/article
  • Save the answer I just confirmed as a finding and mark it unverified.

Tools 5

web_search writes
Search the web and return query-ranked, compressed results; supports full results, freshness hints, and forced fresh searches.
fetch_url read-only
Fetch and extract the content of a specified URL.
save_finding writes
Store a model-contributed finding; it is marked unverified and can be bypassed with a forced fresh search.
status read-only
Inspect search engines, optional features, and cache status.
savings_report read-only
View session and lifetime usage counters and estimated savings.

Use cases

Provide LLM agents with web search, page fetching, and content extraction.
Compress retrieved content to reduce text sent into model context.
Cache repeated or semantically similar queries and inspect cache provenance.
Review search usage and estimated savings.

Supported clients

Claude Code
Claude Desktop

Listed from the project's documentation, not tested by this site.

Overview

Webfetch is a self-hosted web-search server for LLM agents. It combines multi-engine search, local page fetching and extraction, semantic ranking, and sentence-level compression. DuckDuckGo works without a key; optional Brave, Serper, and Tavily credentials add engines. It also provides exact and semantic caching with cache provenance.

Similar servers

Source revision 3399799ee137 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/webfetch.svg)](https://followmcp.com/en/servers/webfetch)