Bank of Canada economic data: exchange rates, policy rate, CPI, bond yields. No API key.
An MCP server that gives Claude and other LLMs live access to Canadian economic data via the Bank of Canada's free Valet API — ~16,000 time series covering exchange rates, the policy interest rate, CPI, bond yields, commodity prices, and more.
FRED, the World Bank, and the IMF all have MCP servers. Canada didn't — now it does.
No API key required.
Claude Code
claude mcp add bank-of-canada -- npx -y bank-of-canada-mcp
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"bank-of-canada": {
"command": "npx",
"args": ["-y", "bank-of-canada-mcp"]
}
}
}
The same npx invocation works in Cursor, Windsurf, and any other MCP client.
| Tool | What it does |
|---|---|
search_series | Keyword search across the full series catalogue — find the series name for anything ("overnight rate target", "CPI", "5-year bond") |
get_observations | Time-series data for up to 5 series, by date range or N most recent |
latest_fx_rates | Today's official daily exchange rates vs CAD |
convert_currency | Convert between any two supported currencies using today's rates |
npm install
npm test # offline unit tests (vitest)
npm run build # tsc → dist/
Architecture: src/valet.ts is a plain API client with pure, unit-tested logic (search, conversion math); src/index.ts is the MCP wiring. Errors from the Valet API (e.g. an unknown series name) are returned as MCP tool errors with the API's own message, so the model can self-correct by re-searching.
lists/groups)MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y bank-of-canada-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-arose26-bank-of-canada-mcp": {
"command": "npx",
"args": [
"-y",
"bank-of-canada-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencebank-of-canada-mcpnpmio.github.arose26/bank-of-canada-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.