MCP 伺服器

LLM Prices CN MCP

A pricing dataset and MCP server for querying live LLM API prices and estimating token costs.

01d ago
來源

安裝

docker
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

把這段加入 Claude Code MCP 設定,或直接透過 CLI 執行。

介紹

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.

標籤

mcppricingllmdatasetcost-estimation