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.4.tar.gz (15.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.4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flopsindex_mcp-0.12.4.tar.gz
  • Upload date:
  • Size: 15.4 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.4.tar.gz
Algorithm Hash digest
SHA256 373191c808828b72976419cab41e4d0d12dba7f95a822d38738ee71de4ad774e
MD5 7b8b9dba9b38c203c4e866b78f7cdfb4
BLAKE2b-256 b931108681fefcd4353573dfbec488ad5087ea534ce971fbe7f15ae3142b84d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flopsindex_mcp-0.12.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f21f929a5ee8ac8c85774b6e7809eaa12d7d42b64e5bffda9b0b6ac2f8a70924
MD5 ea73f0658d4ab0560d9d13e489346fe7
BLAKE2b-256 fe16e7ba13a2de14a1493e73a6b3652d5ace456a068210baf6ac42bd33230e02

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