Skip to content
Road MatesRoad Mates Enter

For developers

Agent API & MCP

Free, read-only access to every Road Mates road: its phases, guide and resources, over a REST API and an MCP server, each answer linking to its page.

What you get

  • Every road in the catalog, its phases in order, what you do in each, roughly how long, the proof that shows it's done, and its resources.
  • Each road's full guide where it has one, and a finder that turns a goal in plain words into the right road.
  • Read-only and free. No sign-in for reading; a free key only raises the limit.
  • Every answer carries the address of its page on Road Mates, so people can follow it.

REST API

JSON over HTTPS at https://roadmates.co/api/v1. Open to any origin, cached at the edge for an hour.

GET /api/v1/roadsEvery road, a page at a time (limit 1 to 50; pass next_cursor as after; category to filter).
GET /api/v1/roads/{slug}One road: its phases in order, what you do in each, how long, the proof, the resources, similar roads.
GET /api/v1/roads/{slug}/guideThe road's full guide, where it has one.
GET /api/v1/find?q=The road for a goal in plain words ("become a chef"), and the closest matches.
GET /api/v1/openapi.jsonThe OpenAPI 3.1 document for all of the above.
curl https://roadmates.co/api/v1/find?q=become%20a%20chef

MCP server

For AI assistants and agents that speak the Model Context Protocol: https://roadmates.co/api/mcp (Streamable HTTP). Its tools are read-only and answer what the REST API answers.

list_roadsEvery road, a page at a time.
get_roadOne road with its phases and resources.
get_guideA road's full guide.
find_roadThe road for a goal in plain words.

Add it to a client that reads an MCP configuration:

{
  "mcpServers": {
    "road-mates": {
      "url": "https://roadmates.co/api/mcp"
    }
  }
}

Keys and limits

  • Without a key: the API and MCP work with no sign-in, but one address can make 60 requests a minute.
  • With a key: 600 a minute. Create one, free, in Settings → API keys (signed in). It's shown once; we keep only a fingerprint of it.
  • Send it as Authorization: Bearer rm_…, to the REST API and to the MCP server alike.

Errors

400A parameter isn't valid (the answer says which).
401The key is malformed, unknown or revoked. A bad key is never treated as no key.
404No such road, or no guide for it.
429Over the limit. Retry-After says how many seconds to wait.
500 / 503Something on our side; try again shortly. Never cached.

Each error answers { "error": { "code", "message" } }.

Using the answers

Show or link the road's url wherever you use what it says, so people can read the whole road and start walking it. Roads change as people walk them: read them again rather than keeping copies for long.