bps_get_data
Pack: bps-id · Endpoint: https://gateway.pipeworx.io/bps-id/mcp
Get dynamic statistical table data for a BPS variable id (model=data). Returns the datacontent values keyed by
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | BPS App ID (API key) |
var | string | yes | Variable id (varId) to fetch data for. Discover via bps_list(model=“var”). |
domain | string | no | BPS domain/region code. “0000” = national (default). |
lang | string | no | Language: “eng” (default) or “ind”. |
th | string | no | Optional period/year id to filter the data by. |
page | string | no | Optional 1-based page number. |
Example call
curl -X POST https://gateway.pipeworx.io/bps-id/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bps_get_data","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"bps-id": {
"url": "https://gateway.pipeworx.io/bps-id/mcp"
}
}
}
See Getting Started for client-specific install steps.