get_observations

Pack: bank-of-canada · Endpoint: https://gateway.pipeworx.io/bank-of-canada/mcp

Time-series observations for one or more Bank of Canada series. Pass comma-separated series names. Well-known: FXUSDCAD (USD/CAD daily avg rate), FXEURCAD (EUR/CAD), V39079 (target for the overnight rate / policy rate), V41690973 (Total CPI). Choose either recent=N latest points OR a start_date/end_date window.

Parameters

NameTypeRequiredDescription
seriesstringyesComma-separated series names, e.g. “FXUSDCAD” or “FXUSDCAD,FXEURCAD”.
recentintegernoReturn the N most recent observations. Ignored if start_date is given.
start_datestringnoWindow start, YYYY-MM-DD, e.g. “2026-01-01”.
end_datestringnoWindow end, YYYY-MM-DD (optional, defaults to latest).

Example call

Arguments

{
  "series": "FXUSDCAD",
  "recent": 10
}

curl

curl -X POST https://gateway.pipeworx.io/bank-of-canada/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_observations","arguments":{"series":"FXUSDCAD","recent":10}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_observations', {
  "series": "FXUSDCAD",
  "recent": 10
});

More examples

{
  "series": "FXUSDCAD,V39079,V41690973",
  "start_date": "2024-01-01",
  "end_date": "2024-12-31"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "bank-of-canada": {
      "url": "https://gateway.pipeworx.io/bank-of-canada/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026