Skip to main content
Glama
flopsindex-mcp

flopsindex-mcp

flopsindex

Reference rates for compute economics — public price indices for GPU rentals (spot, on-demand, DePIN). Every published value carries a verify URL your code can check against the public index.

PyPI · flopsindex-mcp PyPI · flopsindex npm · @flopsindex/sdk License: Apache 2.0


Try it in one line

# MCP server (Claude Code, Cursor, Windsurf, ChatGPT desktop, ...)
pip install flopsindex-mcp && claude mcp add flopsindex -- flopsindex-mcp

# Python REST SDK
pip install flopsindex

# TypeScript / JavaScript SDK
npm i @flopsindex/sdk

# Or skip install — hit the hosted MCP gateway
# https://app.flopsindex.com/mcp   (anonymous, zero-config)

Or to your agent: "Get me the current FLOPS price for an H100 on-demand and show me the verify URL."


Related MCP server: @inferra-trade/mcp-server

What's distinctive

Source-opaque by contract. Every public payload returns a value plus citation and verify URLs — nothing about how the value was produced.

One surface, two access modes.

  • Anonymous → delayed public price for the published FLOPS index family (FLOPS-{model}-{OD|SPOT|DEPIN}), delayed onto a ~6h grid (as_of snaps to 00/06/12/18 UTC). Indicative reference — not for settlement. The citation surface, designed for LLM/agent discovery and academic reference. The family spans many accelerator models (NVIDIA data-center and workstation GPUs plus AMD Instinct), not just H100 — enumerate the live set via /v2/catalog/public; it grows as coverage crosses the ≥3-source floor.

  • Keyed (X-FLOPS-Api-Key) → the same five tools at full precision.

A partner tier with higher fidelity and expanded coverage is available — contact team@flopsindex.com.


Features

  • Five key-free tools — list_indices, search_indices, get_price, get_index, verify. No API key, no signup, no configuration.

  • Every value carries a verify URL — check any published number against the index from your own code. verify returns whether a cited value matches.

  • Spot, on-demand and DePIN reference prices per chip and market type.

  • Three vendors — NVIDIA data-center and workstation GPUs, AMD MI300X, and Intel Gaudi 2. Enumerate the live set via /v2/catalog/public.

  • Source-opaque by contract — the value plus citation and verify links, never the inputs behind it.

  • Delayed onto a ~6h grid (00/06/12/18 UTC), 2dp values, banded 24h change, label confidence. Indicative reference — not for settlement.

  • Zero install or local — hosted MCP gateway at https://app.flopsindex.com/mcp, or uvx flopsindex-mcp.

  • SDKs included — Python (flopsindex), TypeScript (@flopsindex/sdk), and LangChain / LlamaIndex (langchain-flopsindex).


What's in this repo

Path

What

mcp/

The flopsindex-mcp server — stdio MCP, 5 public tools (list_indices · search_indices · get_price · get_index · verify) + a flops://index/<INDEX_ID> resource. Published on PyPI.

sdk/python/

The flopsindex Python REST SDK — published on PyPI.

sdk/typescript/

The @flopsindex/sdk TypeScript / JavaScript REST SDK — published on npm.

schema/

compute-index-spec.v0.1 — the public payload schema (JSON Schema) + a worked example.

openapi.json

OpenAPI 3 description of the public surface.

llms-full.txt

Extended public-surface reference for LLM/agent discovery — source-opaque, 6 endpoints, 14-field envelope. Mirror of the hosted /llms-full.txt.


Verify a value yourself

curl -s https://app.flopsindex.com/v1/price/FLOPS-H100-OD | jq
#   value:            2.95            (USD/GPU-hr, 2dp)
#   unit:             USD/GPU-hr
#   as_of:            2026-07-13T12:00:00Z   (delayed to a ~6h grid: 00/06/12/18 UTC)
#   data_tier:        LIVE
#   confidence:       HIGH            (HIGH | MED, label only)
#   change_24h:       FLAT            (banded: UP | FLAT | DOWN)
#   disclaimer:       indicative reference; not for settlement
#   methodology_url:  /i/FLOPS-H100-OD/methodology
#   verify_url:       /v1/verify?...
#   citation_url:     /cite?...
#   permalink:        /i/FLOPS-H100-OD
#   ... source-opaque public payload only.

The same value is reachable via the SDK and via the MCP get_index tool — every path returns the same source-opaque payload.


Public surface

Endpoint

What

/mcp

Hosted MCP gateway — same 5 public tools, no install

/v2/catalog/public

Public catalog — every live index id (spot, on-demand and DePIN)

/.well-known/agent.json

Agent2Agent (A2A) discovery card

/llms.txt

LLM-discovery manifest

/llms-full.txt

Deeper agent-context blob

/cite

Citation guide for AI answer engines

/i/<INDEX_ID>

Permalink page with schema.org JSON-LD

/i/<INDEX_ID>/methodology

Public methodology page (linked from methodology_url)

/v1/verify

Verify a published value against the index


License

Apache License 2.0 — see LICENSE and NOTICE.

Apache 2.0 governs the source code in this repository (SDKs, MCP server, schema, examples). The underlying price data, the FLOPS trademark, and the hosted index methodology are the proprietary work of FLOPS Index; use of the published APIs is governed by the terms at flopsindex.com.


Contributing

  • Bug reports + small fixes welcome via Issues / PRs.

  • Contributions are welcome. Use only the public index identifiers from /v2/catalog/public.

  • For partner-tier access, contact team@flopsindex.com.


Status

Package

Channel

flopsindex-mcp

pypi.org/project/flopsindex-mcp/

flopsindex (REST SDK)

pypi.org/project/flopsindex/

@flopsindex/sdk

npmjs.com/package/@flopsindex/sdk

Public surface, gateway, and catalog: app.flopsindex.com.

Available Tools

5 tools
get_indexAInspect

Resolve a FLOPS index to its source-opaque PUBLIC payload (the public citation contract). Returns {index_id, value, unit, as_of, data_tier, confidence, verify_url, citation_url, permalink}. Prefer this when you intend to CITE the value. Also exposed as the MCP resource flops://index/<INDEX_ID>.

Inputs: index_id (required).

get_priceAInspect

Fetch the current published value for a FLOPS compute price index. Returns the published envelope as-is: {index_id, value, unit, as_of, delayed, data_tier, confidence, change_24h, disclaimer, methodology_url, verify_url, citation_url, permalink, upgrade} -- the 14-field envelope. Values are delayed and indicative. Use get_index for the reduced, citation-only payload.

Inputs: slug (required).

list_indicesAInspect

List all public FLOPS compute-price indices. Returns {count, indices[]} where each row is {index_id, family, value, unit, as_of, confidence, change_24h, delayed}. Use this to discover available indices before calling get_index or verify. No auth required.

Inputs: family_filter.

search_indicesAInspect

Resolve a free-text query to canonical FLOPS index slugs. Use when you don't know the exact slug — e.g. 'H100 spot' returns matching catalog entries.

Inputs: q (required), limit.

verifyAInspect

Check a FLOPS index value against the published index. Pass value with a number you are about to cite (or already hold) and the response tells you whether it is right: verified true/false, expected (what you submitted), actual_value (what FLOPS publishes) and delta_pct. Omit value to simply look up the current published value — then verified is null, which means 'not checked', NOT 'correct'. Note: without an API key you are checked against the public value, which is rounded to 2 decimals and delayed onto a 6-hour grid, so a full-precision real-time number will not match anonymously.

Inputs: index_id (required), value.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools are clearly distinct: list_indices and search_indices serve discovery, verify checks a submitted value, and get_price/get_index fetch values. The only potential confusion is between get_price and get_index, but their descriptions clearly differentiate (full envelope vs. citation payload), so agents can pick correctly.

    Naming Consistency4/5

    Names follow a consistent verb_noun pattern: list_indices, search_indices, get_price, get_index. The outlier is 'verify', a bare verb lacking an explicit object, but it's still readable and fits the action-oriented style. Overall the pattern is predictable with one minor deviation.

    Tool Count5/5

    Five tools is a well-scoped number for a FLOPS index service. Each tool serves a distinct purpose (list, search, verify, fetch full, fetch citation), leaving no redundant or missing core operations. The count is appropriate for the domain.

    Completeness5/5

    The set covers the full lifecycle of working with FLOPS indices: discovering available indices (list_indices, search_indices), retrieving current values (get_price, get_index), and verifying cited values (verify). No obvious gaps exist; the read-only nature of the service means no update/delete is expected. The inclusion of a citation-specific payload further completes the workflow.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to retrieve live GPU rental prices, compare models, and access market summaries and historical price data through four read-only MCP tools.
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables agents to query live cloud GPU pricing, stock availability, and up to 12 months of price history across 30+ hyperscalers, neoclouds, and marketplaces, including comparisons of cheapest listed versus cheapest in-stock offers. All tools are read-only, with provider listings and GPU catalogs available at no cost.
      8
      81 npm
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Gives agents ten read-only tools over a free, keyless AI inference price index API, covering latest values, full series history, the model price basket, launches and price changes, speed, open vs closed comparisons, self-hosting, and cost per completed task. Enables looking up and comparing what AI inference costs without authentication.
      -