io.github.sachinuppal/modelcostsaver
NPM · @WORKSWARM/MODELCOSTSAVER · SCANNED SEP 20
Offline MCP: predict LLM call cost and pick the cheapest capable model. No keys, no network.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 31 of 96 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 88 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability72
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 1395 tokens (~174/item across 8 items; 7 tools + 1 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management90
- Stability observed for 27 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage98
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 92% of tool parameters carry a description.Partial
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 9 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the io.github.sachinuppal/modelcostsaver MCP server?
io.github.sachinuppal/modelcostsaver runs locally as an npm package, launched with npx -y @workswarm/modelcostsaver. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @workswarm/modelcostsaver
claude mcp add sachinuppal-modelcostsaver -- npx -y @workswarm/modelcostsaver
{
"mcpServers": {
"sachinuppal-modelcostsaver": {
"command": "npx",
"args": [
"-y",
"@workswarm/modelcostsaver"
]
}
}
} {
"servers": {
"sachinuppal-modelcostsaver": {
"command": "npx",
"args": [
"-y",
"@workswarm/modelcostsaver"
]
}
}
} codex mcp add sachinuppal-modelcostsaver -- npx -y @workswarm/modelcostsaver
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"sachinuppal-modelcostsaver": {
"type": "local",
"command": [
"npx",
"-y",
"@workswarm/modelcostsaver"
],
"enabled": true
}
}
} openclaw mcp add sachinuppal-modelcostsaver --command npx --arg -y --arg @workswarm/modelcostsaver
mcp_servers:
sachinuppal-modelcostsaver:
command: "npx"
args: ["-y", "@workswarm/modelcostsaver"] {
"McpServers": {
"sachinuppal-modelcostsaver": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"@workswarm/modelcostsaver"
]
}
}
} assistant mcp add sachinuppal-modelcostsaver -t stdio -c npx -a -y @workswarm/modelcostsaver
{
"mcpServers": {
"sachinuppal-modelcostsaver": {
"command": "npx",
"args": [
"-y",
"@workswarm/modelcostsaver"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 20 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.
- 18 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 17 Sept 26 −3
- Stability: pass → 0.80 functional
- 16 Sept 26 0
- Stability: 0.97 → pass security
- 15 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 13 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.
- 11 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 9 Sept 26 −3
- Stability: pass → 0.77 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 20 Sept 2026 · Analysed npm/@workswarm/modelcostsaver@0.1.1
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | npm |
Background: How many MCP packages publish verified provenance →
Dependencies 96 packages
| Packages resolved | 96 |
|---|---|
| Stale | 31 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
compare_models Compare models ~120
Compare models side by side for a fixed token shape, cheapest first, with the multiple of the cheapest. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| inputTokens | integer | yes | Input tokens for the comparison. |
| models | array | yes | Models to compare (alias or id). |
| outputTokens | integer | yes | Output tokens for the comparison. |
| providers | array | – | Axis 1: provider availability allowlist (spec 5.4). |
| target | string | – | Axis 2: "self" (default) applies the client scope; "code" considers all providers. |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| catalogVersion | string | yes | – |
| cheaperIfAvailable | object | – | – |
| cheapest | – | yes | – |
| mostCapable | – | yes | – |
| providerScope | array | yes | – |
| rows | array | yes | – |
| scopeSource | string | yes | – |
| unknownModels | array | yes | – |
No examples provided.
estimate_cost Estimate cost ~152
Estimate the cost of a single LLM call for one model from known or estimated token counts. Offline, no keys.
| Name | Type | Req | Description |
|---|---|---|---|
| charsPerToken | number | – | Override the chars-per-token heuristic divisor. |
| expectedOutputText | string | – | Expected output text; estimated if outputTokens is absent. |
| inputText | string | – | Prompt text; estimated to tokens if inputTokens is absent. |
| inputTokens | integer | – | Exact input tokens; optional if inputText is given. |
| model | string | yes | Model alias or full id, e.g. "sonnet" or "claude-sonnet-4-6". |
| outputTokens | integer | – | Exact output tokens; defaults to the model output cap. |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| breakdown | object | yes | – |
| catalogVersion | string | yes | – |
| cost | object | yes | – |
| inputTokens | number | yes | – |
| model | string | yes | – |
| outputTokens | number | yes | – |
| pricing | object | yes | – |
| provider | string | yes | – |
| tier | string | yes | – |
| tokensWereEstimated | boolean | yes | – |
No examples provided.
get_pricing List models / pricing ~103
Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| capability | string | – | Require a capability. |
| includeLocal | boolean | – | Include local / self-hosted $0 models (off by default). |
| maxInputPerMillion | number | – | Only models at or below this input price per 1M tokens. |
| provider | string | – | Filter to a single provider. |
| tier | string | – | Filter to a single tier. |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| catalogVersion | string | yes | – |
| count | number | yes | – |
| models | array | yes | – |
| source | string | yes | – |
No examples provided.
list_models List models / pricing ~102
Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| capability | string | – | Require a capability. |
| includeLocal | boolean | – | Include local / self-hosted $0 models (off by default). |
| maxInputPerMillion | number | – | Only models at or below this input price per 1M tokens. |
| provider | string | – | Filter to a single provider. |
| tier | string | – | Filter to a single tier. |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| catalogVersion | string | yes | – |
| count | number | yes | – |
| models | array | yes | – |
| source | string | yes | – |
No examples provided.
optimize_request Optimize request ~172
Check whether a cheaper capable model exists for a call you plan to make, and report the savings. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| crossProvider | boolean | – | Consider other providers too (may need a different API key). Default false. |
| currentModel | string | yes | The model you plan to call (alias or id). |
| includeLocal | boolean | – | – |
| inputTokens | integer | yes | Input tokens for the call. |
| outputTokens | integer | yes | Output tokens for the call. |
| providers | array | – | Axis 1: provider availability allowlist (spec 5.4). |
| target | string | – | Axis 2: "self" (default) applies the client scope; "code" considers all providers. |
| taskClass | string | – | Task class; sets the tier the recommendation must still meet. |
| Name | Type | Req | Description |
|---|---|---|---|
| alreadyOptimal | boolean | yes | – |
| asOf | string | yes | – |
| catalogVersion | string | yes | – |
| current | – | yes | – |
| providerScope | array | yes | – |
| reasoning | array | yes | – |
| recommended | – | yes | – |
| savingsPct | number | yes | – |
| savingsUsd | number | yes | – |
| scopeSource | string | yes | – |
No examples provided.
predict_cost Predict cost ~197
Forecast the cost of a prompt across candidate models before the call. Returns a cheapest-first ranking with assumptions. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| candidates | array | – | Candidate models (alias or id); defaults to all chat-capable. |
| charsPerToken | number | – | – |
| contextTokens | integer | – | Known context tokens already loaded. |
| expectedOutputTokens | integer | – | Exact output tokens; else inferred from taskClass/model. |
| includeLocal | boolean | – | – |
| inputTokens | integer | – | Exact input tokens (skips prompt estimation). |
| prompt | string | – | The prompt to forecast; estimated to tokens if inputTokens absent. |
| providers | array | – | Axis 1: provider availability allowlist (spec 5.4). |
| target | string | – | Axis 2: "self" (default) applies the client scope; "code" considers all providers. |
| taskClass | string | – | Drives the default output cap. |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| catalogVersion | string | yes | – |
| cheaperIfAvailable | object | – | – |
| cheapest | – | yes | – |
| forecasts | array | yes | – |
| notes | array | yes | – |
| providerScope | array | yes | – |
| scopeSource | string | yes | – |
No examples provided.
select_optimal_model Select optimal model ~189
Pick the single cheapest model that meets the task tier, capabilities, and budget, with full reasoning and a fallbackChain. Offline.
| Name | Type | Req | Description |
|---|---|---|---|
| estimatedInputTokens | integer | yes | Estimated input tokens for the forecast. |
| estimatedOutputTokens | integer | yes | Estimated output tokens for the forecast. |
| includeLocal | boolean | – | – |
| maxCostUsd | number | – | Budget ceiling for the predicted call cost. |
| providers | array | – | Axis 1: provider availability allowlist (spec 5.4). |
| requiredCapabilities | array | – | Capabilities the model must support. |
| target | string | – | Axis 2: "self" (default) applies the client scope; "code" considers all providers. |
| task | string | – | Free-text task; used for the tier heuristic when taskClass is absent. |
| taskClass | string | – | Explicit task class; overrides the heuristic. |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| budgetExceeded | boolean | – | – |
| catalogVersion | string | yes | – |
| cheaperIfAvailable | object | – | – |
| fallbackChain | array | yes | – |
| providerScope | array | – | – |
| reasoning | array | yes | – |
| rejected | array | yes | – |
| runnerUp | object | – | – |
| scopeSource | string | – | – |
| selected | – | yes | – |
| shortfallUsd | number | – | – |
No examples provided.
What is the io.github.sachinuppal/modelcostsaver MCP server?
io.github.sachinuppal/modelcostsaver is an MCP server listed in the public MCP registry as io.github.sachinuppal/modelcostsaver. Offline MCP: predict LLM call cost and pick the cheapest capable model. No keys, no network. This page covers its npm package (@workswarm/modelcostsaver).
Is the io.github.sachinuppal/modelcostsaver MCP server safe to use?
io.github.sachinuppal/modelcostsaver scores 82 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.sachinuppal/modelcostsaver MCP server expose?
io.github.sachinuppal/modelcostsaver exposes 7 tools: estimate_cost, predict_cost, select_optimal_model, compare_models, list_models, and 2 more. Their descriptions and schemas cost roughly 1,035 tokens of context every time the server is loaded.
Is the io.github.sachinuppal/modelcostsaver MCP server still maintained?
io.github.sachinuppal/modelcostsaver is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.sachinuppal/modelcostsaver MCP server under?
io.github.sachinuppal/modelcostsaver declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.