MCP Slim: Local Embedding Search for MCP Tools Reduces Context Bloat

MCP Slim is a proxy tool that addresses MCP's context bloat problem by replacing full tool catalogs with three meta-tools: search, describe, and call. Instead of loading all tool definitions upfront, the LLM searches for what it needs, reducing context window usage by 96%.
Key Details
The tool specifically targets MCP's documented context bloat issue where connecting a few servers can consume 55,000+ tokens on tool definitions before the first message. MCP Slim's main differentiator from other proxies like mcp-compressor and MCProxy is its use of semantic search with a local MiniLM embedding model. This allows it to find relevant tools without keyword overlap - for example, "save a note" can find create_entities.
The tool runs fully offline and requires no API keys. It works with any stdio MCP client including Claude Desktop, Cursor, Cline, Windsurf, and Zed.
Installation and Setup
Installation is done via: npx mcp-slim init
The GitHub repository is available at: https://github.com/dopatools/mcp-slim
The author (/u/OpportunitySpare2441) has offered to answer questions about the architecture or tradeoffs.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Exploring LiveDocs: An AI-native Data Analysis Notebook
LiveDocs offers a reactive notebook environment allowing data teams to perform multi-step analyses and maintain analysis end-to-end with the help of an AI agent.

MCP Gateway for Secure Remote Access to Internal Tools
An open-source MCP gateway aggregates multiple MCP tool servers into a single connection, enabling secure access via Claude Desktop without exposing public endpoints. It uses OpenZiti/zrok for zero-trust networking and requires only one configuration entry with a share token.

Jobly: Contract Marketplace with AI-First Dispute Resolution and Community Voting
Jobly is a contract marketplace built with Next.js 14, TypeScript, and Supabase, featuring an escrow system with 10% provider bonds on proposals and a dispute pipeline that starts with AI evaluation using Claude, then allows appeals to community stake voting.

Claude Code Plugin for D&D Campaigns Using Markdown State Tracking
A Claude Code plugin uses markdown files to track campaign state and lets Claude act as Dungeon Master for solo D&D sessions. The system is free and open-source, requiring installation as a plugin followed by the /claude-dnd:new-campaign command to start.