Roundhouse MCP API
The same endpoints as Model Context Protocol tools, gated by the same API key. See `./mcp-tools` for the tool registry.
The same endpoints as Model Context Protocol tools, gated by the same API key. See `./mcp-tools` for the tool registry.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/roundhouseai-io:roundhouseai-io-mcp-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Roundhouse read MCP API
version: '0'
summary: The x402 settlement index and agent identity record, as JSON.
description: 'Public, read-only, and free to start — no key required. Roundhouse indexes x402
settlements and ERC-8004 identities into one queryable record.
Two conventions worth knowing before you build against it:
- **An empty array is an answer; a failure is not.** A refused query returns 503
`upstream_unavailable` naming the resource, never 200 with an empty list. On a
settlement index "no rows" would read as "nothing ever happened".
- **Aggregates are per-entity.** Every figure is one wallet''s or one pair''s own. Site-wide
totals are deliberately confined to the /stats page and are not served here.
Cursor-paginated lists carry `next_before`; pass it back as `?before=`. The leaderboard is
the exception and pages by `?offset=`.
Every endpoint here is also a Model Context Protocol tool at `POST /v0/mcp`, gated by the
same API key. See https://roundhouseai.io/docs/api/mcp.'
license:
name: Roundhouse terms
url: https://roundhouseai.io/terms
contact:
name: Roundhouse
url: https://roundhouseai.io/docs/api
servers:
- url: https://api.roundhouseai.io/v0
description: Canonical base URL. The API worker on its own host, isolated from the dashboard.
- url: https://roundhouseai.io/api/v0
description: The same API through the dashboard origin. Same responses, one more hop; needs no CORS from a browser on that origin.
tags:
- name: MCP
description: The same endpoints as Model Context Protocol tools, gated by the same API key. See `./mcp-tools` for the tool registry.
paths:
/mcp:
post:
operationId: mcp
summary: Model Context Protocol endpoint
description: 'Every endpoint in this document, as MCP tools, over stateless Streamable HTTP. POST one JSON-RPC 2.0 message per request: `initialize`, `ping` and `tools/list` need no key; a `tools/call` is forwarded to the endpoint the tool wraps and answered by that endpoint''s own gate, so the key requirement, the rate limit and the Query Unit charge are identical to calling it directly. Versioned with the rest of this surface: MCP negotiates the wire protocol, not whether a tool still takes the arguments it takes today. There is no server-initiated SSE stream and no session id, so `GET` and `DELETE` answer 405.'
tags:
- MCP
responses:
'200':
description: Success.
content:
application/json:
schema:
type: object
properties:
jsonrpc:
description: Always `2.0`.
id:
description: The request's own id, echoed.
result:
description: 'On a `tools/call`: `content` (one text part carrying the endpoint''s JSON response verbatim) and `isError`. A failed read sets `isError` and keeps the reason — it is never an empty result.'
error:
description: 'Present instead of `result` when the caller cannot proceed: `-32001` no or bad API key, `-32002` a paid plan or an x402 payment is needed (the requirements are in `data.body`), `-32003` rate limited (`data.retry_after` seconds), `-32601` unknown method, `-32602` unknown tool or argument.'
'400':
description: The body is not a JSON-RPC 2.0 object, or is a batch (batching was removed in MCP 2025-06-18).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'405':
description: GET or DELETE — this endpoint is stateless and offers no stream to resume.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: '`upstream_unavailable` — the underlying query was refused. An empty array is a real answer; this is not one.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
description: One JSON-RPC 2.0 message. `tools/list` names every tool and its arguments; a tool takes exactly the parameters its endpoint takes, and an unrecognised argument is refused rather than ignored.
content:
application/json:
schema:
type: object
example:
jsonrpc: '2.0'
id: 1
method: tools/call
params:
name: list_flows
arguments:
limit: 5
security:
- {}
- bearerAuth: []
- apiKeyHeader: []
components:
schemas:
Error:
type: object
description: Errors never echo the query or PostgREST's `details`/`hint`, both of which would leak the statement and its filter values.
properties:
error:
type: string
description: Stable machine-readable code.
detail:
type: string
description: Human-readable explanation. May be absent.
required:
- error
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An `rh_live_…` key as a bearer token. Optional — raises rate limits.
apiKeyHeader:
type: apiKey
in: header
name: x-api-key
description: The same key, as a header. Equivalent to the bearer form.