Skip to main content
MCP server CX Codex

Bank of Canada Foreign Exchange — Claude Code MCP server: what it does

Bank of Canada Foreign Exchange — a remote MCP server with one tool that returns the official USD/CAD rate for a given date from the Bank of Canada Valet API.

no license 448 installs updated 2026-05-17

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http bank-of-canada-foreign-exchange https://bank-of-canada-foreign-exchange--bill-ying.run.tools
Open on GitHub

What Bank of Canada Foreign Exchange does

The server exposes a single tool, get_rate. It hands back the US dollar rate against the Canadian dollar for a date you name. Figures come from the Bank of Canada Valet API, so your agent quotes an official number instead of guessing.

It speaks HTTP at https://bank-of-canada-foreign-exchange--bill-ying.run.tools. You drop that URL into your client config and nothing gets built or started on your machine. The source is TypeScript, written with Cloudflare Workers in mind.

One pair only: USD and CAD. Ask this server for euros and you walk away empty-handed. Since the date is an argument, past rates come back the same way today's do.

What it helps with

  • look up the official USD/CAD rate for a given day
  • feed a Bank of Canada figure into a calculation instead of a model guess
  • check a historical rate for an earlier period
  • add a currency number to an agent report without manual searching

Example prompts for the agent

  • Get the USD/CAD rate for last Friday with get_rate.
  • Use get_rate to check what the Canadian dollar cost in US dollars at quarter end.
  • Look up the rate for the date in report.csv via get_rate and put it in the summary.

How to install Bank of Canada Foreign Exchange

Platform CLI: remote server

claude mcp add --transport http bank-of-canada-foreign-exchange https://bank-of-canada-foreign-exchange--bill-ying.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Bank of Canada Foreign Exchange

How do I install Bank of Canada Foreign Exchange in Claude Code?

Run claude mcp add --transport http bank-of-canada-foreign-exchange https://bank-of-canada-foreign-exchange--bill-ying.run.tools. The server then shows up in the session with the get_rate tool.

What does Bank of Canada Foreign Exchange do?

It returns the USD/CAD rate for a chosen date from the Bank of Canada Valet API, through its one tool get_rate.

Which currency pairs does it cover?

USD and CAD only. The tool has no other pairs.

Similar MCP servers

All MCP servers for Finance and business →

Project sponsors

Companies that keep this analytics open