Skip to main content
Glama

rubric-attested-mcp

MCP server that exposes Rubric Protocol's live, attested price feeds as tools for any MCP-wired agent (Claude Code, Cursor, Windsurf, etc). Handles the x402 402 -> pay -> retry flow automatically via Coinbase's official x402-fetch.

Why this instead of any other price feed: every response is signed with ML-DSA-65 (FIPS 204 post-quantum) and anchored to Hedera Consensus Service. The returned attestationId can be independently verified forever at rubric-protocol.com/v1/verify/:attestationId — free, public, no further trust in Rubric required.

Rubric's own agent identity is registered on-chain at ERC-8004 Identity Registry (0x8004A169FB4a3325136EB29fA0ceB6D2e539a432, Base mainnet).

Tools

get_attested_price

Paid ($0.02 USDC via x402 on Base mainnet). Live spot price for a Base-mainnet asset pair read straight from Chainlink aggregators via eth_call.

  • symbol (string, required) — e.g. "ETH", "BTC/USD"

  • proof (boolean, optional) — include the raw Chainlink round tuple + a disclosed commitment opening for independent recomputation ($0.25 instead)

  • at (string, optional) — ISO-8601 timestamp for a historical price instead of latest ($0.50)

list_attested_services

Free. Returns Rubric's live x402 service catalog (rubric-protocol.com/.well-known/x402.json) — every priced route, price, network, and description.

Related MCP server: oom-x402-mcp

Install

npm install -g rubric-attested-mcp

Configure

Add to your MCP client config (Claude Code, Cursor, Windsurf, etc):

{
  "mcpServers": {
    "rubric-attested": {
      "command": "rubric-attested-mcp",
      "env": {
        "RUBRIC_MCP_PAYER_KEY": "0x<your-base-mainnet-wallet-private-key>"
      }
    }
  }
}

RUBRIC_MCP_PAYER_KEY is an EOA private key funded with USDC on Base mainnet — it pays for get_attested_price calls directly (EIP-3009 exact scheme, no smart account/bundler needed). list_attested_services works with no key configured.

Develop

npm install
npm run build
npm start

License

MIT

Available Tools

2 tools
get_attested_priceGet attested price (Rubric Protocol)A

Live spot price for a Base-mainnet asset pair (e.g. 'ETH', 'BTC', 'SOL'), read straight from Chainlink aggregators via eth_call — no cached feed, no third-party price API in the trust path. Pays Rubric Protocol $0.02 USDC per call via x402 (auto pay-and-retry on the 402; needs RUBRIC_MCP_PAYER_KEY funded with USDC on Base mainnet). The differentiator: every response is sealed with an ML-DSA-65 (FIPS 204 post-quantum) signature and anchored to Hedera Consensus Service — the returned attestationId can be independently verified forever at rubric-protocol.com/v1/verify/:attestationId, free, with no further trust in Rubric required. Set proof:true ($0.25) for the raw Chainlink round tuple + a disclosed commitment opening so a third party can recompute the receipt themselves; set at: ($0.50) for a historical price walked from on-chain round history instead of the latest one.

Inputs: symbol (required), at, proof.

list_attested_servicesList Rubric's attested x402 servicesA

Free, unpaid. Returns Rubric Protocol's live x402 service catalog (fetched fresh from rubric-protocol.com/.well-known/x402.json) — every paid route Rubric exposes, its price, network, and description, including but not limited to the attested-price family. Every listed route returns an ML-DSA-65 + Hedera-anchored receipt with its response; use this to discover exact resource paths and prices before calling get_attested_price or another route directly.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: get_attested_price retrieves a paid, attested price quote, while list_attested_services provides a free catalog of available services. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    Both names follow a consistent snake_case verb_attested_noun pattern: get_attested_price and list_attested_services. The convention is predictable and easy to parse.

    Tool Count3/5

    Only two tools are exposed, which is a thin surface for a protocol gateway that mentions broader paid routes and an attested service catalog. A discovery tool plus a single price tool is focused but borders on under-scoped.

    Completeness3/5

    The price tool supports useful variants like proof and historical timestamps, and the catalog is free, but there is no generic tool to call other paid routes discovered via list_attested_services and no in-MCP verification tool despite verification being a core advertised property. These are notable gaps for the apparent protocol-access purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Eight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.
      8
      107 npm
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      MCP server exposing 1,000+ pay-per-call API endpoints across agent infrastructure (memory, coordination, secrets, verification), data, compute, finance, weather, geography, and reference categories — payments via x402 protocol in USDC on Base.
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Exposes Base mainnet chain query tools over MCP, letting clients fetch an address's native balance and current gas fee estimates (slow/standard/fast urgency) from an upstream HTTP API. Paid tools are gated by x402 micropayments settled through the CDP facilitator, with a free health check and a documented free-trial allotment.
      -