get_group_observations

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

Observations for every series in a named group in one call. Useful groups: FX_RATES_DAILY (daily exchange rates for all currencies vs CAD). Use recent=N or a start_date/end_date window.

Parameters

NameTypeRequiredDescription
groupstringyesGroup name, e.g. “FX_RATES_DAILY”.
recentintegernoReturn the N most recent observations. Ignored if start_date is given.
start_datestringnoWindow start, YYYY-MM-DD.
end_datestringnoWindow end, YYYY-MM-DD (optional).

Example call

Arguments

{
  "group": "FX_RATES_DAILY",
  "recent": 5
}

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_group_observations","arguments":{"group":"FX_RATES_DAILY","recent":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_group_observations', {
  "group": "FX_RATES_DAILY",
  "recent": 5
});

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