Self-hosted web search for LLM agents: search -> fetch -> rank pipeline with semantic caching
Connect Runs on your machine
claude mcp add webfetch -e BRAVE_API_KEY=<BRAVE_API_KEY> -e SERPER_API_KEY=<SERPER_API_KEY> -e TAVILY_API_KEY=<TAVILY_API_KEY> -e WEBFETCH_PROVIDER=<WEBFETCH_PROVIDER> -- uvx webfetch-llm==0.1.3
{
"mcpServers": {
"webfetch": {
"command": "uvx",
"args": [
"webfetch-llm==0.1.3"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>",
"WEBFETCH_PROVIDER": "<WEBFETCH_PROVIDER>"
}
}
}
}
{
"mcpServers": {
"webfetch": {
"command": "uvx",
"args": [
"webfetch-llm==0.1.3"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>",
"WEBFETCH_PROVIDER": "<WEBFETCH_PROVIDER>"
}
}
}
}
{
"servers": {
"webfetch": {
"type": "stdio",
"command": "uvx",
"args": [
"webfetch-llm==0.1.3"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>",
"WEBFETCH_PROVIDER": "<WEBFETCH_PROVIDER>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
BRAVE_API_KEYOptional, secret | Optional - adds Brave to the multi-engine fusion. DDG works with no keys at all. |
SERPER_API_KEYOptional, secret | Optional - adds Serper (Google results) to the multi-engine fusion. |
TAVILY_API_KEYOptional, secret | Optional - adds Tavily to the multi-engine fusion. |
WEBFETCH_PROVIDEROptional | Optional - search strategy: multi (RRF fusion of available engines, default), fallback (priority failover), or a single engine name like ddg. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 19 Jul 2026 |
| Last updated | 19 Jul 2026 |
| Registry name | io.github.firish/webfetch |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
