corpusAI Cloud Pricing

v0.1.6
io.github.JTraversa/corpus-cloud-pricing-mcp Checked 2 days ago Published 2 months ago

Cloud, GPU and LLM token prices with index fixings.

Values you need

VariableWhat it is
CORPUS_PAYER_KEYoptional secret EVM private key of a wallet with a Circle Gateway USDC balance; paid tools pay for themselves. Omit to use only the free tools.
CORPUS_CHAINoptional Circle Gateway chain to pay on, as the Gateway SDK names it: base, ethereum, arbitrum, optimism, polygon, avalanche, unichain, sonic, worldChain, sei, hyperEvm or arc. Default: base
CORPUS_MAX_USDCoptional Spend cap per call in USDC; calls priced above it are refused. Default: 0.10
CORPUS_BASE_URLoptional API origin; leave unset for https://cloud.trycorpus.ai.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add corpus-cloud-pricing-mcp -- npx -y corpus-cloud-pricing-mcp@0.1.6
Add to claude_desktop_config.json
{
  "mcpServers": {
    "corpus-cloud-pricing-mcp": {
      "args": [
        "-y",
        "corpus-cloud-pricing-mcp@0.1.6"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "corpus-cloud-pricing-mcp": {
      "args": [
        "-y",
        "corpus-cloud-pricing-mcp@0.1.6"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "corpus-cloud-pricing-mcp": {
      "args": [
        "-y",
        "corpus-cloud-pricing-mcp@0.1.6"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.corpus-cloud-pricing-mcp]
command = "npx"
args = ["-y", "corpus-cloud-pricing-mcp@0.1.6"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http corpus-cloud-pricing-mcp https://cloud.trycorpus.ai/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "corpus-cloud-pricing-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://cloud.trycorpus.ai/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "corpus-cloud-pricing-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://cloud.trycorpus.ai/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "corpus-cloud-pricing-mcp": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://cloud.trycorpus.ai/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.corpus-cloud-pricing-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://cloud.trycorpus.ai/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: catalog, instances, gpu_models, index_tickers, status, spot_daily, spot_hourly, spot_events, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json