Does ModelCostSaver need API keys?
No. The core does pricing math, not provider calls, so there is nothing to leak. No API keys are required.
@sachinuppal
基本信息
ModelCostSaver
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"modelcostsaver": {
"command": "npx",
"args": [
"-y",
"@workswarm/modelcostsaver"
]
}
}
}Estimate the cost of a single LLM call for one model from known or estimated token counts. Offline, no keys.
Forecast the cost of a prompt across candidate models before the call. Returns a cheapest-first ranking with assumptions. Offline.
Pick the single cheapest model that meets the task tier, capabilities, and budget, with full reasoning and a fallbackChain. Offline.
Compare models side by side for a fixed token shape, cheapest first, with the multiple of the cheapest. Offline.
Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.
Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.
Check whether a cheaper capable model exists for a call you plan to make, and report the savings. Offline.
ModelCostSaver is an MCP server that predicts the cost of an LLM call before you make it and selects the cheapest model that still meets the task requirements. It works offline from your editor, requires no API keys, and has no telemetry. It is intended for AI coding agents and IDEs that need cost-aware model routing.
Run it directly with npx -y @workswarm/modelcostsaver — no install or keys needed. Add it to your editor (Cursor, Claude Code, VS Code, etc.) via the install --client <name> command or by pasting the stdio MCP config block. Once connected, the server exposes seven tools: estimate_cost, predict_cost, select_optimal_model, compare_models, list_models/get_pricing, optimize_request, and record_usage.
No. The core does pricing math, not provider calls, so there is nothing to leak. No API keys are required.
Yes. Core tools return correct answers with no network access. An opt-in catalog refresh (`MODELCOSTSAVER_REFRESH=on`) can fetch a static JSON, but falls back to the bundled catalog on any failure.
No. The default is silent and local. The `record_usage` tool only writes when `MODELCOSTSAVER_LEDGER=on` is set, and only to a JSONL file under your own config directory.
Exact token counts if you supply them; otherwise a heuristic estimate (~4 characters per token, tunable via `MODELCOSTSAVER_CHARS_PER_TOKEN`). Output tokens come from an explicit value, the task class cap, the model cap, or a conservative default.
The bundled catalog has a `catalogVersion` and `asOf` date on every entry. The seed is re-checked against each provider's public pricing page at release. The `asOf` date tells you when the data was last confirmed.

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one
Painless E2E Automation for Mobile and Web

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
评论