1. Conduid
  2. Blockchain
  3. Tokencost MCP Server
MCP server · Blockchain

Tokencost MCP Server

An MCP (Model Context Protocol) server that provides real-time LLM token pricing data for 60+ AI models across 15 providers.

34Low

Scored 6 months ago · breakdown

About Tokencost MCP Server

Tokencost MCP Server is an MCP server in the Blockchain category: an MCP (Model Context Protocol) server that provides real-time LLM token pricing data for 60+ AI models across 15 providers.

Install

From source
git clone https://github.com/ankit-aglawe/tokencost-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (6)

tokencost_compare_modelsSide-by-side pricing comparison

Parameters not published.

tokencost_estimate_costCalculate cost for given token counts

Parameters not published.

tokencost_find_cheapestFind cheapest models with filters

Parameters not published.

tokencost_get_model_pricingGet pricing for a specific model

Parameters not published.

tokencost_list_modelsList all available models

Parameters not published.

tokencost_list_providersList all providers with pricing ranges

Parameters not published.

Ask AI

✦

Ask AI about Tokencost MCP Server

Powered by Claude · Grounded in docs

I know everything about Tokencost MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

TokenCost MCP Server

An MCP (Model Context Protocol) server that provides real-time LLM token pricing data for 60+ AI models across 15 providers.

Query, compare, and estimate costs for models from OpenAI, Anthropic, Google, Meta, xAI, Mistral, DeepSeek, and more — directly from your AI assistant.

Built by TokenCost — the free LLM token cost calculator.

Tools

Tool Description
tokencost_get_model_pricing Get pricing for a specific model
tokencost_compare_models Side-by-side pricing comparison
tokencost_estimate_cost Calculate cost for given token counts
tokencost_find_cheapest Find cheapest models with filters
tokencost_list_models List all available models
tokencost_list_providers List all providers with pricing ranges

Quick Start

Claude Desktop / Cursor / Windsurf

Add to your MCP config:

{
  "mcpServers": {
    "tokencost": {
      "command": "npx",
      "args": ["-y", "tokencost-mcp-server"]
    }
  }
}

From Source

git clone https://github.com/ankit-aglawe/tokencost-mcp-server
cd tokencost-mcp-server
npm install
npm run build
npm start

Example Usage

"How much would it cost to process 1M input tokens with GPT-5?"

→ Uses tokencost_estimate_cost with model="gpt-5", input_tokens=1000000, output_tokens=0

"Compare Claude Sonnet 4.6 vs GPT-5 vs Gemini 3 Pro pricing"

→ Uses tokencost_compare_models with ["claude-sonnet-4.6", "gpt-5", "gemini-3-pro"]

"What's the cheapest model with at least 200K context?"

→ Uses tokencost_find_cheapest with min_context=200000

Supported Providers

OpenAI, Anthropic, Google, xAI, Meta, Mistral, DeepSeek, Alibaba (Qwen), Amazon (Nova), NVIDIA, Cohere, Perplexity, Moonshot (Kimi), Zhipu (GLM), MiniMax

Pricing Data

Pricing is kept accurate and up to date by the TokenCost team. We track official provider announcements and update pricing as soon as changes are published — new models, price cuts, and deprecations are reflected within days.

If you notice outdated pricing or a missing model, open an issue and we'll get it updated.

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Tokencost MCP Server

How do I install Tokencost MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Tokencost MCP Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Tokencost MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.