Skip to main content

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.

PyPI License: MIT

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

Tools

Tool What it does
fp_search_funds Find and rank funds by name, ticker, type, manager, size, age and return (daily to since-start).
fp_fund_types Fund types with fund count, total size, average returns and average asset allocation.
fp_fund One fund in full: NAV, returns, size, allocation, investors, manager, auditor, custodian, website; optional past date.
fp_history Daily NAV, rolling returns, net assets and unit flows, institutional/retail mix or dividends of one fund (up to 60 evenly spaced points).
fp_compare 2 to 8 funds side by side.
fp_managers Fund management companies by assets under management.
fp_indices Tehran and Farabourse market overview plus the 65 market and industry indices ranked by return.
fp_index_history Daily value (with low and high) or rolling returns of one index.
fp_stocks Search and rank listed shares of the last trading day: gainers, losers, most traded, by industry or market.
fp_stock One share in full: quote, range, 5-level order book, retail vs institutional, period returns, optional OHLC history.
fp_industries Industries ranked by traded value, volume and trades on the last day.

Quick start

uvx fipiran-mcp

Claude 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. MIT license.

Metadata

Release files for fipiran-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fipiran-mcp 0.2.0
File Size Uploaded Provenance Actions
fipiran_mcp-0.2.0.tar.gz 121.9 kB With provenance Details for fipiran_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fipiran-mcp 0.2.0
File Interpreter ABI Platform Actions
fipiran_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for fipiran_mcp-0.2.0-py3-none-any.whl

Total release size: 143.8 kB

Release files / fipiran_mcp-0.2.0.tar.gz

Download URL fipiran_mcp-0.2.0.tar.gz
Size 121.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6640c59d3fb0d8b56922df5b441fa5ff6f5d3202b469f25d7690deb1ae07bc0e
BLAKE2b-256 checksum
How to use checksums
57c9bfb2552ac73cf55b650f2bd4f5c53a49d056363817d3a970c1393f50186f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / fipiran_mcp-0.2.0-py3-none-any.whl

Download URL fipiran_mcp-0.2.0-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e21273095559b03eebb1ed724f84dd32eeaa16f2007c9191e10d90b56e9a1ca
BLAKE2b-256 checksum
How to use checksums
8c6747333335af1c198a66cee559647b44da8923575e7cc682598e8f87d62e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for fipiran-mcp 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fipiran_mcp-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page