Central Bank of Iran MCP Server
Read-only Central Bank of Iran (cbi.ir): official FX rates, inflation, policy rates, news.
Central Bank of Iran scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It declares 11 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 80 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sepehr071-cbi-mcp": { "command": "uvx", "args": [ "cbi-mcp" ], "env": { "CBI_MCP_PROXY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CBI_MCP_PROXY | Optional | Optional HTTP proxy URL for the cbi.ir requests; system proxy settings are ignored. |
Tools11Tool docs quality grade C
All capabilitiescb_bond_auctionstoolResults of the newest weekly government sukuk auctions per bond: offered, sold, yield
Official rates of ~48 currencies for a date (default latest), optional currency filter
cb_inflationtoolMonthly 12-month inflation for a Jalali year and annual inflation history
cb_liquiditytoolLiquidity, money, quasi-money and monetary base (balance, yearly growth) from the newest monthly Excel, plus latest statements
cb_newstoolNews titles (id, date), optional word filter and year
cb_news_itemtoolFull text and attachments of one news item
cb_open_markettoolWeekly open market operation reports with the newest repo auction figures
cb_policy_ratestoolWeekly interbank, repo and standing-facility rates for a year
cb_publicationstoolNewest Economic Trends, monthly monetary reports, annual or interbank reviews with file links
cb_rate_historytoolOne currency over time with change %; last 7 days, or sampled between two dates
cb_statisticstoolRows of any sheet of the monthly Excel tables: monetary, balanceofpayments, fiscal, capitalmarket (year, month, sheet)
About
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.
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-mcporclaude 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"])andcb_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
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
| Tool | What it returns |
|---|---|
cb_exchange_rates | Official rates of ~48 currencies for a date (default latest), optional currency filter |
cb_rate_history | One currency over time with change %; last 7 days, or sampled between two dates |
cb_inflation | Monthly 12-month inflation for a Jalali year and annual inflation history |
cb_policy_rates | Weekly interbank, repo and standing-facility rates for a year |
cb_news | News titles (id, date), optional word filter and year |
cb_news_item | Full text and attachments of one news item |
cb_liquidity | Liquidity, money, quasi-money and monetary base (balance, yearly growth) from the newest monthly Excel, plus latest statements |
cb_publications | Newest Economic Trends, monthly monetary reports, annual or interbank reviews with file links |
cb_statistics | Rows of any sheet of the monthly Excel tables: monetary, balance_of_payments, fiscal, capital_market (year, month, sheet) |
cb_bond_auctions | Results of the newest weekly government sukuk auctions per bond: offered, sold, yield |
cb_open_market | Weekly 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)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیتهاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخههای پیش از 0.2.1 با مجوز MIT منتشر شدهاند و همان مجوز را دارند.
Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.2.1 were released under MIT and stay under it.
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
Frequently asked questions
What is Central Bank of Iran MCP Server?
Read-only Central Bank of Iran (cbi.ir): official FX rates, inflation, policy rates, news.
How do I install Central Bank of Iran MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Central Bank of Iran MCP Server runs locally from the PyPI package cbi-mcp with the command uvx cbi-mcp.
Is Central Bank of Iran MCP Server free and open source?
Yes. Central Bank of Iran MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Central Bank of Iran MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Central Bank of Iran MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Central Bank of Iran MCP Server provide?
Central Bank of Iran MCP Server provides 11 tools, including cb_bond_auctions, cb_exchange_rates, cb_inflation, and cb_liquidity. See the full tool list for descriptions and parameters.
How is Central Bank of Iran MCP Server's trust score calculated?
Central Bank of Iran MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.