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
| Name | Type | Required | Description |
|---|---|---|---|
product_id | number | yes | Cube product ID |
coordinate | string | yes | 10-position coordinate (e.g., “1.2.0.0.0.0.0.0.0.0”) |
n_periods | number | no | Latest 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.