AI Optimizer runs on your own machine — the client starts it, so there is no endpoint to ping. 34 installs a week from npm. Last commit 6 Jun 2026.
MCP server that cuts AI coding agent token usage via framework-aware context optimization
We read the source, 21 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
этот файл ставится пользователю, но в репозитории его нет
this.proc = spawn(this.config.command, this.config.args, {
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add ai-optimizer -- npx -y @ai-optimizer/core
{
"mcpServers": {
"ai-optimizer": {
"args": [
"-y",
"@ai-optimizer/core"
],
"command": "npx"
}
}
}
[mcp_servers.ai-optimizer]
command = "npx"
args = ["-y", "@ai-optimizer/core"]
{
"mcpServers": {
"ai-optimizer": {
"args": [
"-y",
"@ai-optimizer/core"
],
"command": "npx"
}
}
}
{
"mcpServers": {
"ai-optimizer": {
"args": [
"-y",
"@ai-optimizer/core"
],
"command": "npx"
}
}
}
This one needs environment variables set before it will start:
AI_OPTIMIZER_LICENSE (Ed25519 JWT license key. Unlocks Pro/Team packs; free tier needs no key.), AI_OPTIMIZER_LSP (Set to 0 to disable the LSP bridge (optimized_diagnostics).), AI_OPTIMIZER_TELEMETRY (Set to 'on' to enable anonymous opt-in telemetry. Off by default.).
The author declared them in the registry entry; get the values from the project itself.
Context-aware code retrieval MCP server — ranked, gated results for AI coding agents
MCP server giving AI coding agents version-pinned API context from your OpenAPI specs.
MCP server quality scoring and optimization for the agent economy.
Code knowledge graph over MCP: token-budgeted context for AI coding agents.
Agent reasoning, memory, and token-optimized context for AI applications.
AI health, token usage, LLM cost optimization, BYOK vault, and cleanup audits for MCP agents.
AI health, token usage, LLM cost optimization, BYOK vault, and cleanup audits for MCP agents.
Recraft AI Image Generation MCP Server for AI coding agents
Answers built from our own checks of this server.