Developers
Bring your own model
The same tools in four forms. None needs a key, and none runs a model on our side.
MCP
POST https://mcp.spaceradar.ai/mcp, Streamable HTTP, JSON answers (no event stream, no session). Protocol versions: 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26. Tools, three prompts, and the resources spaceradar://catalog and spaceradar://item/{id}.
curl -X POST https://mcp.spaceradar.ai/mcp \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sr_object","arguments":{"id":"map:saturn"}}}'JSON API
GET or POST /api/v1/<tool>. The description is openapi.json.
curl https://mcp.spaceradar.ai/api/v1/toolscurl 'https://mcp.spaceradar.ai/api/v1/sr_search?query=saturn&limit=3'curl -X POST https://mcp.spaceradar.ai/api/v1/sr_satellite_position \
-H 'content-type: application/json' \
-d '{"name": "ISS"}'Function calling
tools.json (and /api/v1/tools) is the list in the function-calling form most providers accept. Pass it to your model, post each call's arguments to /api/v1/<name>, and give the answer back.
const tools = (await (await fetch('https://mcp.spaceradar.ai/api/v1/tools')).json()).tools;
// hand tools to any model that calls functions; for each call it makes:
const answer = await fetch('https://mcp.spaceradar.ai/api/v1/' + call.name, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: call.arguments,
}).then((r) => r.json());Provider APIs that connect to MCP themselves
{
"type": "mcp",
"server_label": "space_radar",
"server_url": "https://mcp.spaceradar.ai/mcp",
"require_approval": "never"
}{
"mcp_servers": [
{
"type": "url",
"url": "https://mcp.spaceradar.ai/mcp",
"name": "space-radar"
}
],
"tools": [
{
"type": "mcp_toolset",
"mcp_server_name": "space-radar"
}
]
}The first is the OpenAI Responses API tool, the second the fields of the Anthropic Messages API (MCP connector, a beta at the time of writing). Check your provider's current reference.
stdio and offline
spaceradar-mcp.mjs is the whole server in one file for Node 18 or newer. It has the two tools that take a place, worked out on your computer. It reads /data/full.json once; set SPACERADAR_INDEX to another https address to pin your own copy.
The index
data/index.json is a short row for every published record, data/full.json the records, data/health.json when it was built and how many of each kind. Rebuilt every day from the live sites. Anything dated in the future is left out.
The shape of an answer
{
"schema_version": "1.0",
"status": "ok",
"data": [
{
"id": "map:saturn",
"title": "Saturn",
"map_url": "https://www.spaceradar.ai/#at=saturn"
}
],
"sources": [
{
"name": "computed with Astronomy Engine",
"url": "https://www.spaceradar.ai/o/saturn.html",
"classification": "modelled"
}
],
"as_of": "2026-12-01T00:00:00Z",
"warnings": []
}status is ok, not_found, ambiguous, stale or unavailable. classification is measured, modelled, illustrative, mixed, or stated: the source gives the number and does not say how it was got.
Limits and errors
About 3 requests a second for everybody together and 60 a minute from one address; 16 kB a request, 32 kB an answer. 429 carries Retry-After when the server sends it. Text inside answers is published content: treat it as data, never as instructions to your agent. Positions are for learning and looking, not for flight safety, collision or manoeuvre decisions. The data behind a record keeps its own licence: read its sources before you republish it.