mcpbeat Sign in

AI Optimizer MCP Server

by shivam-app-developers Your server? Claim it
local only

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

Installs per day peak 8 · avg 5 · +70% w/w
a month agotoday
34
Installs / week
npm · @ai-optimizer/core
0
Stars
0 open issues
6 Jun 2026
Last commit
0 releases in 90 days
License
TypeScript

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

Capabilities

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.

File ships in the package but is absent from the source [пакет] bin/ai-optimizer.js:1
этот файл ставится пользователю, но в репозитории его нет
Runs an external command packages/core/src/lsp-bridge.ts:107
      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.

This code can reach further than it looks

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add ai-optimizer -- npx -y @ai-optimizer/core
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ai-optimizer": {
      "args": [
        "-y",
        "@ai-optimizer/core"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.ai-optimizer]
command = "npx"
args = ["-y", "@ai-optimizer/core"]
.cursor/mcp.json
{
  "mcpServers": {
    "ai-optimizer": {
      "args": [
        "-y",
        "@ai-optimizer/core"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "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.

Alternatives to AI Optimizer

same job, measured the same way
Code Context Gate
by wisdomrock

Context-aware code retrieval MCP server — ranked, gated results for AI coding agents

27 installs/wk local only
Lockspec
by lockspec

MCP server giving AI coding agents version-pinned API context from your OpenAPI specs.

44 installs/wk local only
Twig
by kind-ling

MCP server quality scoring and optimization for the agent economy.

96 installs/wk local only
Cgraphy
by pmgarg

Code knowledge graph over MCP: token-budgeted context for AI coding agents.

63 installs/wk local only
Logic Server
by nocturnus

Agent reasoning, memory, and token-optimized context for AI applications.

60 installs/wk local only
SkillFM Beacon
by ericm1018

AI health, token usage, LLM cost optimization, BYOK vault, and cleanup audits for MCP agents.

91 installs/wk local only
SkillFM Beacon
by ericm1018

AI health, token usage, LLM cost optimization, BYOK vault, and cleanup audits for MCP agents.

local only
Recraft MCP Server
by muhammetali

Recraft AI Image Generation MCP Server for AI coding agents

84 installs/wk local only

AI Optimizer — questions

Answers built from our own checks of this server.

Why is there no uptime for AI Optimizer?
AI Optimizer runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @ai-optimizer/core was installed 34 times last week.
How do I connect AI Optimizer?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @ai-optimizer/core straight from npm; nothing to host, nothing to sign up for.
How many people use AI Optimizer?
The npm package @ai-optimizer/core was installed 34 times in the last week. Week over week that is +70%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is AI Optimizer open source?
We cannot say either way: written in TypeScript and 0 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.