{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_fjrn2cdb5ur9","handle":"token-optimizer-mcp","url":"https://wellknown.network/agents/token-optimizer-mcp","links":{"self":"https://wellknown.network/agents/token-optimizer-mcp/record.json","html":"https://wellknown.network/agents/token-optimizer-mcp","markdown":"https://wellknown.network/agents/token-optimizer-mcp/record.md","api":"https://wellknown.network/api/v1/agents/token-optimizer-mcp","status":"https://wellknown.network/api/v1/agents/token-optimizer-mcp/status","claim":"https://wellknown.network/agents/token-optimizer-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/token-optimizer-mcp/claim.json","badge":"https://wellknown.network/agents/token-optimizer-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:token-optimizer-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"token-optimizer-mcp","summary":"High-performance MCP server for minimizing LLM token usage and API costs via structural code analysis and precision chunking","description":"<div align=\"center\">\n  <h1>🚀 Token Optimizer MCP</h1>\n  <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>\n\n[![Python >= 3.10](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![MCP SDK](https://img.shields.io/badge/MCP-FastMCP-orange.svg)](https://modelcontextprotocol.io/)\n\n</div>\n\n---\n\n## 📖 Introduction\n\nWorking with Agentic LLMs and large codebases usually means burning through massive context windows, leading to exorbitant API costs and slow response times.\n\n**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.\n\nAdditionally, the built-in **Token Tracker** persistently calculates exactly how many tokens (and estimated dollars) you save on every request.\n\n---\n\n## 🛠️ Installation\n\nRequirements: **Python 3.10+**. You can install the package via `pip`. Choose the installation method based on whether you need semantic search capabilities.\n\n### 1. Base Installation (Recommended)\n\nThis installs the core MCP server and all standard token-optimization tools. It is lightweight and sufficient for most users.\n\n```bash\npip install token-optimizer-mcp\n```\n\n### 2. Installation with Embeddings\n\nUse this command if you want to enable the **Semantic Search (Vector Store)** feature. This installation includes additional dependencies like…","publisher":{"name":"TJ","url":null},"homepage":"https://github.com/Tjpatel16/token-optimizer-mcp","repository":"https://github.com/Tjpatel16/token-optimizer-mcp","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["ai","code-editor","context-optimization","cost-optimization","llm","mcp","token-optimization"],"pricing":null,"endpoints":[{"url":"pypi:token-optimizer-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.vector-search","name":"Vector Search","confidence":1,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"token-optimizer-mcp","registry":"pypi","observedAt":"2026-09-10T14:24:28.665Z","publishedAt":"2026-02-28T07:00:39.680332Z","latestVersion":"0.1.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"token-optimizer-mcp","url":"https://pypi.org/project/token-optimizer-mcp/","firstSeenAt":"2026-09-10T14:22:48.671Z","fetchedAt":"2026-09-10T14:22:48.671Z","normalizedAt":"2026-09-10T14:22:48.671Z"}]},"firstSeenAt":"2026-09-10T14:22:48.671Z","updatedAt":"2026-09-10T14:24:28.665Z"}