
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.
概览
让助手查询加拿大银行的经济数据,包括汇率、政策利率、CPI 和债券收益率。
- 可以做什么
- 它把助手连接到加拿大银行免费的 Valet API,该 API 涵盖约 16,000 个时间序列。工具包括:在序列目录中按关键词搜索、按日期范围或最近若干期获取最多五个序列的时间序列数据、获取当日加元官方汇率,以及按当日汇率进行货币换算。API 错误会作为工具错误返回,便于模型重新搜索。
- 适用场景
- 适合涉及加拿大宏观数据的问题:政策利率、CPI、债券收益率、大宗商品价格或加元汇率。适用于需要加拿大银行官方数据而非一般网页结果的分析、绘图和货币换算任务。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 启动 npm 包 bank-of-canada-mcp,因此需要 Node.js 以及访问加拿大银行 Valet API 的网络连接。未声明 API 密钥、环境变量或请求头。仅支持桌面端 MCP 客户端。
安装
在 SourceWeft 中
- 打开 控制台中的 Bank Of Canada Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
Claude Desktop — add to claude_desktop_config.json:
The same npx invocation works in Cursor, Windsurf, and any other MCP client.
Tools
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
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版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分