flopsindex-mcp

See also โ Python SDK flopsindex ยท TypeScript SDK @flopsindex/sdk ยท live catalog app.flopsindex.com/v2/catalog/public
MCP server for the FLOPS public compute price indices โ catalog, search, price lookup, and verification over stdio. Works with Claude, Cursor, Windsurf, or any MCP-capable host.
Monorepo โ flopsindex ยท Public access overview
Public access
This package exposes the public FLOPS index surface only: citeable reference rates with verify and permalink URLs. Index construction methodology is not published in this repository โ see flopsindex.com and the public access overview.
| Access | What you get | How (this package) |
|---|
| Anonymous (default) | Delayed public price (~6h grid; indicative, not for settlement) for the FLOPS family (FLOPS-SPOT, FLOPS-OD, FLOPS-DEPIN). Built for agents, citation, and lookup. | No API key โ stdio server or hosted /mcp |
| Keyed | Same five tools at real-time, full precision. | Set FLOPS_API_KEY (forwarded as X-FLOPS-Api-Key) |
| Partner | Higher fidelity, expanded coverage, and additional detail beyond the public delayed surface. | team@flopsindex.com |
If you need more than delayed public rates โ e.g. production-grade latency, broader index families, or deeper commercial terms โ reach out to team@flopsindex.com to discuss partner options.
Five public, key-free tools:
| Tool | Description |
|---|
list_indices | Enumerate all public FLOPS indices. Optional family_filter substring (e.g. FLOPS-H100). |
search_indices | Free-text search across the public catalog (resolves to slugs). |
get_price | Latest published price + confidence for one index. |
get_index | Source-opaque public payload โ the citation shape (index_id, value, unit, as_of, data_tier, confidence, change_24h, disclaimer, methodology_url, verify_url, citation_url, permalink, upgrade). Use this when you intend to cite a value. |
verify | Latest published value + verify metadata for a given index_id. |
Resources
Every public index is also exposed as an MCP resource:
| URI | Returns |
|---|
flops://index/<INDEX_ID> | Same source-opaque payload as get_index, mimeType: application/json. |
list_resources enumerates one entry per catalog index; read_resource("flops://index/FLOPS-H100-OD") resolves the live value.
Install
uv tool install flopsindex-mcp
pip install flopsindex-mcp
Setup
Point your MCP host at the server. Config file location depends on the client (Claude Code, Cursor, Windsurf, etc.):
{
"mcpServers": {
"flopsindex": {
"command": "flopsindex-mcp"
}
}
}
Or use the hosted gateway at https://app.flopsindex.com/mcp โ same five tools, no local install.
Environment
| Var | Default | Purpose |
|---|
FLOPS_API_URL | https://app.flopsindex.com | Override base URL |
FLOPS_API_KEY | (none) | Optional. Upgrades the five public tools to full precision. |
License
Apache License 2.0 โ see LICENSE and NOTICE.