io.github.waqarulwahab/llm-cost-estimator
NPM · LLM-COST-ESTIMATOR-MCP · SCANNED AUG 3
Token counting & multi-model LLM cost estimates: GPT-4o, Claude, Gemini, 25+. No API key.
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 (97 of 101), 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 (97 of 101), so this covers what we could see, not the whole tree. 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 (MIT).Pass
- Actively maintained (last published 42 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 291 tokens (~97/item across 3 items; 3 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
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
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
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 · llm-cost-estimator-mcp
claude mcp add waqarulwahab-llm-cost-estimator -- npx -y llm-cost-estimator-mcp
codex mcp add waqarulwahab-llm-cost-estimator -- npx -y llm-cost-estimator-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"waqarulwahab-llm-cost-estimator": {
"type": "local",
"command": [
"npx",
"-y",
"llm-cost-estimator-mcp"
],
"enabled": true
}
}
} openclaw mcp add waqarulwahab-llm-cost-estimator --command npx --arg -y --arg llm-cost-estimator-mcp
mcp_servers:
waqarulwahab-llm-cost-estimator:
command: "npx"
args: ["-y", "llm-cost-estimator-mcp"] {
"mcpServers": {
"waqarulwahab-llm-cost-estimator": {
"command": "npx",
"args": [
"-y",
"llm-cost-estimator-mcp"
]
}
}
} 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.
- 2 Aug 26 +46
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Security disclosure: fail → unverified ▼ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → excellent ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- Licence: MIT functional
- 1 Aug 26 +15
- Malware scan: unverified → pass ▲ security
- 31 Jul 26 −41
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → 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 none
Ecosystem: npm · Outcome: none
Dependencies 97 packages
97 packages in the resolved dependency tree · 97 deprecated · 30 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.
count_tokens Count tokens ~72
Count the tokens in a text for one model. OpenAI is exact (tiktoken); other providers are approximated via an OpenAI encoding and flagged as estimates.
| Name | Type | Req | Description |
|---|---|---|---|
| model | string | — | Model key (default gpt-4o). See list_models. |
| text | string | yes | Text to tokenize. |
No output schema declared.
No examples provided.
estimate_cost Estimate LLM cost ~178
Count tokens and estimate the cost of a prompt/text across multiple LLM models (GPT-4o, Claude, Gemini, DeepSeek, Mistral, Llama, Grok, and more). OpenAI token counts are exact (tiktoken); other providers are approximations and are flagged. Returns a Markdown comparison table plus structured JSON.
| Name | Type | Req | Description |
|---|---|---|---|
| currency | string | — | Currency label (default USD; display only). |
| models | array | — | Model keys to compare (e.g. gpt-4o, claude-sonnet, gemini-2.5-pro). Omit for a sensible default set. Call list_models to see all keys. |
| outputTokens | integer | — | Assumed output/completion tokens used for the total cost (default 500). |
| text | string | yes | The prompt or text to measure. |
No output schema declared.
No examples provided.
list_models List models ~41
List every available model key with provider, prices (USD per 1M tokens), and context window. Note: prices are representative placeholders — verify with each provider.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.