io.github.jeff-atriumn/tokencost-dev
NPM · TOKENCOST-DEV · SCANNED AUG 3
LLM pricing oracle — model lookup, cost estimation, and comparison via LiteLLM
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 →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to atriumn/tokencost-dev). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 157 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability77
- AI-judged instruction clarity (excellent).Pass
- Tool/resource definitions use about 322 tokens (~80/item across 4 items; 4 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · tokencost-dev
claude mcp add jeff-atriumn-tokencost-dev -- npx -y tokencost-dev
codex mcp add jeff-atriumn-tokencost-dev -- npx -y tokencost-dev
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"jeff-atriumn-tokencost-dev": {
"type": "local",
"command": [
"npx",
"-y",
"tokencost-dev"
],
"enabled": true
}
}
} openclaw mcp add jeff-atriumn-tokencost-dev --command npx --arg -y --arg tokencost-dev
mcp_servers:
jeff-atriumn-tokencost-dev:
command: "npx"
args: ["-y", "tokencost-dev"] {
"mcpServers": {
"jeff-atriumn-tokencost-dev": {
"command": "npx",
"args": [
"-y",
"tokencost-dev"
]
}
}
} 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.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +15
- Known CVEs: partial → unverified ▼ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
- Security disclosure: fail → unverified ▼ functional
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- Dependency health: partial → unverified ▼ functional
- Stability: unverified → 0.23 ▲ functional
- 1 Aug 26 +36
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 31 Jul 26 −18
- Malware scan: pass → unverified ▼ security
- 30 Jul 26 +22
- Tool coverage: unverified → 100 ▲ functional
- 28 Jul 26 −22
- Security disclosure: unverified → fail ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 27 Jul 26 46
First indexed and scored.
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 3 Aug 2026 · Analysed npm/[email protected]
Provenance verified
Ecosystem: npm · Outcome: verified
Reason: verified
- Source repo:
- atriumn/tokencost-dev
- Certificate issuer:
- https://token.actions.githubusercontent.com
- Certificate SAN:
- https://github.com/atriumn/tokencost-dev/.github/workflows/release.yml@refs/tags/v0.1.3
- Rekor log index:
- 1001205096
- Predicate type:
- https://slsa.dev/provenance/v1
- Subject digest:
- sha512:8ea23f9bf682cfee3b0269afd7a7d8b185c6c339dc15e1c99303fea9068c6f6dbcf979e36e48c4516900dc12e31e20faecbb8e5cf5cd0b21c92143c31
- Discovery method:
- attestation_endpoint
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
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.
calculate_estimate ~112
Estimate the cost for a given number of input and output tokens on a specific model. Supports optional cached_tokens for prompt caching discounts.
| Name | Type | Req | Description |
|---|---|---|---|
| cached_tokens | number | — | Number of input tokens served from cache (prompt caching). Must be <= input_tokens. These tokens are billed at the cached rate instead of the standard input rate. |
| input_tokens | number | yes | Number of input tokens |
| model_name | string | yes | Model name (fuzzy matched) |
| output_tokens | number | yes | Number of output tokens |
No output schema declared.
No examples provided.
compare_models ~98
Filter and compare models by provider, minimum context window, or mode. Returns top 5 most cost-effective matches.
| Name | Type | Req | Description |
|---|---|---|---|
| min_context | number | — | Minimum context window size in tokens |
| mode | string | — | Filter by mode (e.g. 'chat', 'embedding', 'completion', 'image_generation') |
| provider | string | — | Filter by provider (e.g. 'anthropic', 'openai', 'google', 'amazon') |
No output schema declared.
No examples provided.
get_model_details ~79
Look up pricing, context window, and capabilities for an LLM model. Uses fuzzy matching so you don't need the exact model key.
| Name | Type | Req | Description |
|---|---|---|---|
| model_name | string | yes | Model name to look up (e.g. 'claude-sonnet-4-5', 'gpt-4o', 'gemini-2.0-flash') |
No output schema declared.
No examples provided.
refresh_prices ~33
Force a re-fetch of pricing data from the LiteLLM registry. Use this if you suspect the cached data is stale.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.