Central Bank of Iran

io.github.sepehr071由 GitHub 帳號 sepehr071 發布v0.2.0更新於 Nov 7, 2026

Read-only Central Bank of Iran (cbi.ir): official FX rates, inflation, policy rates, news.

已驗證STDIO僅桌面網頁搜尋與抓取金融

概覽

AI 產生的概覽

非官方唯讀 MCP 伺服器,讓助理取得伊朗中央銀行官方資料:匯率、通膨、政策利率、新聞與報告。

可以做什麼
  • 依日期或歷史檔案取得官方匯率,並查詢單一貨幣的走勢與漲跌幅
  • 讀取月度與年度通膨,以及每週銀行間利率、回購利率與常備融通利率
  • 瀏覽新聞標題、讀取新聞全文,並取得流動性、貨幣與準備貨幣數據
  • 讀取月度統計表(貨幣、國際收支、財政、資本市場),並列出附檔案連結的出版品
  • 取得每週政府債券拍賣結果與公開市場回購操作數據
適用情境
適合使用者詢問某日官方美元、歐元等央行參考匯率、匯率變動、伊朗通膨或利率、流動性成長,或央行最新公告時使用。不適用於自由市場(巴扎)匯率,央行並未公布該資料。
執行需求
透過 uvx 以 stdio 在本機執行,需要 uv 與 Python 3.10 以上版本。不需帳號或 API 金鑰。可選環境變數 CBI_MCP_PROXY 用來為 cbi.ir 請求設定 HTTP 代理,因為系統代理設定會被忽略。需要能連線至 cbi.ir 的網路。
安裝前請注意
唯讀,呼叫前不需確認。資料來自擷取央行公開網站,頁面變動時可能失效或落後,且未涵蓋其時間序列資料庫。輸出為波斯文、賈拉利曆日期,匯率為每單位外幣的里亞爾數。可選代理網址透過 CBI_MCP_PROXY 傳入。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

cbi-mcp: Central Bank of Iran (بانک مرکزی) exchange rates, inflation and policy rates MCP server for AI agents

cbi-mcp is an unofficial, read-only MCP server that gives AI agents the public data of the Central Bank of Iran (cbi.ir).
Its 8 tools read the official reference exchange rates and their history, inflation, the weekly interbank and policy rates,
the bank's news and liquidity (نقدینگی) statements, and list its reports with download links.
No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.

[PyPI] [Python] [License: MIT]

For AI agents · Quick start · What it can do · Tools · FAQ · فارسی


For AI agents

  • What: unofficial MCP server (model context protocol) for cbi.ir: official exchange rates (about 48 currencies, archive back to 1383), inflation by month and year, weekly interbank/standing-facility rates, news and announcements, liquidity statements, reports (Economic Trends, monthly monetary statistics, annual review).
  • Install: uvx cbi-mcp or claude mcp add cbi -- uvx cbi-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none. Optional CBI_MCP_PROXY (HTTP proxy URL); system proxy settings are ignored.
  • Access: read-only, no confirmation needed before calling any tool.
  • Tools: 11, all prefixed cb_. Typical sequences: cb_exchange_rates; cb_rate_history; cb_inflation; cb_news -> cb_news_item; cb_liquidity; cb_statistics; cb_bond_auctions; cb_policy_rates + cb_open_market.
  • Use when: the user asks for the official dollar/euro/dirham rate on a day, how a rate moved, Iran's inflation, interest or interbank rates, liquidity growth, or what the central bank announced.
  • Do not use when: the user wants the free-market (bazaar) rate, which the CBI does not publish, or a series from the CBI time-series database (tsd.cbi.ir did not answer when this was built).
  • Output: compact JSON. Rates are rials per currency unit (per_units: JPY 100, KRW 1000...). Dates in answers are Jalali; arguments accept Jalali (1404/01/01) or Gregorian (2025-03-21). Text is Persian.
  • Machine-readable: server.json.

Why

The Central Bank's site is a classic ASP.NET website: no API, one rate table per date, inflation behind a year dropdown, liquidity buried in news and Excel files. cbi-mcp reads those pages for the agent:

You: What was the official dollar rate on 1 Farvardin 1404, and what is it now?

Agent: calls cb_exchange_rates(date="1404/01/01", currencies=["USD"]) and cb_exchange_rates(currencies=["USD"])

579,503 rials on 1404/01/01 and 1,871,664 rials on 1405/08/09.

Real values read from cbi.ir on 2026-10-31.

What it can do

  • Official exchange rates for a day, today or from the archive, all currencies or a chosen few
  • Rate history of one currency: last 7 days in one call, or a sampled series over months or years with total change
  • Inflation: the 12-month rate for each month of any year since 1361 plus annual inflation back to 1316
  • Policy rates: weekly interbank rate, minimum repo rate and the standing lending/deposit corridor
  • News titles, filterable by a word, and the full text of any item
  • Liquidity as numbers (liquidity, money, quasi-money, monetary base with yearly growth) from the newest monthly Excel, plus the governor's latest statements
  • Monthly statistics tables read from the Excel files: monetary, balance of payments (foreign debt, monthly average dollar in the official, free and preferential markets), fiscal, capital market
  • Government sukuk auctions: offered, sold and yield per bond, every week
  • Open market operations: the weekly repo auction figures
  • Publications with PDF/Excel links: Economic Trends, monthly monetary statistics, annual economic review, interbank market review

Example prompts:

  • "What is the CBI's official euro rate today, and how much did it change over the last week?"
  • "Show the dollar rate every month since Farvardin 1404."
  • "What is Iran's inflation now and how did it move in 1403?"
  • "What did the central bank say about liquidity growth recently?"
  • نرخ رسمی دلار بانک مرکزی امروز چقدر است؟
  • آخرین گزارش نماگرهای اقتصادی را بده.

Quick start

bash
claude mcp add cbi -- uvx cbi-mcp

Any client: command uvx, args ["cbi-mcp"]. Behind a proxy set CBI_MCP_PROXY=http://host:port.

Tools

ToolWhat it returns
cb_exchange_ratesOfficial rates of ~48 currencies for a date (default latest), optional currency filter
cb_rate_historyOne currency over time with change %; last 7 days, or sampled between two dates
cb_inflationMonthly 12-month inflation for a Jalali year and annual inflation history
cb_policy_ratesWeekly interbank, repo and standing-facility rates for a year
cb_newsNews titles (id, date), optional word filter and year
cb_news_itemFull text and attachments of one news item
cb_liquidityLiquidity, money, quasi-money and monetary base (balance, yearly growth) from the newest monthly Excel, plus latest statements
cb_publicationsNewest Economic Trends, monthly monetary reports, annual or interbank reviews with file links
cb_statisticsRows of any sheet of the monthly Excel tables: monetary, balance_of_payments, fiscal, capital_market (year, month, sheet)
cb_bond_auctionsResults of the newest weekly government sukuk auctions per bond: offered, sold, yield
cb_open_marketWeekly open market operation reports with the newest repo auction figures

FAQ

Is this the market rate? No. These are the CBI's official reference rates; the free-market rate is not published there.

Why no time-series search? The bank's series database (tsd.cbi.ir) did not answer from any network tried.

Does it read the Excel/PDF reports? The monthly Excel statistics tables (cb_statistics, cb_liquidity), the weekly repo report and the auction results are read as numbers. Other Excel and PDF reports come back as links.

License

MIT. Unofficial; not affiliated with the Central Bank of the Islamic Republic of Iran. Data belongs to its publisher.

Built by Sepehr Radmard (سپهر رادمرد): github.com/sepehr071 · linkedin.com/in/sepehr-radmard

فارسی

cbi-mcp یک سرور MCP غیررسمی و فقط‌خواندنی برای سایت بانک مرکزی جمهوری اسلامی ایران (cbi.ir) است: نرخ رسمی ارز و تاریخچه آن، نرخ تورم، نرخ‌های سود بازار بین‌بانکی، اخبار و اظهارات نقدینگی و فهرست گزارش‌ها با پیوند دانلود. نیازی به کلید یا حساب نیست. نصب: claude mcp add cbi -- uvx cbi-mcp

來源:README.md,提交 b2fc50e

工具

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

版本歷史

2
  1. v0.2.0最新Nov 7, 2026
  2. v0.1.0Nov 1, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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