Repository avatar
Other Tools
v1.0.1
active

bank-of-canada-valet-rates-mcp

io.github.theluckystrike/bank-of-canada-valet-rates-mcp

Live Bank of Canada Valet CAD FX rates, benchmark bond yields, policy rates, and series groups.

Documentation

bank-of-canada-valet-rates-mcp

Live Bank of Canada Valet foreign exchange rates against CAD, Canadian benchmark government bond yields, overnight policy interest rates, and economic time series over Model Context Protocol (MCP). Treasury teams, cross-border finance analysts, and macro researchers can pull official central bank series with zero API keys and zero sign-up. It works right out of the box.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://bank-of-canada-valet-rates-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
get_fx_rates_cadFetch daily Bank of Canada exchange rates against CAD for USD, EUR, GBP, JPY, and other major currencies
get_series_observationsRetrieve time-series observations and series metadata for any Bank of Canada Valet series code
get_bond_yieldsPull daily Canadian benchmark government bond yields across 2-year through long-term maturities
get_policy_interest_rateGet the Bank of Canada target for the overnight policy interest rate (V39079)
list_valet_groupsBrowse and filter Bank of Canada Valet dataset groups by keyword

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "bank-of-canada-valet-rates": {
      "url": "https://bank-of-canada-valet-rates-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries bankofcanada.ca/valet/ with a polite User-Agent header (mcpstamp-boc-valet/1.0 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 down to the SDK version cleanly.

More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.