High-performance MCP server for minimizing LLM token usage and API costs via structural code analysis and precision chunking
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"token-optimizer-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
<div align="center"> <h1>🚀 Token Optimizer MCP</h1> <p><strong>A high-performance Model Context Protocol (MCP) server that slashes LLM token consumption and API overhead. Using structural code summarization, intelligent file chunking, and semantic vector search, it ensures your AI agent receives high-fidelity context with minimal payload—maximizing both speed and cost-efficiency.</strong></p> [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://modelcontextprotocol.io/) </div> --- ## 📖 Introduction Working with Agentic LLMs and large codebases usually means burning through massive context windows, leading to exorbitant API costs and slow response times. **Token Optimizer MCP** solves this by providing a suite of highly-optimized tools that intercept requests and ensure the LLM _only receives exactly what it needs_. It leverages structural chunking, code skeleton extraction, unified Git diffing, and strict character limits to compress payloads—all while maintaining the semantic context the LLM requires to function. Additionally, the built-in **Token Tracker** persistently calculates exactly how many tokens (and estimated dollars) you save on every request. --- ## 🛠️ Installation Requirements: **Python 3.10+**. You can install the package via `pip`. Choose the installation method based on whether you need semantic search capabilities. ### 1. Base Installation (Recommended) This installs the core MCP server and all standard token-optimization tools. It is lightweight and sufficient for most users. ```bash pip install token-optimizer-mcp ``` ### 2. Installation with Embeddings Use this command if you want to enable the **Semantic Search (Vector Store)** feature. This installation includes additional dependencies like…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.