Skip to main content

MCP server for FLOPS public compute indices — catalog, search, price, verify. Works with Claude, Cursor, Windsurf, or any MCP host.

Project description

flopsindex-mcp

PyPI release mirror. Source of truth: flopsindex monorepo (mcp/). Refresh with flopsindex/scripts/sync-publish.ps1 before publishing.

PyPI version PyPI - Python Version PyPI Downloads Live API License: Apache 2.0

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.

Monorepoflopsindex · 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/terms and the monorepo 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.

Tools

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
# or
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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flopsindex_mcp-0.12.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flopsindex_mcp-0.12.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file flopsindex_mcp-0.12.0.tar.gz.

File metadata

  • Download URL: flopsindex_mcp-0.12.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for flopsindex_mcp-0.12.0.tar.gz
Algorithm Hash digest
SHA256 290b0c44ee4d76591d22be9715e4176ad91ee3441b845eaa6078be5daca76ac6
MD5 a0999af24fe1b5c26bdac8ae0fd7d5f8
BLAKE2b-256 162b5d53550573d8a2f76b736bb8bcb740955c7e536be82ac289619bfaf84ff8

See more details on using hashes here.

File details

Details for the file flopsindex_mcp-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flopsindex_mcp-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d48da0513e672e55d7e29dae22a63046f881c20bd710b74682301cf5d9ce0ba1
MD5 6604140cb42ae11334ecae0aef573c78
BLAKE2b-256 f8e7f64d19e54ea715329e7f9844137f1b839247122043b8097452dbfbc1c527

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page