fipiran-mcp
Read-only MCP server for Iranian mutual fund/ETF and Tehran–Farabourse market data, exposed through 11 fp_ tools.
Search and rank about 500 Iranian mutual funds and ETFs by name, ticker, manager, type, size, age and returns (daily to since-start).
List fund types (equity, fixed income, gold, mixed, etc.) with fund counts, total size, average returns and average asset allocation.
Show one fund in full: NAV, returns, size, allocation, investor mix, manager, auditor, custodian and website, optionally as of a past date.
Return a fund's daily history: NAV, rolling returns, net assets/unit flows, institutional vs retail mix, or dividends (up to 60 points).
Compare 2 to 8 funds side by side on type, size, NAV, returns, allocation and manager.
Rank fund management companies by assets under management, with fund count and typical return.
Show Tehran and Farabourse market overview and rank the 65 market/industry indices by return.
Return daily value, low/high or rolling returns for one index.
Search and rank last-day listed shares: gainers, losers, most traded, by industry or market.
Show one stock in full: quote, range, 5-level order book, retail vs institutional activity, period returns and optional OHLC history.
Rank stock-market industries by traded value, volume and trade count.
No API key or account needed; read-only, compact JSON, Persian names; Iranian network/proxy required; data only, not investment advice.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fipiran-mcp compare the top 3 gold funds by one-year return"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fipiran-mcp: Fipiran (فیپیران) Iranian mutual fund and ETF data MCP server for AI agents
fipiran-mcp is an unofficial, read-only MCP server that gives AI agents the public fund data of Fipiran (مرکز پردازش اطلاعات مالی ایران, fipiran.ir). Its 11 tools search and rank Iranian mutual funds and ETFs (صندوقهای سرمایهگذاری) by type, manager, size and return, show one fund in full, return daily NAV, return, size, flow and investor-mix history, compare funds, rank fund managers, and cover the bourse: market overview, indices, stock quotes and industries. No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.
For AI agents
What: unofficial MCP server for fipiran.ir fund pages: search and ranking of about 500 Iranian mutual funds and ETFs, fund details, daily NAV / rolling-return / size history, side-by-side comparison, fund types with average returns, fund management companies.
Install:
uvx fipiran-mcporclaude mcp add fipiran -- uvx fipiran-mcp. Transport: stdio. Needs uv (Python 3.10+).Auth: none. Optional
FIPIRAN_MCP_PROXY(HTTP proxy URL); system proxy settings are ignored.Network: fipiran.ir answers Iranian internet lines only. Outside Iran, set
FIPIRAN_MCP_PROXYto an Iranian proxy.Access: read-only, no confirmation needed. Login-only Fipiran features (ranking reports, watchlists, exports) are not included.
Tools: 11, all prefixed
fp_:fp_search_funds,fp_fund_types,fp_fund,fp_history,fp_compare,fp_managers,fp_indices,fp_index_history,fp_stocks,fp_stock,fp_industries. Typical sequence:fp_search_funds->fp_fund/fp_history/fp_compare.Use when: the user asks which Iranian funds returned most, the biggest gold or fixed-income funds, the NAV or price history of a fund, how a fund compares with its type average, or who manages a fund.
Output: compact JSON. Returns are percent per period (not annualised); sizes billion Toman; NAV rial per unit. Names are Persian.
Related MCP server: codal-mcp
Tools
Tool | What it does |
| Find and rank funds by name, ticker, type, manager, size, age and return (daily to since-start). |
| Fund types with fund count, total size, average returns and average asset allocation. |
| One fund in full: NAV, returns, size, allocation, investors, manager, auditor, custodian, website; optional past date. |
| Daily NAV, rolling returns, net assets and unit flows, institutional/retail mix or dividends of one fund (up to 60 evenly spaced points). |
| 2 to 8 funds side by side. |
| Fund management companies by assets under management. |
| Tehran and Farabourse market overview plus the 65 market and industry indices ranked by return. |
| Daily value (with low and high) or rolling returns of one index. |
| Search and rank listed shares of the last trading day: gainers, losers, most traded, by industry or market. |
| One share in full: quote, range, 5-level order book, retail vs institutional, period returns, optional OHLC history. |
| Industries ranked by traded value, volume and trades on the last day. |
Quick start
uvx fipiran-mcpClaude Desktop / Cursor config:
{ "mcpServers": { "fipiran": { "command": "uvx", "args": ["fipiran-mcp"] } } }FAQ
Is it official? No. It reads the same public JSON the fipiran.ir fund pages load; it is not affiliated with Fipiran.
Is this investment advice? No. It is data. Past returns do not predict future returns; very young funds show distorted annual returns.
Why does it fail outside Iran? The site does not answer foreign IPs. Use FIPIRAN_MCP_PROXY.
Author: Sepehr Radmard (سپهر رادمرد), github.com/sepehr071, linkedin.com/in/sepehr-radmard.
مجوز استفاده (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.
Available Tools
11 toolsfp_compareCompare fundsARead-onlyIdempotent
Put 2 to 8 funds side by side: type, size, NAV, returns for every period, allocation, manager.
Ids are reg_no (and group_id) of search rows.
Inputs: funds (required).
fp_fundFund detailsARead-onlyIdempotent
Get one fund in full: NAV, returns, size, allocation, investors, manager, auditor, custodian, website.
Use after fp_search_funds. Price series: fp_history.
Inputs: reg_no (required), on_date, group_id.
fp_fund_typesFund types and averagesARead-onlyIdempotent
List fund types (equity, fixed income, gold, mixed...) with fund counts, total size and average returns.
Gives the type ids for fp_search_funds. Returns are average percent; allocation is the average stock/bond/cash/deposit share.
Inputs: no named parameters.
fp_historyFund historyARead-onlyIdempotent
Get a fund's daily history: NAV, returns, size and flows, investor mix or dividends, at most 60 points.
Oldest first. Also gives NAV change over the window (nav) or net units issued minus redeemed (size).
Inputs: reg_no (required), days, series, group_id.
fp_index_historyIndex historyARead-onlyIdempotent
Get the daily history of one market or industry index, oldest first, at most 60 evenly spaced points.
Use after fp_indices. The value series also has the change over the window.
Inputs: ins_code (required), days, series.
fp_indicesMarket overview and indicesARead-onlyIdempotent
Show the Tehran and Farabourse market summary and rank the 65 market and industry indices by return.
Each index has an ins_code for fp_index_history. The first block is the market overview.
Inputs: limit, query, sort_by.
fp_industriesIndustry tradingARead-onlyIdempotent
Rank the stock-market industries by trading on the last day: traded value, volume, number of trades.
Use the name in fp_stocks(industry=...) for its shares, or fp_indices(query=...) for its index.
Inputs: limit, sort_by.
fp_managersFund managersARead-onlyIdempotent
Rank fund management companies by total assets under management, with their fund count and typical return.
Pass a manager name to fp_search_funds(manager=...). avg_annual_return_pct covers only funds older than one year.
Inputs: limit, query.
fp_search_fundsSearch and rank fundsBRead-onlyIdempotent
Search Iranian mutual funds and ETFs by name, type or manager, and rank them by return or size.
Rows have reg_no and group_id for fp_fund, fp_history, fp_compare.
Inputs: limit, query, manager, sort_by, +6 more.
fp_stockStock quoteARead-onlyIdempotent
Get one listed share in full: last trade, range, order book, buyers and sellers, period returns, industry.
Prices are rial. Order book and retail vs institutional counts are the last published. history_days adds OHLC rows, newest first.
Inputs: symbol (required), history_days.
fp_stocksSearch and rank stocksARead-onlyIdempotent
Search and rank listed shares traded on the last trading day: top gainers, losers, most traded, by industry.
Pass a row's symbol to fp_stock. Prices are rial, value is billion Toman. Untraded shares are left out.
Inputs: limit, query, market, sort_by, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool has a distinct role (search vs. detail vs. history vs. compare), and descriptions explicitly chain them ('Use after fp_search_funds', 'Pass a row's symbol to fp_stock'), which makes selection mostly unambiguous. Minor friction remains between the singular/plural pairs (fp_stock vs fp_stocks, fp_indices vs fp_industries), which cover adjacent ground and could be confused at a glance.
All tools share a consistent fp_ prefix and snake_case, with singular nouns for single-entity lookups and plurals for lists, which is a predictable pattern. The only deviation is fp_search_funds using a verb_noun form while the rest are plain nouns, though this is still readable.
Eleven tools is well within the ideal range and each one covers a distinct resource: funds, fund history, comparison, managers, indices, index history, stocks, stock detail, industries, and fund types. No tool looks redundant or padded.
The surface covers the Iranian fund and market domain well: discovery, detail, history, comparison, manager ranking, indices, stocks, and industries, with cross-references between them. Gaps are minor — e.g., no multi-index comparison or aggregated market-wide historical tool beyond a single index's history.
Maintenance
Related MCP Connectors
Live crypto + IDX stock market intelligence for AI agents — 19 tools, no API key.
Licensed Borsa Istanbul (BIST) data for AI assistants: live or 15-minute delayed prices, OHLCV bars from 1 minute to monthly, financial statements, ratios, KAP disclosures, indices and sectors, indicator backtests and portfolio tracking for 600+ Turkish stocks. OAuth sign-in with an istfin subscription. Never places orders.
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Free public stock research, market context, and comparisons for AI agents.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to read Tehran Stock Exchange and Iran Fara Bourse market data—quotes, top movers, order books, price history, sector indices, and real vs legal trading—through read-only tools. Requires no API key, returning compact JSON in Rial directly to Claude, Cursor, or Copilot.8210 PyPI10PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to search and read Iranian listed companies’ Codal disclosures, including financial statements, EPS and monthly activity reports as tables, meeting decisions, and PDF/Excel links, plus company and fiscal-year lookups.5383 PyPI10PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to read official Central Bank of Iran data through 11 read-only tools: historical exchange rates for ~48 currencies, inflation, weekly interbank and policy rates, news, liquidity, monthly statistics tables, sukuk auctions and open market operations, with no API key required. Text is Persian, dates accept Jalali or Gregorian, and output is compact JSON.11170 PyPIPolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to query public Iran Fara Bourse data read-only, including bond, sukuk and treasury bill yields, instrument and coupon details, live quotes and order books, IPOs, announcements, news and market statistics.16164 PyPIPolyForm Noncommercial 1.0.0