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.vpatser1/ai-cost-analyzer

NPM · AI-COST-ANALYZER · SCANNED AUG 7

Analyze LLM API costs: token waste detection, caching savings estimates, model comparison

Available components

59 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
  • Known CVEs were checked across the 95 of 99 dependencies we could resolve, so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Dependency health was assessed across the 95 of 99 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency19
Schema Quality & AI Usability71
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 375 tokens (~75/item across 5 items; 5 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 · ai-cost-analyzer

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

    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 7 Aug 2026 · Analysed npm/[email protected]

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm
Dependencies 95 packages
Packages resolved 95
Deprecated 95
Stale 29
Tree resolution Partial

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools · 5 exposed · ~375 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
analyze_usage ~56

Analyze AI API usage data and return cost breakdowns by model, average cost per request, token waste estimation, and daily/weekly trends.

NameTypeReqDescription
usage_dataarrayyesArray of API usage records with model, tokens, and timestamps

No output schema declared.

No examples provided.

compare_models ~93

Compare cost and quality tradeoffs across Claude, GPT-4o, GPT-4o-mini, and Gemini models for a given task. Returns cost per request, monthly projections, and recommendations.

NameTypeReqDescription
estimated_input_tokensintegerOverride estimated input tokens per request
estimated_output_tokensintegerOverride estimated output tokens per request
task_descriptionstringyesDescription of the task to compare models for

No output schema declared.

No examples provided.

estimate_savings ~76

Estimate potential monthly savings from prompt caching, model routing, and context pruning based on current usage patterns.

NameTypeReqDescription
monthly_multipliernumberIf the usage_data is a sample, multiply costs by this factor to project monthly totals (default: 1)
usage_dataarrayyesArray of API usage records representing current usage patterns

No output schema declared.

No examples provided.

get_pricing ~39

Return current pricing for all major LLM APIs (Claude, OpenAI, Gemini) with input, output, and cached token rates per million tokens.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

optimize_prompt ~111

Analyze a system prompt and tool definitions, return an optimized version with redundant content removed, token counts before/after, and cost reduction estimates.

NameTypeReqDescription
modelstringModel name for pricing calculation (default: claude-sonnet)
requests_per_monthintegerEstimated requests per month for cost projection (default: 10,000)
system_promptstringyesThe system prompt text to optimize
tool_definitionsarrayyesArray of tool definition strings (JSON or plain text)

No output schema declared.

No examples provided.