Server data from the Official MCP Registry
Live AI compute pricing oracle — real-time LLM model prices across providers
Live AI compute pricing oracle — real-time LLM model prices across providers
A well-structured MCP server for AI compute pricing with strong security fundamentals. Authentication is not required (reads public Oracle API data), permissions are appropriately scoped to network HTTP calls and environment variables, and code quality is high with proper error handling and input validation. Minor issues around error handling breadth and lack of explicit rate limiting do not significantly impact security. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
5 files analyzed · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-compute-finance-mcp": {
"args": [
"-y",
"@compute-finance/mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
Live AI compute pricing oracle — real-time LLM model prices across providers (Anthropic, OpenAI, Google, xAI) via the Compute Finance Oracle.
A stdio MCP server. Works in any MCP client. Includes optional Claude Code skills for session cost analysis.
npx @compute-finance/mcp setup
This single command:
claude mcp add)/cf-session-management, /cf-session-consumption, /cf-active-sessions)UserPromptSubmit hook that injects session cost into Claude's context so every response can show how much you've spentRestart Claude Code after setup.
Or register manually without skills/hook:
claude mcp add --scope user compute-finance -- npx @compute-finance/mcp
Add to your MCP config (.cursor/mcp.json, VS Code settings, etc.):
{
"mcpServers": {
"compute-finance": {
"command": "npx",
"args": ["@compute-finance/mcp"]
}
}
}
git clone https://github.com/compute-finance/mcp.git
cd mcp
npm install && npm run build
npx . setup
17 tools across five layers — no API key required. All tools are read-only.
| Tool | Description |
|---|---|
data_get_basket | All models with provider, family (e.g. openai.gpt, anthropic.claude), USD prices per million tokens, and per-component cache pricing (read, write-5m, write-1h) with provider attribution |
data_get_price | Price for a single model (e.g. claude-opus-4.7) |
data_get_scu | Current Standard Compute Unit — value plus a methodology-versioned breakdown listing every family representative |
data_get_breakdown | Per-family blended-cost breakdown alone — methodology-versioned discriminated union with one entry per family representative |
data_get_cpi | Full Compute Price Index — basket with scuUsd, version, raw/marked-up prices |
data_get_reconstitutions | Historical basket changes — model swaps, SCU before/after |
data_get_methodology | Methodology changelog — every version with its formula summary and spec link, plus the version in force |
data_get_history | SCU index time series over a date range — per-revision, daily, or weekly granularity; daily/weekly buckets carry the last revision's value forward across empty buckets |
data_get_model_price_history | Per-model input/output USD price time series for a model that has appeared in the SCU basket — same granularity semantics as data_get_history, with catchup gaps surfaced in unavailableRevisions |
Cache pricing comes from the Compute Finance Oracle. Session and consumption reports show effective (cache-aware) cost when the oracle has published the relevant cache components; otherwise they show nominal cost (input rate applied to every input variant) and label effective as unavailable for that model.
| Tool | Description |
|---|---|
compute_estimate | Nominal USD cost for a model given input/output token counts |
compute_compare | Rank all basket models by cost for a workload, grouped by family |
| Tool | Description |
|---|---|
render_session_report | Pre-formatted session cost report — used by /cf-session-management |
render_consumption_report | Pre-formatted per-inference breakdown — used by /cf-session-consumption |
render_active_sessions | Overview of recent sessions across projects — used by /cf-active-sessions |
Reports surface three orthogonal counts: prompts (what you typed), inferences (assistant replies — tool-loop sessions produce several per prompt), and tool calls (tool_use blocks). The triplet is identical across all three reports for the same session.
| Tool | Description |
|---|---|
analyze_session | Raw JSON session analysis (for custom UI, not skills) |
analyze_inferences | Raw JSON per-inference breakdown (for custom UI, not skills) |
| Tool | Description |
|---|---|
telemetry_get_history | Aggregate stats across logged sessions — cumulative cost, per-profile medians, insights |
The setup command installs a UserPromptSubmit hook into ~/.claude/settings.json. Every time you send a message, the hook reads the current session transcript, prices it against the live oracle, and injects a cost summary into Claude's context via additionalContext. Claude then appends a 💰 Compute.Finance · … line at the end of its response.
Guards — the hook fires only when all three conditions are met:
On any failure (oracle down, transcript missing, parse error) the hook exits silently — it never blocks your prompt.
If setup can't write to settings.json, add the hook manually:
{
"hooks": {
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "npx @compute-finance/mcp hook-prompt"
}
]
}
]
}
}
Remove the UserPromptSubmit entry from ~/.claude/settings.json.
All data stays on your machine. The only network calls are unauthenticated GETs to api.compute.finance/v1/oracle/*. Session logs (~/.compute-finance/sessions.jsonl, ~/.compute-finance/inferences.jsonl) are never uploaded.
Be the first to review this server!
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption