
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 分