mcp-search-proxy hides 532 MCP tools (~179k tokens/turn) behind 4 tools via BM25

pisa_p · reddit · 2026-09-12

The author aggregates 21 MCP servers (532 tools) behind LiteLLM for OpenWebUI, but full schemas injected every turn cost 179k tokens even when no tool is needed.

Fix: mcp-search-proxy sits in between and exposes just 4 tools:

Results: same capability at 60x less context (2-3k tokens); 560 tools fit in 1.8k chars. Pure local BM25 — no embeddings, no LLM inside. Per-upstream sticky sessions keep a stateful browser server working across navigate/scan/snapshot.

When to use: worth it with 100+ tools where most turns need 0-1; not under 30 tools; lexical only, no semantic search. Docker Compose, MIT, open-sourced on GitHub.

Original post →

More from coding & agent

coding & agent channel →