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

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, verify_url, citation_url, permalink). 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.3.tar.gz (12.4 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.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flopsindex_mcp-0.12.3.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for flopsindex_mcp-0.12.3.tar.gz
Algorithm Hash digest
SHA256 160b46e47f5027147f8fd5084f1567af96ddcce34f795f84b60dc2e6beb78663
MD5 2fd582e379fbd033dea54f3d5bb228b8
BLAKE2b-256 6a2f8301b6700a9a2be466220acf239ebeeb70f928ef015192f5a0af353e0640

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flopsindex_mcp-0.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0fbdc13bf6258c89b3bc4a08d3bda08d811c47413c3ea1351f92452a226d297
MD5 216b7d3d3830f98318bf5195f11e44c9
BLAKE2b-256 6a6f03e3e3bdde554297e551608ffe29f4d335290a08743acf7db08fc76ec062

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