StudioAPI Docs Get a key
View as Markdown
sdks/mcp

Every StudioAPI data endpoint maps cleanly to an MCP tool: the endpoint path becomes the tool, query parameters become arguments, and the response envelope becomes the tool result.

Example mapping

EndpointMCP toolArguments
GET /wilayah/provinsiwilayah_provinsipage?, per_page?
GET /wilayah/search?q=wilayah_searchq, page?, per_page?
GET /cuaca?adm4=cuacaadm4?, kabupaten_id?
GET /gempa/terkinigempa_terkini—

The MCP server authenticates with the same x-api-key. Tools return the raw data payload plus meta as structured JSON, so agents can reason about sources, pagination, and freshness without extra glue.

Status

The MCP surface is live at https://mcp.studioapi.dev/mcp — HTTP transport, authenticated with the same x-api-key — and is listed at smithery.ai/server/@khmuhtadin/studioapi-mcp. The REST contract is agent-friendly on its own: typed responses, a stable envelope, and a generated llms.txt.