Iran Fara Bourse MCP Server
Read-only Iran Fara Bourse (ifb.ir): bond, sukuk and treasury yields, IPOs, notices, market stats.
Iran Fara Bourse scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It declares 16 tools. Filed under Uncategorized. GitHub shows 0 stars. 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
Quality: Grade A
94/100 for listing completeness. Lost points: 1 of 16 tools barely described, short summary.
How quality is graded
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-ifb-mcp": { "command": "uvx", "args": [ "ifb-mcp" ], "env": { "IFB_MCP_PROXY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
IFB_MCP_PROXY | Optional | Optional HTTP proxy URL for the ifb.ir requests; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next. |
Tools16Tool docs quality grade C
All capabilitiessearch notices, news and market messages
ifb_articletoolread one news article
capital increases with rights windows, board transfers, new listings, moves to Tehran Stock Exchange
ifb_haltedtoolsymbols halted now with date and reason, and issuers flagged for weak disclosure
ifb_historytoolget daily prices and YTM
daily history of the total, equal-weight, price and sukuk indices with 1d/5d/21d/250d changes
ifb_instrumenttoolread coupon rate, maturity, issuer, guarantor and the coupon schedule
ifb_ipostoollist finished IPOs or those upcoming and under way
index, turnover, bond indices, boards and top movers
ifb_market_watchtoollive market watch: top gainers, losers and most traded per board, halted symbols
ifb_quotetoolget the live price, volume, order book and yields
ifb_searchtoolturn a symbol or name into an instrument id
About
ifb-mcp: Iran Fara Bourse (فرابورس ایران) bonds, sukuk and IPO MCP server for AI agents
ifb-mcp is an unofficial, read-only MCP server that gives AI agents the public data of Iran Fara Bourse (ifb.ir), Iran's over-the-counter exchange. Its 16 tools rank bonds, sukuk and treasury bills (اخزا) by yield to maturity, explain a paper's coupons and issuer, quote prices and order books, list IPOs and new offerings, search exchange notices and news, and summarise the market. 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 ifb.ir: yield to maturity of every treasury bill, sukuk and bond, instrument details with coupon schedules, live quotes and order books, price and yield history, IPOs (finished and upcoming), underwritings, exchange announcements, news and market messages, market summary, the live market watch with top movers and most traded, index history, halted symbols, capital increases and board transfers, yield curves and who trades Islamic securities.
- Install:
uvx ifb-mcporclaude mcp add ifb -- uvx ifb-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
IFB_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. It cannot trade, log in or change anything, so no confirmation is needed before calling any tool.
- Tools: 16, all prefixed
ifb_. Typical sequences:ifb_yields->ifb_instrument/ifb_quote;ifb_search->ifb_history;ifb_ipos(stage="pipeline");ifb_announcements->ifb_article. - Use when: the user asks which bond, sukuk or treasury bill yields most or matures when, what a paper pays and when, a Fara Bourse price or order book, what IPOs are coming or happened, why a symbol is halted, or how the market did.
- Do not use when: the question is about the Tehran Stock Exchange (tse.ir), cryptocurrencies or gold; or the user wants to place an order.
- Output: compact JSON. Prices in rial, yields in percent a year, dates Jalali (
1405/08/09). Texts are the exchange's own (Persian). The site is reachable from Iranian networks only. - Machine-readable:
server.json.
Why
On ifb.ir, "which treasury bill maturing before next spring pays the best yield?" means opening the yield page,
scrolling 1,000 rows and sorting by hand. With ifb-mcp an agent answers it in one call:
You: Best yield among treasury bills maturing before 1405/12/01?
Agent: calls
ifb_yields(kind="treasury", matures_before="1405/12/01", limit=3)
Data is the exchange's, as shown on its website; yields are computed by Fara Bourse from the last trade. This is information, not investment advice.
What it can do
- Rank fixed income by yield: treasury bills, sukuk, participation papers and other bonds with last price, maturity and YTM, filtered by yield, maturity and symbol
- Explain a paper: coupon rate, maturity, issuer, guarantor, underwriter, market maker, full coupon schedule and the next payment
- Quote and chart: live price, change, volume, order book with the yield of each bid and offer, and daily history with YTM
- Follow offerings: finished IPOs with price and volume (filter by market and pricing method), companies being introduced, underwritings
- Read the exchange: search official notices, news and market messages (halts, openings) by keyword and date, and read an article
- Watch the live market: every symbol's price, change and best bid/ask ranked by change or value, per board; halted symbols with reasons; index history since 2009; capital increases and board transfers
- See the market: index, turnover, bond indices, each board's value and top movers, the fitted yield curves and who buys and sells Islamic securities
- Read-only by design: no login, no orders
Quick start
You need uv. No API key or account. ifb.ir answers Iranian
networks; from abroad set IFB_MCP_PROXY to an Iranian proxy.
claude mcp add ifb -- uvx ifb-mcp
Claude Desktop, Cursor and others:
{
"mcpServers": {
"ifb": { "command": "uvx", "args": ["ifb-mcp"] }
}
}
Tools
| Tool | Use it to |
|---|---|
ifb_search | turn a symbol or name into an instrument id |
ifb_yields | rank bonds, sukuk and treasury bills by YTM with maturity and price filters |
ifb_instrument | read coupon rate, maturity, issuer, guarantor and the coupon schedule |
ifb_quote | get the live price, volume, order book and yields |
ifb_history | get daily prices and YTM |
ifb_ipos | list finished IPOs or those upcoming and under way |
ifb_underwritings | list securities offered by underwriting |
ifb_announcements | search notices, news and market messages |
ifb_article | read one news article |
ifb_market_summary | index, turnover, bond indices, boards and top movers |
ifb_yield_curve | fitted yield curves for government, non-government and treasury bills |
ifb_sukuk_flows | daily value of Islamic securities bought and sold by investor type |
ifb_market_watch | live market watch: top gainers, losers and most traded per board, halted symbols |
ifb_index_history | daily history of the total, equal-weight, price and sukuk indices with 1d/5d/21d/250d changes |
ifb_corporate_actions | capital increases with rights windows, board transfers, new listings, moves to Tehran Stock Exchange |
ifb_halted | symbols halted now with date and reason, and issuers flagged for weak disclosure |
FAQ
Is it official? No. It reads the public pages and web service of ifb.ir and is not affiliated with Iran Fara Bourse.
Why do symbols end in a digit? The exchange lists each paper on several boards (کارون0731, 0732). Take the id from ifb_yields or ifb_search.
Is the market watch included? Not the live ranking grid, which the site fills through a push connection. Quotes come from the site's JSON service.
فارسی
ifb-mcp یک سرور MCP غیررسمی و فقطخواندنی برای فرابورس ایران (ifb.ir) است. با آن میتوان اوراق بدهی، صکوک و اسناد خزانه (اخزا) را بر پایهٔ بازده تا سررسید (YTM) مرتب کرد، جزئیات و برنامهٔ پرداخت سود هر ورقه را دید، قیمت و صف خرید و فروش را گرفت، عرضههای اولیه و پذیرهنویسیها را دید، اطلاعیهها و اخبار را جستجو کرد و خلاصهٔ بازار را خواند. کلید API یا حساب لازم نیست. سایت فقط از شبکههای ایران پاسخ میدهد.
نصب: claude mcp add ifb -- uvx ifb-mcp
مجوز استفاده (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.
Frequently asked questions
What is Iran Fara Bourse MCP Server?
Read-only Iran Fara Bourse (ifb.ir): bond, sukuk and treasury yields, IPOs, notices, market stats.
How do I install Iran Fara Bourse 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. Iran Fara Bourse MCP Server runs locally from the PyPI package ifb-mcp with the command uvx ifb-mcp.
Is Iran Fara Bourse MCP Server free and open source?
Yes. Iran Fara Bourse 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 Iran Fara Bourse MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Iran Fara Bourse MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Iran Fara Bourse MCP Server provide?
Iran Fara Bourse MCP Server provides 16 tools, including ifb_announcements, ifb_article, ifb_corporate_actions, and ifb_halted. See the full tool list for descriptions and parameters.
How is Iran Fara Bourse MCP Server's trust score calculated?
Iran Fara Bourse 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.