Gastat
live BiologyGASTAT MCP — Saudi Arabia's General Authority for Statistics.
Tools
gastat_headline Saudi Arabia headline statistics at a glance — population, population growth rate, GDP at constant prices, per-capita income, Saudi unemployment rate — the way GASTAT (Saudi Arabia's General Authority
No parameters required.
Try it
gastat_search Search GASTAT's Saudi Arabia statistics catalog (~2,600 indicators: population, employment/unemployment, GDP, consumer prices/inflation, foreign trade, and more) by keyword in English or Arabic. Retur
No parameters required.
Try it
gastat_series Fetch the full time series for a GASTAT indicator id (from gastat_search or gastat_headline) — multiple periods for comparison over time, not just the latest value. Covers population, employment, GDP,
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/gastat/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/gastat/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"gastat_headline","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("gastat_headline", {}); // Or ask in plain English:
const answer = await px.ask("gastat mcp — saudi arabia's general authority for statistics");