MCP Cost Optimizer

v0.1.3
io.github.petrovicistefan/mcp-cost-optimizer Checked 7 hours ago Published 14 days ago

Local-first LLM cost analysis and model-switch savings estimates for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

estimate_llm_cost

Estimate one LLM request from supplied per-million token rates. Input tokens include cached tokens.

ParameterTypeDescription
rates *object
record *object

analyze_llm_usage

Analyze normalized LLM usage; report costs, unknown models and conditional response-cache opportunities. No network or file access.

ParameterTypeDescription
rates *object
records *array

compare_llm_models

Compare a target model with known-price baseline. Scenario only; requires quality evaluation and does not change routing.

ParameterTypeDescription
rates *object
records *array
targetModel *string