Iran Fara Bourse

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

Read-only Iran Fara Bourse (ifb.ir): bond, sukuk and treasury yields, IPOs, notices, market stats.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

非官方、唯讀的伊朗法拉交易所(ifb.ir)MCP 伺服器,提供債券、伊斯蘭債券與國庫券殖利率、報價、IPO、公告及市場統計。

可以做什麼
  • 依到期殖利率、到期日與代碼篩選並排序債券、伊斯蘭債券與國庫券
  • 查看券種細節:票息率與付息時程、發行人、保證人、承銷商
  • 取得即時報價、含各檔殖利率的委託簿,以及每日價格與殖利率歷史
  • 列出已完成與即將進行的 IPO、承銷發行,並搜尋公告、新聞與市場訊息
  • 查看市場總覽、殖利率曲線、指數歷史、行情監控、停牌代碼與公司行動
適用情境
當使用者詢問法拉交易所哪檔債券、伊斯蘭債券或國庫券殖利率最高或何時到期、某券付息內容、價格或委託簿、有哪些 IPO、某代碼為何停牌,或市場整體表現時使用。不適用於德黑蘭證券交易所、加密貨幣或黃金問題,也無法下單。
執行需求
透過 uvx 以 stdio 在本機執行,需要 uv 與 Python 3.10 以上。不需 API 金鑰或帳號。ifb.ir 僅對伊朗網路回應;在境外需將環境變數 IFB_MCP_PROXY 設為伊朗 HTTP 代理(也接受以逗號分隔的多個代理)。
安裝前請注意
非官方,與伊朗法拉交易所無關聯;資料取自公開頁面與網站服務,可能失效或延遲。唯讀:不能登入或交易。輸出為交易所自身的波斯文,價格以里亞爾計,日期為波斯曆。透過 IFB_MCP_PROXY 轉送請求會讓流量經過第三方代理。僅供參考,不構成投資建議。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

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.

[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 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-mcp or claude 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.

bash
claude mcp add ifb -- uvx ifb-mcp

Claude Desktop, Cursor and others:

json
{  "mcpServers": {    "ifb": { "command": "uvx", "args": ["ifb-mcp"] }  }}

Tools

ToolUse it to
ifb_searchturn a symbol or name into an instrument id
ifb_yieldsrank bonds, sukuk and treasury bills by YTM with maturity and price filters
ifb_instrumentread coupon rate, maturity, issuer, guarantor and the coupon schedule
ifb_quoteget the live price, volume, order book and yields
ifb_historyget daily prices and YTM
ifb_iposlist finished IPOs or those upcoming and under way
ifb_underwritingslist securities offered by underwriting
ifb_announcementssearch notices, news and market messages
ifb_articleread one news article
ifb_market_summaryindex, turnover, bond indices, boards and top movers
ifb_yield_curvefitted yield curves for government, non-government and treasury bills
ifb_sukuk_flowsdaily value of Islamic securities bought and sold by investor type
ifb_market_watchlive market watch: top gainers, losers and most traded per board, halted symbols
ifb_index_historydaily history of the total, equal-weight, price and sukuk indices with 1d/5d/21d/250d changes
ifb_corporate_actionscapital increases with rights windows, board transfers, new listings, moves to Tehran Stock Exchange
ifb_haltedsymbols 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

MIT

來源:README.md,提交 0f9d820

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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