banxico_series
Pack: banxico · Endpoint: https://gateway.pipeworx.io/banxico/mcp
Fetch any Banco de México SIE series by id — escape hatch for the full Banxico catalog (inflation, interest rates, reserves, aggregates, financial indicators). Returns recent observations + the series title/units. Common ids: ${COMMON_SERIES}. Use banxico_exchange_rate / banxico_policy_rate for those headline ones.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
series_id | string | yes | SIE series id, e.g. “SP30578” (annual inflation), “SF43783” (TIIE 28d). |
recent | number | no | Recent observations to return (1-200, default 12). |
Example call
Arguments
{
"series_id": "SP30578",
"_apiKey": "your-banxico-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/banxico/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"banxico_series","arguments":{"series_id":"SP30578","_apiKey":"your-banxico-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('banxico_series', {
"series_id": "SP30578",
"_apiKey": "your-banxico-api-key"
});
More examples
{
"series_id": "SF43783",
"recent": 60,
"_apiKey": "your-banxico-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"banxico": {
"url": "https://gateway.pipeworx.io/banxico/mcp"
}
}
}
See Getting Started for client-specific install steps.