69
/ 100
6 days ago
glama

token-optimization-mcp

A fully offline MCP server for token estimation, prompt compression, model routing, and semantic caching to optimize LLM usage costs and efficiency.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
🔐
You'll be asked for 1 credential: MCP_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configREDIS_URLredis://localhost:6379/1 Redis connection URL
configUSE_REDISfalse Enable Redis backend
configCACHE_TTL_SECONDS86400 Default cache TTL (1 day)
configRATE_LIMIT_PER_MIN120 Requests/min per client
configAUDIT_LOG_ENABLEDtrue Print audit log to stdout
🔐 secretMCP_API_KEY
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/dcx7c5-token-optimization-mcp-x34apl)](https://m8ven.ai/mcp/dcx7c5-token-optimization-mcp-x34apl)
commit: a89bd1dc6213dbd60b0dca631eb116cc74aee6f1
code hash: ffe9149e4e264822915c7ac565957080f2ab4abcd700bcf88ab4942259a1d101
verified: 6/22/2026, 12:37:01 PM
view raw JSON →