Agent♥︎Age
Catalog

webfetch

Official

by firish · Python

Self-hosted web search for LLM agents: search -> fetch -> rank pipeline with semantic caching

io.github.firish/webfetch MCP Server

The io.github.firish/webfetch MCP server provides a self-hosted web search tool for LLM agents. It implements a search → fetch → rank pipeline with semantic caching and exposes the functionality as a web_search tool that models can call. The pipeline includes page fetching and extraction, semantic reranking, and sentence-level compression.

🛠️ Key Features

  • Search → fetch → rank pipeline
  • Multi-engine search
  • Page fetching and extraction
  • Semantic reranking
  • Sentence-level compression
  • Semantic caching
  • Exposed as web_search tool

🚀 Use Cases

  • Running web search for LLM agents locally (self-hosted)
  • Reducing retrieved content that enters the model context window

⚡ Developer Benefits

  • Reduced input tokens and lower cost relative to hosted web_search
  • Maintains accuracy while avoiding repeated hosted billing for retrieved content tokens

⚠️ Limitations

  • Includes claims about performance and cost (“up to 8x fewer input tokens and 3x lower cost… at the same accuracy”) without further quantified details in the provided data

Topics

agentsanthropicllmmcpopenairagsemantic-cacheweb-searchagent-memoryagent-skillsagentic-workflowllm-toolsnlisearch-algorithmssearch-api

Related servers

More in Search & Web