MCPFast / Tools / Intelligent MCP router for Claude Desktop with context compression
An MCP router for Claude Desktop using Groq and OpenRouter for context compression, featuring a circuit breaker and SHA-256 cache.
View on GitHub→This MCP router integrates with Claude Desktop, leveraging Groq and OpenRouter to provide advanced context management and efficient processing. Designed for developers, it enhances the capabilities of Claude Desktop by implementing intelligent routing and context compression, ensuring faster and more cost-effective interactions with large language models.
The Intelligent MCP Router acts as an intermediary between Claude Desktop and various LLM providers. It intelligently routes requests, prioritizing speed and cost-efficiency by utilizing Groq's low-latency inference and OpenRouter's access to multiple models. A key function is context compression, which reduces the token count of conversational history before sending it to the LLM, significantly lowering API costs and improving response times. It also incorporates a circuit breaker pattern to gracefully handle API failures and a SHA-256 cache for storing and retrieving previously processed responses, further optimizing performance.
This tool is specifically designed for AI developers and engineers working with Claude Desktop. It is ideal for those looking to: