AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
LLM Infra/
mcp-compress-router
mcp-compress-router logo

mcp-compress-router

Active·★ 21·MIT·Updated 2026-10-10

MCP Compress Router acts as a unified router for multiple Model Context Protocol (MCP) servers, significantly reducing token usage and costs by compressing all tool definitions into a compact representation. It presents coding agents with a simplified interface of just two tools (`get_tool_schema`, `invoke_tool`), optimizing LLM interactions.

#MCP#Token Optimization#LLM Tooling#API Gateway#Cost Reduction#Agent Development#Tool Routing#Model Context Protocol
$ Install
$ npx mcp-compress-router@latest add github --description "GitHub API tools" -- npx -y @modelcontextprotocol/server-github
↗ Visit site★ GitHub
01

Features

01Compresses multiple MCP servers into a single router MCP.
02Achieves up to 99% token cost reduction for LLM interactions.
03Provides dynamic tool schema retrieval and invocation via a compact interface.
04Supports configuration of downstream stdio and HTTP MCP servers, including OAuth.
05Allows fine-grained control over exposed tools and compression levels per server.
02

Compatibility

Node.js
Runtime
Verified via docs
Opencode
Agent
Verified via docs
Claude Code
Agent
Verified via docs
Codex
Agent
Verified via docs
GitHub Copilot
Agent
Verified via docs
03

Quick start

1
$ npx mcp-compress-router@latest add github --description "GitHub API tools" -- npx -y @modelcontextprotocol/server-github
04

Use cases

↳Cost-effectively connect multiple coding agents to a broad set of tools.
↳Reduce token usage and API costs in LLM-driven development workflows.
↳Centralize management and routing of tools from various Model Context Protocol servers.
↳Optimize LLM performance by providing a highly compressed tool catalog.
05

Alternatives

⚡Top VS:
VSconduit★235→VStoolport★235→VSMCP★892→VSagent-harness-generator★713→
conduit logo
conduit★ 235
Local MCP gateway that cuts your agent's tool-token overhead ~90%. Every MCP server's tools collapse to 3 meta-tools the agent searches on demand. Measured: 97% less per request, same results. Keys in your OS keychain, no cloud.
VSCompare→
toolport logo
toolport★ 235
Local-first MCP gateway. One port for every tool and every AI client: lazy discovery (~90% token savings), tool integrity + quarantine, secrets in the OS keychain.
VSCompare→
MCP logo
MCP★ 892
Official Jina AI Remote MCP Server
VSCompare→
agent-harness-generator logo
agent-harness-generator★ 713
🛠️ The meta-harness for AI agents — scaffold your own focused, branded agent harness with its own npx CLI, MCP server, memory, learning loop, and witness-signed releases. Works with Claude Code, Codex, pi.dev, Hermes, OpenClaw, and RVM (hardware-isolated sandbox).
VSCompare→
codex-pooler logo
codex-pooler★ 233
🤖 Pool and route Codex accounts behind one Gateway
VSCompare→
fastmcp-ts logo
fastmcp-ts★ 78
🏎️ The official FastMCP TypeScript library - build MCP servers, clients, and apps... fast! 🏎️
VSCompare→
tachyon logo
tachyon★ 37
💫 Tachyon MCP Runtime for Java and Kotlin - Model Context Protocol (MCP) server with Streamable HTTP, native Netty transports, tools, tasks, resources, prompts, completions, resumable sessions, and stateless deployment support.
VSCompare→
Cherry Studio logo
Cherry Studio★ 52.9k
A powerful desktop client for multiple LLMs. Supports local and cloud models.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
ameshkov /
mcp-compress-router
↗

Compress all connected MCP into a single router MCP and save up to 99% on tokens

21MIT
Last commit1w ago
StatusActive
CategoryLLM Infra
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.