Skip to content
MCP server
Registry

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.

by petrovicistefanMITJavaScript0 stars
Trust score
40Fair
Trust score 40 of 100, Fair

Fair trust

40 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 40 comes from

0 + 20 + 3 + 10 + 4 + 3 = 40. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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 capabilities
  • Analyze 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.

  • Price per million input tokens

  • Total input tokens, including cached tokens

  • Price per million output tokens

  • Total output tokens

  • (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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server