webfetch
Self-hosted web search for LLM agents: search -> fetch -> rank pipeline with semantic…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.3
- Listing updated
- 6 days ago
About webfetch
webfetch is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Self-hosted web search for LLM agents: search -> fetch -> rank pipeline with semantic caching
Install
Run in a terminal
claude mcp add webfetch --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env SERPER_API_KEY='<SERPER_API_KEY>' --env TAVILY_API_KEY='<TAVILY_API_KEY>' -- uvx webfetch-llmAdd to claude_desktop_config.json
{
"mcpServers": {
"webfetch": {
"command": "uvx",
"args": [
"webfetch-llm"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"webfetch": {
"command": "uvx",
"args": [
"webfetch-llm"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"webfetch": {
"type": "stdio",
"command": "uvx",
"args": [
"webfetch-llm"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"webfetch": {
"command": "uvx",
"args": [
"webfetch-llm"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"webfetch": {
"command": "uvx",
"args": [
"webfetch-llm"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"SERPER_API_KEY": "<SERPER_API_KEY>",
"TAVILY_API_KEY": "<TAVILY_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
BRAVE_API_KEYOptional - adds Brave to the multi-engine fusion. DDG works with no keys at all.SERPER_API_KEYOptional - adds Serper (Google results) to the multi-engine fusion.TAVILY_API_KEYOptional - adds Tavily to the multi-engine fusion.WEBFETCH_PROVIDEROptional - search strategy: multi (RRF fusion of available engines, default), fallback (priority failover), or a single engine name like ddg.
Pricing
Open source
webfetch FAQ
Is webfetch free?
Yes. webfetch is open source, so you can use and self-host it for free.
How do I add webfetch to Claude Code?
Run this command in your terminal: claude mcp add webfetch --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env SERPER_API_KEY='<SERPER_API_KEY>' --env TAVILY_API_KEY='<TAVILY_API_KEY>' -- uvx webfetch-llm
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.