MCP Cost Optimizer
v0.1.3Local-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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
rates * | object | |
records * | array | |
targetModel * | string |