Skip to main content
Glama
bank-of-canada-valet-rates-mcp

bank-of-canada-valet-rates-mcp

README.md
# 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.

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

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_fx_rates_cad` | Fetch daily Bank of Canada exchange rates against CAD for USD, EUR, GBP, JPY, and other major currencies |
| `get_series_observations` | Retrieve time-series observations and series metadata for any Bank of Canada Valet series code |
| `get_bond_yields` | Pull daily Canadian benchmark government bond yields across 2-year through long-term maturities |
| `get_policy_interest_rate` | Get the Bank of Canada target for the overnight policy interest rate (`V39079`) |
| `list_valet_groups` | Browse 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.

```json
{
  "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.

```bash
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.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.bank-of-canada-valet-rates-mcp) with hosted commercial servers and priority endpoints.