LLM Prices CN MCP
A pricing dataset and MCP server for querying live LLM API prices and estimating token costs.
Install
docker build -t llm-prices-mcp . docker run -i --rm llm-prices-mcp # stdio MCP server # or, without Docker: pip install -r requirements.txt && python server.py
Add this to your Claude Code MCP settings or run via the CLI.
About
This repository provides a daily-verified dataset of LLM API prices for 44 models from Chinese and global vendors. The core data is stored in `prices.json` and includes model metadata, token pricing, context limits, and related fields. It also exposes the data through a remote MCP server for live price queries and cost estimation. The README lists tools for querying model prices and estimating costs, and it describes a local stdio MCP server that can run offline from the bundled dataset. For updates, the repository includes `sync_prices.py` to rebuild `prices.json` from upstream configuration sources. The project is licensed under CC-BY-4.0 and asks users to attribute LLM Abacus when reusing the pricing data.