Banco de Portugal (BPstat)
live FinanceDataBPstat — Banco de Portugal statistics API (Portuguese central bank). Keyless.
Tools
list_domains List Banco de Portugal's statistical domains (the full subject tree). Each domain has
No parameters required.
Try it
list_datasets List the datasets within a statistical domain (use a domain id from list_domains). Returns a
No parameters required.
Try it
get_dataset Fetch a dataset as JSON-stat — THIS is how you get actual data/observations. Returns the value[]
No parameters required.
Try it
get_series_metadata Look up metadata for one or more series by numeric series id. Returns label, short_label,
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/bpstat-pt/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/bpstat-pt/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_domains","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("list_domains", {}); // Or ask in plain English:
const answer = await px.ask("bpstat — banco de portugal statistics api (portuguese central bank)");