Omni Token Router MCP โ AI skill for Claude Code
๐ Semantic Context Compressor, Live Token/USD Cost Calculator & Adaptive Model-Tier Router MCP Server โ Cut LLM token bills by 85% across Claude Code, Cursor, VS Code, Codex & Antigravity.
How to install Omni Token Router MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jitendrakumar-ai/omni-token-router-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Omni Token Router MCP does
๐ Semantic Context Compressor, Live Token/USD Cost Calculator & Adaptive Model-Tier Router MCP Server โ Cut LLM token bills by 85% across Claude Code, Cursor, VS Code, Codex & Antigravity.
Alternatives in AI
- Codeburn โ Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k โ
- Jcodemunch MCP โ Cut AI token costs 95%+ on code exploration 2.6k โ
- Paritok 4b V1 โ Non-destructive compression gateway for AI coding agents 1.4k โ
README
omni-token-router-mcp
๐ Semantic Context Compressor, Live Token/USD Cost Calculator & Adaptive Model-Tier Router MCP Server โ Cut LLM token bills by 85% across Claude Code, Cursor, VS Code, Codex & Antigravity.
Python 3.10+ โข MCP Standard v1.2.0 โข Claude Code โข Cursor โข Windsurf โข Cline
โก Omni-Token Router MCP (v1.2.0)
**Semantic Context Compressor, Live Token/USD Cost Calculator & Adaptive Model-Tier Router MCP Server** โ Cut LLM token bills by 85% across Claude Code, Cursor, VS Code, Codex & Antigravity.
๐ก Overview
**Omni-Token Router MCP** is an enterprise-grade Model Context Protocol (MCP) server engineered to drastically reduce token usage and API costs when using AI coding assistants. It compresses code context, routes queries to the most cost-effective model based on task complexity, and eliminates redundant prompt chunks.
Core Features
- ๐๏ธ
compress_code_contextโ AST-aware AST & whitespace compression for 60-80% token reduction. - ๐ต
calculate_prompt_cost_matrixโ Live USD cost breakdown across Claude 3.5 Sonnet, GPT-4o, DeepSeek R1, and Gemini 1.5 Pro. - ๐ฏ
route_task_by_complexityโ Dynamically routes simple queries to fast, cheap models and complex refactoring to reasoning powerhouses. - ๐งน
deduplicate_prompt_chunksโ Automatically strips repetitive prompt context and duplicate file snippets.
โ๏ธ Architecture & Workflow
graph TD
A[User / IDE Agent Prompt] --> B[Omni-Token Router MCP]
B --> C{Core Tools Pipeline}
C -->|1. Deduplicate| D[deduplicate_prompt_chunks]
C -->|2. Compress| E[compress_code_context]
C -->|3. Cost Matrix| F[calculate_prompt_cost_matrix]
C -->|4. Smart Route| G[route_task_by_complexity]
G --> H[Model Selection: DeepSeek R1 / Claude / GPT-4o]
Related Skills
Synax Token Shield
๐ก๏ธ Zero-Dependency AI Token Compressor, AST Skeletonizer, SHA-256 Semantic Cache & Frugal Model Router for Cl
Cc Token Optimizer
Cut your Claude Code token bill: tool-output trimming, read dedup, model-tier discipline, and live cost + cach
Claude Code Jev Smart Router
HTTP proxy for Claude Code that selects the Claude model per request to cut cost and latency. Routes on task p
Minga Router
Stop paying Opus prices for typo fixes. A Claude Code skill that routes each subagent task to the cheapest mod
Mem Budget
Show a 4-tier weighted context plan for a query (working/episodic/semantic/procedural) within a token budget.
Sharur
Cut Claude Code token usage and cost with a one-line output style. Shorter replies than Concise on every Claud
Related Agents
Gemini Delegate
Delegate broad, purely reading analysis over a lot of material to Gemini (Antigravity CLI) โ condense large di
Agy Router
Route a task to the right model on the Antigravity CLI (agy) and run it via agy-headless-bridge. Use whenever
Paf Reviewer
Runs one phone-a-friend relay or review command in the background and reports back a receipt plus the findings