{
  "name": "ABS Data MCP Server",
  "description": "Model Context Protocol server providing access to Australian Bureau of Statistics data",
  "version": "1.0.0",
  "protocol": "MCP (Model Context Protocol)",
  "endpoints": {
    "/": "This informational endpoint",
    "/health": "Health check endpoint - returns server status",
    "/mcp": "MCP protocol endpoint for direct MCP communication",
    "/sse": "Server-Sent Events endpoint for MCP over SSE",
    "/sse/message": "Alternative SSE endpoint for MCP messages"
  },
  "usage": {
    "Claude Desktop": "Use mcp-remote with the /sse endpoint",
    "Direct MCP": "POST JSON-RPC messages to /mcp endpoint",
    "Example": "npx mcp-remote https://mcp-test.braddon.workers.dev/sse"
  },
  "tools": [
    {
      "name": "list_datasets",
      "description": "List all available ABS datasets",
      "parameters": {
        "refresh": "boolean (optional) - Force cache refresh"
      }
    },
    {
      "name": "query_dataset",
      "description": "Retrieve data from a specific ABS dataset",
      "parameters": {
        "datasetId": "string (required) - Dataset ID like 'C21_G01_LGA'",
        "format": "string (optional) - Output format: 'json', 'csv', or 'xml' (default: json)",
        "startTime": "string (optional) - Time range start",
        "endTime": "string (optional) - Time range end",
        "dimensionFilters": "object (optional) - Filter by dimensions"
      }
    },
    {
      "name": "get_dataset_structure",
      "description": "Get metadata and structure for a dataset",
      "parameters": {
        "datasetId": "string (required) - Dataset ID"
      }
    }
  ],
  "documentation": "https://github.com/modelcontextprotocol/specification",
  "attribution": "Data provided by Australian Bureau of Statistics via Virv AI"
}