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

NameTypeRequiredDescription
_apiKeystringyesBPS App ID (API key)
varstringyesVariable id (varId) to fetch data for. Discover via bps_list(model=“var”).
domainstringnoBPS domain/region code. “0000” = national (default).
langstringnoLanguage: “eng” (default) or “ind”.
thstringnoOptional period/year id to filter the data by.
pagestringnoOptional 1-based page number.

Example call

Arguments

{
  "_apiKey": "your-bps-id-api-key",
  "var": "0000012"
}

curl

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":{"_apiKey":"your-bps-id-api-key","var":"0000012"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('bps_get_data', {
  "_apiKey": "your-bps-id-api-key",
  "var": "0000012"
});

More examples

{
  "_apiKey": "your-bps-id-api-key",
  "var": "0000012",
  "domain": "3200",
  "th": "2023"
}

Connect

Add this to your MCP client config:

{
  "mcpServers": {
    "bps-id": {
      "url": "https://gateway.pipeworx.io/bps-id/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026