get_latest_data

Pack: statscan · Endpoint: https://gateway.pipeworx.io/statscan/mcp

Get the latest N observations for a specific series within a cube. coordinate is a 10-position dot-separated string where each position indexes into a dimension (use get_cube_metadata to map members → positions). Trailing zeros for unused dimensions.

Parameters

NameTypeRequiredDescription
product_idnumberyesCube product ID
coordinatestringyes10-position coordinate (e.g., “1.2.0.0.0.0.0.0.0.0”)
n_periodsnumbernoLatest N periods (default 12)

Example call

curl -X POST https://gateway.pipeworx.io/statscan/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_latest_data","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "statscan": {
      "url": "https://gateway.pipeworx.io/statscan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026