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.1.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.1.0
File Size Uploaded Provenance Actions
fipiran_mcp-0.1.0.tar.gz 122.7 kB With provenance Details for fipiran_mcp-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 145.5 kB

Release files / fipiran_mcp-0.1.0.tar.gz

Download URL fipiran_mcp-0.1.0.tar.gz
Size 122.7 kB
Tags Source
SHA-256 checksum
How to use checksums
beac80829f013967d7b792d43653942fa41ab59fa9ae9d7ff423b26c68d226f4
BLAKE2b-256 checksum
How to use checksums
3d5cafd947da1390b3c0849f58bbfe2e73ce4733bb1777234caf80dcf14fe65c
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 1, 2026.

Transparency log

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

Download URL fipiran_mcp-0.1.0-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f62240effed6fde92a712815b26cb7c46792681264cf8bb8c549b04e5ee6ed3
BLAKE2b-256 checksum
How to use checksums
86f4b65daf8a431afa05332c6adc98ab3b6ffde5c71b5da1f11987cfb4f5484a
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 1, 2026.

Transparency log

Security for fipiran-mcp 0.1.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fipiran_mcp-0.1.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 1, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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