Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.sachinuppal/modelcostsaver

NPM · @WORKSWARM/MODELCOSTSAVER

Offline MCP: predict LLM call cost and pick the cheapest capable model. No keys, no network.

0 this week 78 Trust /100

Last scanned (17 hours ago)

Scores higher than 58% of npm servers

Category AI and Machine Learning

Trust breakdown (7 categories)

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 Security81
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects zod 3.25.76, a direct dependency. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • 30 of 93 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
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 Management97
  • Stability observed for 29 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
Changelog

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.

  • 4 Nov 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.

  • 3 Nov 26 −1
    • Stability: pass → 0.93 functional
  • 28 Oct 26 0
    • Stability: 0.97 → pass security
  • 27 Oct 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.

  • 26 Oct 26 −1
    • Stability: pass → 0.93 functional
  • 24 Oct 26 −5
    • CVE-2023-54404 affects this package: high ▼ security
    • Known CVEs: pass → fail ▼ security
  • 17 Oct 26 +2
    • Stability: 0.87 → pass security
  • 15 Oct 26 −2
    • Stability: pass → 0.83 functional
Diagnostics

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 4 Nov 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 →

Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-mrhx-c7xc-m3w5 CVE-2023-54404 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes

Background: What a vulnerability scan can and cannot prove →

Dependencies 93 packages
Packages resolved 93
Stale 30
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 7 exposed · ~1,035 tokens

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 →

Tool Tokens
compare_models ~120

Compare models side by side for a fixed token shape, cheapest first, with the multiple of the cheapest. Offline.

NameTypeReqDescription
inputTokensintegeryesInput tokens for the comparison.
modelsarrayyesModels to compare (alias or id).
outputTokensintegeryesOutput tokens for the comparison.
providersarray–Axis 1: provider availability allowlist (spec 5.4).
targetstring–Axis 2: "self" (default) applies the client scope; "code" considers all providers.
NameTypeReqDescription
asOfstringyes–
catalogVersionstringyes–
cheaperIfAvailableobject––
cheapest–yes–
mostCapable–yes–
providerScopearrayyes–
rowsarrayyes–
scopeSourcestringyes–
unknownModelsarrayyes–

No examples provided.

estimate_cost ~152

Estimate the cost of a single LLM call for one model from known or estimated token counts. Offline, no keys.

NameTypeReqDescription
charsPerTokennumber–Override the chars-per-token heuristic divisor.
expectedOutputTextstring–Expected output text; estimated if outputTokens is absent.
inputTextstring–Prompt text; estimated to tokens if inputTokens is absent.
inputTokensinteger–Exact input tokens; optional if inputText is given.
modelstringyesModel alias or full id, e.g. "sonnet" or "claude-sonnet-4-6".
outputTokensinteger–Exact output tokens; defaults to the model output cap.
NameTypeReqDescription
asOfstringyes–
breakdownobjectyes–
catalogVersionstringyes–
costobjectyes–
inputTokensnumberyes–
modelstringyes–
outputTokensnumberyes–
pricingobjectyes–
providerstringyes–
tierstringyes–
tokensWereEstimatedbooleanyes–

No examples provided.

get_pricing ~103

Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.

NameTypeReqDescription
capabilitystring–Require a capability.
includeLocalboolean–Include local / self-hosted $0 models (off by default).
maxInputPerMillionnumber–Only models at or below this input price per 1M tokens.
providerstring–Filter to a single provider.
tierstring–Filter to a single tier.
NameTypeReqDescription
asOfstringyes–
catalogVersionstringyes–
countnumberyes–
modelsarrayyes–
sourcestringyes–

No examples provided.

list_models ~102

Return the model catalog with pricing, optionally filtered. capabilities are arrays. Offline.

NameTypeReqDescription
capabilitystring–Require a capability.
includeLocalboolean–Include local / self-hosted $0 models (off by default).
maxInputPerMillionnumber–Only models at or below this input price per 1M tokens.
providerstring–Filter to a single provider.
tierstring–Filter to a single tier.
NameTypeReqDescription
asOfstringyes–
catalogVersionstringyes–
countnumberyes–
modelsarrayyes–
sourcestringyes–

No examples provided.

optimize_request ~172

Check whether a cheaper capable model exists for a call you plan to make, and report the savings. Offline.

NameTypeReqDescription
crossProviderboolean–Consider other providers too (may need a different API key). Default false.
currentModelstringyesThe model you plan to call (alias or id).
includeLocalboolean––
inputTokensintegeryesInput tokens for the call.
outputTokensintegeryesOutput tokens for the call.
providersarray–Axis 1: provider availability allowlist (spec 5.4).
targetstring–Axis 2: "self" (default) applies the client scope; "code" considers all providers.
taskClassstring–Task class; sets the tier the recommendation must still meet.
NameTypeReqDescription
alreadyOptimalbooleanyes–
asOfstringyes–
catalogVersionstringyes–
current–yes–
providerScopearrayyes–
reasoningarrayyes–
recommended–yes–
savingsPctnumberyes–
savingsUsdnumberyes–
scopeSourcestringyes–

No examples provided.

predict_cost ~197

Forecast the cost of a prompt across candidate models before the call. Returns a cheapest-first ranking with assumptions. Offline.

NameTypeReqDescription
candidatesarray–Candidate models (alias or id); defaults to all chat-capable.
charsPerTokennumber––
contextTokensinteger–Known context tokens already loaded.
expectedOutputTokensinteger–Exact output tokens; else inferred from taskClass/model.
includeLocalboolean––
inputTokensinteger–Exact input tokens (skips prompt estimation).
promptstring–The prompt to forecast; estimated to tokens if inputTokens absent.
providersarray–Axis 1: provider availability allowlist (spec 5.4).
targetstring–Axis 2: "self" (default) applies the client scope; "code" considers all providers.
taskClassstring–Drives the default output cap.
NameTypeReqDescription
asOfstringyes–
catalogVersionstringyes–
cheaperIfAvailableobject––
cheapest–yes–
forecastsarrayyes–
notesarrayyes–
providerScopearrayyes–
scopeSourcestringyes–

No examples provided.

select_optimal_model ~189

Pick the single cheapest model that meets the task tier, capabilities, and budget, with full reasoning and a fallbackChain. Offline.

NameTypeReqDescription
estimatedInputTokensintegeryesEstimated input tokens for the forecast.
estimatedOutputTokensintegeryesEstimated output tokens for the forecast.
includeLocalboolean––
maxCostUsdnumber–Budget ceiling for the predicted call cost.
providersarray–Axis 1: provider availability allowlist (spec 5.4).
requiredCapabilitiesarray–Capabilities the model must support.
targetstring–Axis 2: "self" (default) applies the client scope; "code" considers all providers.
taskstring–Free-text task; used for the tier heuristic when taskClass is absent.
taskClassstring–Explicit task class; overrides the heuristic.
NameTypeReqDescription
asOfstringyes–
budgetExceededboolean––
catalogVersionstringyes–
cheaperIfAvailableobject––
fallbackChainarrayyes–
providerScopearray––
reasoningarrayyes–
rejectedarrayyes–
runnerUpobject––
scopeSourcestring––
selected–yes–
shortfallUsdnumber––

No examples provided.

Install

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

# add to Claude Code
claude mcp add sachinuppal-modelcostsaver -- npx -y @workswarm/modelcostsaver
Common questions

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 78 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 4 November 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 4 November 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.