Bank Of Canada Mcp

io.github.arose26由 GitHub 帳號 arose26 發布v0.1.1更新於 Oct 24, 2026

Bank of Canada economic data: exchange rates, policy rate, CPI, bond yields. No API key.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

讓助理查詢加拿大銀行的經濟資料,包括匯率、政策利率、CPI 與債券殖利率。

可以做什麼
它把助理連接到加拿大銀行免費的 Valet API,該 API 涵蓋約 16,000 個時間序列。工具包括:在序列目錄中依關鍵字搜尋、依日期範圍或最近若干期取得最多五個序列的時間序列資料、取得當日加元官方匯率,以及依當日匯率進行貨幣換算。API 錯誤會以工具錯誤回傳,方便模型重新搜尋。
適用情境
適合涉及加拿大總體經濟資料的問題:政策利率、CPI、債券殖利率、大宗商品價格或加元匯率。適用於需要加拿大銀行官方數據而非一般網頁結果的分析、繪圖與貨幣換算工作。
執行需求
透過 stdio 在本機執行,通常以 npx 啟動 npm 套件 bank-of-canada-mcp,因此需要 Node.js 以及連線到加拿大銀行 Valet API 的網路。未宣告 API 金鑰、環境變數或標頭。僅支援桌面版 MCP 用戶端。
安裝前請注意
匯率是每個營業日公布一次的指示性日均值,並非交易報價,不應用於交易或結算。資料版權屬加拿大銀行,依其條款使用;本專案與加拿大銀行無關,也未獲其背書。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Bank Of Canada Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

bank-of-canada-mcp

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.

Quick start

Claude Code

bash
claude mcp add bank-of-canada -- npx -y bank-of-canada-mcp

Claude Desktop — add to claude_desktop_config.json:

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.

Tools

ToolWhat it does
search_seriesKeyword search across the full series catalogue — find the series name for anything ("overnight rate target", "CPI", "5-year bond")
get_observationsTime-series data for up to 5 series, by date range or N most recent
latest_fx_ratesToday's official daily exchange rates vs CAD
convert_currencyConvert between any two supported currencies using today's rates

Example prompts

  • "What's the Bank of Canada's current policy rate, and how has it moved this year?"
  • "Plot USD/CAD for the last 90 days."
  • "Convert 2,500 EUR to CAD at today's official rate."
  • "How does core CPI compare to headline CPI over the past two years?"

Development

bash
npm installnpm 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.

Notes

  • Rates are the Bank of Canada's indicative daily averages, published once per business day — not transactional quotes.
  • Data is © Bank of Canada, used under their terms. This project is not affiliated with or endorsed by the Bank of Canada.

Roadmap

  • Statistics Canada Web Data Service tools
  • Group browsing (lists/groups)
  • Streamable HTTP transport for remote deployment

License

MIT

來源:README.md,提交 d2ee238

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分