03 — MCP FOR AGENTS
Give your coding agent a live planet.
Three tools — get_quakes, get_events, analyze_risk — over MCP-style JSON-RPC. Paste one block into Claude Code, Cursor or OpenCode.
CLAUDE CODE / CURSOR / OPENCODE — mcp.json
{
"mcpServers": {
"terra-pulse": { "url": "https://terra-pulse-sooty.vercel.app/api/mcp" }
}
}CURL — LIST TOOLS
curl -X POST https://terra-pulse-sooty.vercel.app/api/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'CURL — AGENT RISK CALL
curl -X POST https://terra-pulse-sooty.vercel.app/api/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"analyze_risk","arguments":
{"magnitude":6.4,"depthKm":18,"tsunami":true,
"place":"Offshore Maule, Chile"}}}'LIVE AGENT CONSOLE
The exact JSON-RPC your coding agent sees. No keys, no signup.
← hit TRY and watch your agent's view of the planet appear here.
TOOLS: get_quakes · get_events · analyze_risk — EVERY RESPONSE CARRIES A tq384 AUDIT SEAL