MCP Cost Optimizer MCP Server
Local-first LLM cost analysis and model-switch savings estimates for AI agents.
MCP Cost Optimizer scores 40 (Fair), licensed MIT and written in JavaScript. It installs as a local process. It declares 11 tools. Filed under AI and memory. GitHub shows 0 stars. Package registries report about 96 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
40 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
68/100 for listing completeness. Lost points: no README, 1 of 11 tools barely described, short summary.
How quality is graded
Where the 40 comes from
0 + 20 + 3 + 10 + 4 + 3 = 40. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "petrovicistefan-mcp-cost-optimizer": { "command": "npx", "args": [ "-y", "mcp-cost-optimizer@0.1.3" ] } }}
Environment variables
This server does not declare environment variables.
Tools11Tool docs quality grade C
All capabilitiesAnalyze normalized LLM usage; report costs, unknown models and conditional response-cache opportunities. No network or file access.
asOftool(Optional) Date when prices were verified
(Optional) Price per million cached input tokens (defaults to inputPerMillion if omitted)
(Optional) Prompt cache hits (must be ≤ inputTokens)
Compare a target model with known-price baseline. Scenario only; requires quality evaluation and does not change routing.
Estimate one LLM request from supplied per-million token rates. Input tokens include cached tokens.
inputPerMilliontoolPrice per million input tokens
inputTokenstoolTotal input tokens, including cached tokens
outputPerMilliontoolPrice per million output tokens
outputTokenstoolTotal output tokens
requestHashtool(Optional) Unique identifier for the entire request (tenant, model params, system context, tool state, freshness) — used to identify conditional response-cache opportunities
About
See what your LLM calls cost and how much you'd save by switching models — local MCP server, no API keys.
Frequently asked questions
What is MCP Cost Optimizer MCP Server?
Local-first LLM cost analysis and model-switch savings estimates for AI agents.
How do I install MCP Cost Optimizer MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MCP Cost Optimizer MCP Server runs locally from the npm package mcp-cost-optimizer with the command npx -y mcp-cost-optimizer@0.1.3.
Is MCP Cost Optimizer MCP Server free and open source?
Yes. MCP Cost Optimizer MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MCP Cost Optimizer MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MCP Cost Optimizer MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does MCP Cost Optimizer MCP Server provide?
MCP Cost Optimizer MCP Server provides 11 tools, including analyze_llm_usage, asOf, cachedInputPerMillion, and cachedInputTokens. See the full tool list for descriptions and parameters.
How is MCP Cost Optimizer MCP Server's trust score calculated?
MCP Cost Optimizer MCP Server scores 40 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.