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 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 — spot, on-demand and DePIN market types, e.g. FLOPS-H100-OD, FLOPS-A100-SPOT, FLOPS-A100-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.5.tar.gz (15.2 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.5-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flopsindex_mcp-0.12.5.tar.gz
Algorithm Hash digest
SHA256 60566b6219b3ffebd143ee879d4b1bf62f1f9259d6f856a30224a4ffadb77c1f
MD5 4b9e69002f8e155e8836591a75ce1d82
BLAKE2b-256 7b4b72bbcb046e3e82de7d6eb2e335f405ddbc47ef508d34effb5abda0583954

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flopsindex_mcp-0.12.5-py3-none-any.whl
Algorithm Hash digest
SHA256 12ef2e4225fa30c9830e9752e659889fed4e32902fddfaf5b329da0907bb5779
MD5 c9497d249de528eb9f5b989a4b7fb9cc
BLAKE2b-256 1011e9ab5243198c75233118452a87441fa1f262893d4419a06683ddcac72fc0

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