
AI Price Index
io.github.RoninForge由 GitHub 帳號 RoninForge 發布v0.1.2更新於 Oct 24, 2026
Read-only, zero-key MCP server for point-in-time AI model API prices. Open data, CC BY 4.0.
發布方自己的服務:PriceWin
概覽
唯讀 MCP 伺服器,讓助理查詢 AI 模型 API 價格,包括某模型在指定日期的價格,並附上來源。
- 可以做什麼
- 查詢模型目前每百萬 token 的輸入與輸出價格及其來源
- 取得指定日期生效的價格,含最後驗證日期與信心程度
- 在同一個日期上並排比較多個模型的價格
- 把 token 用量(含快取讀取與快取寫入)換算成美元金額
- 列出已知模型 id 及其別名,可依供應商篩選
- 適用情境
- 適合助理需要引用或標註 AI 模型 API 價格時使用,尤其是查詢某個歷史日期的價格,或估算一批 token 用量的成本。對成本分析與報告類工作而言,是輕量的本機唯讀補充。
- 執行需求
- 需要 Node.js 18 或更新版本;伺服器以 stdio 在本機執行,通常透過 npx 啟動。執行時不需要 API 金鑰、帳號或網路存取,含日期的資料集已內建於相依套件中。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AI Price Index,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
ai-price-index-mcp
RoninForge ai-price-index-mcp is a read-only Model Context Protocol server that answers what an AI model's API price was on a given date, with the first-party source that proves it. It is MIT licensed, runs entirely on your machine, and requires no API keys.
Part of RoninForge.org, an independent open-source workshop that keeps dated, reproducible records of the AI developer tooling economy. It serves the open AI Price Index dataset to any MCP client, including Claude Code and Cursor.
Most pricing tools tell an agent what a model costs today. This one also answers what a model cost on a given date, and returns the first-party source URL plus the date that price was last validated, so the agent can cite the number. That point-in-time lookup is the differentiator.
- Zero keys, zero prompts, zero network at runtime. The dated dataset is bundled inline inside the
ai-price-indexdependency. The server reads it locally and adds nothing to your traffic. - Read-only. It only looks prices up. It cannot write, configure, or call out.
- Cite-ready. Every result carries
source_url,last_validated,confidence, and the CC BY 4.0 attribution string.
Install
Requires Node.js 18 or newer. No build step, no API key.
That command runs the stdio server; an MCP client launches it for you using the config below.
Client configuration
Drop this into your MCP client config. The server speaks stdio.
Claude Code (~/.claude.json or a project .mcp.json), and Cursor (~/.cursor/mcp.json), use the
same mcpServers shape:
Or, with Claude Code's CLI:
Tools
All tools return structured JSON as text content. Prices are usd_per_mtok (USD per million tokens).
Model ids resolve through the dataset's aliases, so short ids work (e.g. claude-opus-4-5 resolves to
claude-opus-4-5-20251101).
tokens for cost_from_usage accepts input, output, cache_read, cache_write_5m,
cache_write_1h (all optional, missing counts as 0). Cache read is 0.1x input, cache write is 1.25x
(5 minute) or 2x (1 hour).
Pass provider (for example openai, anthropic, google) to disambiguate a bare id that exists
under more than one vendor.
Example result
price_on with { "model": "gpt-4", "date": "2024-01-01" }:
How it works
This server is a thin wrapper over the ai-price-index
npm library, which ships the dated dataset bundled inline. There is no pricing logic, no separate data
layer, and no network call here. The data version a result reports is the dataset release that the
installed ai-price-index pins to. To move to newer prices, update that dependency.
Data license and attribution
The price data is from the AI Price Index and is licensed CC BY 4.0. When you publish anything derived from it, attribute it:
AI Price Index by RoninForge (https://roninforge.org/data/ai-price-index/), CC BY 4.0.
The code of this server is licensed MIT (see LICENSE). Data and tooling licenses are tracked upstream in the ai-price-index repository.
Links
來源:README.md,提交 fe50c11
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Price 整合
PriceWin
win.price官方發布者
遠端 MCP 伺服器,可即時比較 Booking.com、Agoda、Trip.com、Traveloka 等平台的飯店與機票價格,並向合作飯店送出訂房請求。

Mcp Amazon Product Price Stock Tracker
com.mambabuilt
透過 Apify actor 依 ASIN 或商品連結讀取 Amazon 價格、庫存、賣家與評分,並在多次執行之間提供變動列。

Postage Stamp Price MCP
由 GitHub 帳號 theluckystrike 發布
遠端 MCP 伺服器,讓助理在呼叫時從 USPS Notice 123 讀取目前美國郵政零售郵資價格,並計算信件郵資。

Silver Price Per Gram MCP
由 GitHub 帳號 theluckystrike 發布
按純度和貨幣檢視每克白銀即時價格、舊銀幣價值以及金銀比。AI 翻譯

Emalls Price Comparison
由 GitHub 帳號 sepehr071 發布
非官方、唯讀的 Emalls(emalls.ir)比價 MCP 伺服器,可搜尋伊朗商家商品、報價、價格歷史與店家資料。