
Boe Mcp
io.github.moureauf由 GitHub 账号 moureauf 发布v0.2.0更新于 Oct 24, 2026
Bank of England base rate, rate history, historical lookup, and next MPC meeting date over stdio.
概览
只读 MCP 服务器,让助手获取英格兰银行基准利率、IADB 统计序列与货币政策委员会会议日期。
- 可以做什么
- 查询当前英国基准利率、生效日期及维持该水平的时间
- 查看最近若干次利率变动及基点变化,或查询某一历史日期的适用利率
- 按日期区间计算最低、最高、时间加权平均、起止利率与净变动等统计
- 浏览精选的 BoE IADB 序列目录,并按任意 IADB 代码获取观测值,可限定日期范围与条数
- 列出即将到来的货币政策委员会公布日期及距今天数
- 适用场景
- 当助手需要英国当前或历史利率数据、SONIA、汇率等英格兰银行统计序列,或下一次 MPC 公布日期,而不想手动查询时适用。
- 运行要求
- 通过 npx 以 stdio 在本地运行,需要 Node.js;无需 API 密钥、账号或配置。可选 HTTP 模式通过命令行参数或 BOE_MCP_HTTP_PORT 变量开启,另有 BOE_MCP_HTTP_HOST 与 BOE_CACHE_TTL_MINUTES 设置。需要能访问英格兰银行公开数据端点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Boe Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
boe-mcp
[npm] [CI] [node] [license] [MCP Registry]
An MCP (Model Context Protocol) server that gives Claude Code — or any MCP client — live Bank of England data: the base rate (current level, change history, statistics over any period, and the rate in force on any past date), any series from the BoE's IADB statistical database (SONIA, exchange rates, quoted mortgage rates, and thousands more, with a curated catalog to start from), and the Monetary Policy Committee meeting schedule. It runs over stdio by default (with an opt-in Streamable HTTP mode for remote hosting), needs no API key or configuration, and caches responses in memory so repeated questions don't re-hit the BoE.
Published on npm as boe-mcp with build provenance — install and run it with npx -y boe-mcp.
Tools
get_series accepts any valid IADB code (not only the catalogued ones); an unknown or empty code returns a clean Unknown or empty IADB series "XXXX" — use list_series for known codes message. Use list_series to discover codes.
If the BoE is unreachable and a previously cached value exists, tools serve the cached data with "stale": true so the caller can flag the caveat. With no cache at all they return a clean error message.
Installation
Add to your Claude Code settings.json:
Or use the CLI:
Claude Desktop
Add to claude_desktop_config.json:
Cursor
Add to ~/.cursor/mcp.json:
VS Code
Add to .vscode/mcp.json:
HTTP mode (remote hosting)
By default the server speaks MCP over stdio as a child process of the client. To host it remotely instead, start it in Streamable HTTP mode:
Endpoints: POST /mcp (JSON-RPC), GET /healthz (returns ok, for hosting platform health checks). The transport is stateless — every POST is served by a fresh server instance, so there are no sessions to resume and no SSE stream; GET/DELETE /mcp return 405. That makes instances safe to scale horizontally behind a load balancer.
Try it with curl:
Security: the default bind of 127.0.0.1 only accepts connections from the local machine, and DNS-rebinding protection (Host-header validation) is enabled automatically for loopback binds. Setting BOE_MCP_HTTP_HOST=0.0.0.0 exposes the server, with no authentication, to every network the machine is attached to — only do that behind a reverse proxy or firewall that controls who can reach it (DNS-rebinding protection is disabled for non-loopback binds, since the server can't know the legitimate public hostname).
Configuration
Data sources
- Base rate: the Bank of England Statistical Interactive Database (IADB), series
IUDBEDR, via its public CSV endpoint. No auth, no key. Honest caveat: the IADB is not officially documented as a public API — it has been stable for many years and is widely used, but the Bank makes no compatibility promises, so a breaking change is possible in principle. - MPC dates: parsed from the BoE's public upcoming MPC dates page. The parser deliberately avoids depending on the page's markup (it scans the visible text for dates), so cosmetic redesigns won't break it.
Running from source
Contributing & releasing
See CONTRIBUTING.md for the development workflow (making changes, testing, adding tools, versioning) and how the release pipeline connects GitHub, npm, and the MCP registry. Publishing is automated: pushing a v* tag runs .github/workflows/publish.yml, which builds, tests, and publishes to npm via trusted publishing (OIDC — no token secret, with a provenance attestation) and to the official MCP registry. Exact commands and one-time setup are in RELEASING.md.
License
MIT
来源:README.md,提交 57442fa
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分