MCP.Market

LLM Cost Estimator MCP server

by waqarulwahab·io.github.waqarulwahab/llm-cost-estimator·v0.3.1·1 stars

Token counting & multi-model LLM cost estimates: GPT-4o, Claude, Gemini, 25+. No API key.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

1 stars33 downloads/wk

Reviews

Write one

Nobody has reviewed LLM Cost Estimator yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

LLM Cost Estimator tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan1 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 97 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How LLM Cost Estimator compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 65% of 4,460 AI and agents servers
GitHub stars
1
more than 50% of 2,711 AI and agents servers
Downloads a week
33
more than 22% of 1,538 AI and agents servers with a package

Install LLM Cost Estimator in Claude Code, Cursor or VS Code

Runs npx -y llm-cost-estimator-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add llm-cost-estimator -- npx -y llm-cost-estimator-mcp
Add to Cursor

What the publisher says

From the LLM Cost Estimator repository's README, as published. We do not edit it. Read it on GitHub

LLM Cost & Token Estimator

See how many tokens your prompt uses — and what it'll cost on GPT-4o vs. Claude vs. Gemini — right inside VS Code. No API key, no billing dashboard, no guessing.

Why this exists

When you're building an LLM-powered app, two questions come up constantly: how many tokens is this prompt? and what will this call cost? Today you either guess, paste into a web tokenizer, or check the provider's billing console after the fact — all of which pull you out of your editor.

This extension answers both questions inline, and it answers them for several models at once, so you can make a real price/quality trade-off ("~$X on GPT-4o, ~$Y on Claude Sonnet, ~$Z on Claude Haiku") without leaving the file you're working in. It's local-first and works with zero configuration — no API key required.

Demo

Hover any prompt (or select text) to see its token count and cost across your

models, side by side — cheapest first. Same comparison powers the CodeLens, the

live status bar, and the Comparison Panel. (animated version)

Features

your configured models, side by side. This is the whole point.

  • 🔀 Multi-model cost comparison — token count + estimated cost across all

plus Markdown/JSON/YAML/plaintext) to see the comparison inline.

  • 🛈 Hover tooltip — hover over a selection or a string literal (JS/TS/Python,

detected prompt strings in your code. Click it for the full breakdown.

  • 🔎 CodeLens on prompts — a token-count + cost lens appears right above

the status bar instantly (no command needed); the tooltip shows every model.

  • 📊 Live status bar — select any text and its token count + cost appear in

with a live output-token slider (recomputes instantly), sortable columns, and a "configured models only" filter.

  • 🗔 Comparison Panel — a visual dashboard comparing the whole catalog

Panel, and Select Models to Compare.

  • ⌨️ Commands — Estimate Selection, Estimate Clipboard, Open Comparison

DeepSeek, Mistral, Llama, Grok. Pick what you care about.

  • 🗂 25+ models — GPT-4o/4.1/o-series, Claude 4/3.7/3.5, Gemini 2.5/2.0/1.5,

reports the total estimated cost per run, with a clickable per-file breakdown.

  • 📁 Workspace scan — one command finds every prompt in your project and

settings; no need to edit bundled files.

  • ➕ Custom models — add your own models/prices (or a negotiated rate) in

context window.

  • ⚠️ Context-window warnings — a ⚠ appears when a prompt exceeds a model's

clipboard.

  • 📋 Copy as Markdown — drop a ready-to-paste comparison table on your

your machine; pricing is bundled. No network calls, no API key.

  • 🔒 Local-first, zero config — exact OpenAI tokenization runs entirely on

A note on accuracy

family, cl100k_base for GPT-4 / GPT-3.5) via js-tiktoken.

  • OpenAI models use real BPE tokenization (o200k_base for the GPT-4o

do not publish reliable local tokenizers, so their counts are approximated using an OpenAI encoding and are clearly marked with a ~ and a disclaimer in the UI. They're great for ballpark cost comparison, not for exact billing. (An optional API-based accurate mode is a candidate for a future release.)

  • Anthropic, Google, and everyone else (DeepSeek, Mistral, Llama, Grok, …)

Also available as an MCP server (use it in Claude / Cursor)

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

LLM Cost Estimator: common questions

Is LLM Cost Estimator MCP server safe?
Mostly: it is graded B (82/100). Read the LLM Cost Estimator safety report
How do I install LLM Cost Estimator?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does LLM Cost Estimator need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is LLM Cost Estimator maintained?
The last commit was 136 days ago (2026-06-21). The latest release is v0.3.1.
What can I use instead of LLM Cost Estimator?
Servers from other publishers that do the same job: llmtrim MCP server, PaperBanana MCP server and Commonly MCP server.
How does LLM Cost Estimator compare with other AI and agents MCP servers?
safety score 82/100 (higher than 65% of 4,460 AI and agents servers); github stars 1 (more than 50% of 2,711 AI and agents servers); downloads a week 33 (more than 22% of 1,538 AI and agents servers with a package). Full comparison.

Alternatives to LLM Cost Estimator

Same job from other publishers: the closest match first, then the best rated.

  • llmtrim
    MCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.
    A
  • PaperBanana
    Generate academic diagrams and statistical plots from text using multi-agent AI.
    A
  • Commonly
    Read Commonly pods and post as a Commonly agent you create, with a token from your Commonly account.
    A
  • mcptoon
    MCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).
    A
  • Spotifyscraper
    Public Spotify metadata, lyrics and podcasts for LLM agents. No API key, read-only.
    B