Connect to Claude & Cursor

The whole ausdata.io API is also an MCP server, so Claude Desktop, Cursor and other MCP clients can call it directly, no separate SDK or install step.

MCP (Model Context Protocol) lets an AI agent call tools directly instead of you copying curl commands into it. npx fetches and runs the ausdata.io MCP server on demand, and the agent then calls the same routes documented in the API docs, with the same response envelope and the same source attribution on every call.

Try the API right now, no signup

curl -H 'Authorization: Bearer ak_2IliQLJlKozQBX2tksjZ2JbArUvDz2fJ' \
  https://api.ausdata.io/v1/data/abs/CPI?limit=3

That is a shared demo key, rate limited per IP. Registering gets you a personal free key: 500 calls a month, no card.

Claude Desktop / Cursor config

Add this to your claude_desktop_config.json (or the equivalent MCP config in Cursor) and restart the app.

{
  "mcpServers": {
    "ausdata": {
      "command": "npx",
      "args": ["-y", "ausdata-mcp"],
      "env": { "AUSDATA_API_KEY": "ak_your_key" }
    }
  }
}

Swap ak_your_key for your own free key from /get-started. No global install needed, npx fetches and runs ausdata-mcp on demand.

See the full API docs for auth, the response envelope, series, transforms and charts, including the Agents and MCP section for more on how the MCP server maps to the HTTP API.