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

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.

+20 this week 66 Trust /100
Trust breakdown (6 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 →

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
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.

Install

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

# add to Claude Code
claude mcp add waqarulwahab-llm-cost-estimator -- npx -y llm-cost-estimator-mcp
# add to Codex CLI
codex mcp add waqarulwahab-llm-cost-estimator -- npx -y llm-cost-estimator-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "waqarulwahab-llm-cost-estimator": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "llm-cost-estimator-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add waqarulwahab-llm-cost-estimator --command npx --arg -y --arg llm-cost-estimator-mcp
# ~/.hermes/config.yaml
mcp_servers:
  waqarulwahab-llm-cost-estimator:
    command: "npx"
    args: ["-y", "llm-cost-estimator-mcp"]
// mcp.json
{
  "mcpServers": {
    "waqarulwahab-llm-cost-estimator": {
      "command": "npx",
      "args": [
        "-y",
        "llm-cost-estimator-mcp"
      ]
    }
  }
}
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.

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

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 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.

MCP tools — 3 exposed · ~291 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.

Tool 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.

NameTypeReqDescription
modelstringModel key (default gpt-4o). See list_models.
textstringyesText to tokenize.

No output schema declared.

No examples provided.

estimate_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.

NameTypeReqDescription
currencystringCurrency label (default USD; display only).
modelsarrayModel 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.
outputTokensintegerAssumed output/completion tokens used for the total cost (default 500).
textstringyesThe prompt or text to measure.

No output schema declared.

No examples provided.

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.