MCP and API
Rigstock's MCP server gives an AI agent five read-only tools. It has no wallet and holds no key, so it cannot sign or send anything. When you want to stack, the agent can only point you to the Stack page, where your own wallet signs.
Add it to your tool
The server lives in the mcp folder of the Rigstock repository. Install it once with npm install inside that folder, then:
Claude Code
claude mcp add rigstock -- node /path/to/rigstock/mcp/index.mjsCodex (in ~/.codex/config.toml)
[mcp_servers.rigstock] command = "node" args = ["/path/to/rigstock/mcp/index.mjs"]Cursor (in .cursor/mcp.json)
{ "mcpServers": { "rigstock": { "command": "node", "args": ["/path/to/rigstock/mcp/index.mjs"] } } }Set RIGSTOCK_API to the Rigstock site the tools should read (default http://127.0.0.1:4900). A Holder session token in RIGSTOCK_TOKEN raises the limit.
Tools
| Tool | What it returns |
|---|---|
| get_cards | Every GPU card on Nosana with its hourly node rate, daily and monthly estimates, and demand. |
| get_market | Totals for the Nosana market, jobs completed, USD paid to nodes, and every market's rate and demand. |
| get_node_earnings | A node wallet's NOS payouts over 30 days, read from the chain. Takes wallet. |
| get_nvdax_price | NVDAx on Solana next to NVDA (delayed), the gap, and the official mint. |
| get_stack_quote | What NOS, SOL or USDC would become in NVDAx after the 0.5% fee. Takes from and amount. Read only. |
Ask your agent things like: which card earns most on Nosana right now, how much did my node earn this month, or what would 25 NOS stack into.
Public API
| Request | Returns |
|---|---|
| GET /api/v1/cards | cards and rates |
| GET /api/v1/market | the market right now |
| GET /api/v1/node?wallet=<address> | node earnings (poll while status is reading) |
| GET /api/v1/price | NVDAx, NVDA (delayed), NOS, SOL, USDC |
| GET /api/v1/quote?from=NOS&amount=25 | read-only stack quote |
Free: 30 requests a minute per client. Holder: 300 a minute with Authorization: Bearer <token> from a signed wallet message (POST /api/v1/session); the Holder tier opens when $RIGS launches. Every answer says when its figures were read. Rate limit headers: x-ratelimit-limit, x-ratelimit-remaining.