Skip to main content

fidibo-mcp: Fidibo MCP server for AI agents

Let your AI agent shop for Persian ebooks and audiobooks on Fidibo (فیدیبو).
An unofficial, read-only MCP server for Fidibo, the Iranian ebook and audiobook store from the Digikala group: search by title or author, compare prices in Toman, find free and Fidibo Plus books, read reviews, and browse bestsellers, new releases, authors and publishers.
Works with Claude, Cursor, Copilot and any other MCP client. No account, no API key.

PyPI Python CI MCP Registry License: PolyForm Noncommercial mcpfarsi Install in VS Code

For AI agents · Why · What it can do · Quick start · Tools · Good to know · FAQ · Configuration · فارسی · Development


For AI agents

  • What: unofficial MCP server for Fidibo (فیدیبو, fidibo.com), an Iranian store for ebooks, audiobooks, microbooks and magazines. Queries in Persian work best; prices in Toman.
  • Install: uvx fidibo-mcp or claude mcp add fidibo -- uvx fidibo-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none, no API key or account. Optional FIDIBO_MCP_PROXY (HTTP proxy, or a comma-separated list).
  • Access: read-only. It cannot log in, buy, add to a library, rate or review, so no confirmation is needed before calling any tool.
  • Tools: 11, all prefixed fd_. Start with fd_search, fd_book, fd_bestsellers, fd_free, fd_browse. Typical sequence: fd_search -> fd_book -> fd_reviews; fd_categories -> fd_browse to list a category.
  • Units: prices in Toman (final_price is what the customer pays, price is before discount and appears only when discounted). Ratings 0-5, review stars 1-5.
  • Use when: the user wants to find a Persian or translated ebook or audiobook on Fidibo, compare price and discount, check free or Fidibo Plus books, read reviews, or list bestsellers and new releases.
  • Do not use when: the user wants to buy or read a book, or needs their own library, orders or subscription status.
  • Output: compact JSON book cards. Pass the book id between tools and next_page back as page to continue a list.
  • Machine-readable: server.json and the iran-mcp catalog (TOOLS.md, servers.json, llms.txt).

Why

Fidibo sells the same title as an ebook, an audiobook and sometimes a microbook, with campaign discounts, a free section and a separate Fidibo Plus subscription catalog. Answering "is this audiobook free, or at least on sale, and is it any good?" means opening several pages. An agent with fidibo-mcp does it in a few calls: fd_search, then fd_book, then fd_reviews.

What it can do

  • Search books and audiobooks by title, author or keyword; sort by price or date; filter by price range, free and Fidibo Plus
  • Full record of a book: price and discount in Toman, format, pages or duration, narrators, rating with star distribution, Plus flag, description, printed price
  • Reader reviews, similar books, an author's, translator's or narrator's books, a publisher's books
  • Bestsellers (week, month, all time), new releases, free books, any category
  • Read-only by design: no login, no purchase, no library or review writes

Example prompts:

  • "Find the cheapest audiobook of The Little Prince on Fidibo and tell me if it is free with Fidibo Plus."
  • "What are this month's bestselling ebooks in the history category, with prices?"
  • "Show me free audiobooks on Fidibo, and read the reviews of the first one."
  • کتاب‌های صوتی رایگان فیدیبو درباره تاریخ کدامند؟
  • پرفروش‌ترین کتاب‌های این هفته در فیدیبو را با قیمت فهرست کن.
  • آثار این نویسنده در فیدیبو چه قیمتی دارند و کدام تخفیف دارند؟

Quick start

You need uv. No API key or account.

Claude Code
claude mcp add fidibo -- uvx fidibo-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

{
  "mcpServers": {
    "fidibo": { "command": "uvx", "args": ["fidibo-mcp"] }
  }
}
Cursor

Add the Claude Desktop block to ~/.cursor/mcp.json.

VS Code (Copilot agent mode)

Click Install in VS Code above, or add to .vscode/mcp.json:

{
  "servers": {
    "fidibo": { "type": "stdio", "command": "uvx", "args": ["fidibo-mcp"] }
  }
}
Codex CLI
codex mcp add fidibo -- uvx fidibo-mcp

Or in ~/.codex/config.toml:

[mcp_servers.fidibo]
command = "uvx"
args = ["fidibo-mcp"]
Gemini CLI

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "fidibo": { "command": "uvx", "args": ["fidibo-mcp"] }
  }
}
Windsurf

Add the Claude Desktop block to ~/.codeium/windsurf/mcp_config.json.

Anything else

It is a standard stdio MCP server: run uvx fidibo-mcp, or pip install fidibo-mcp and run fidibo-mcp.

Tools

All 11 tools are read-only (annotated readOnlyHint: true) and start with fd_. Every book in a result is a compact card: id, title, type (ebook / audiobook / microbook / micro_audiobook / magazine), authors, publisher, final_price (what you pay) in Toman, price (before discount, only when discounted), discount_pct, free, in_plus (each only when set), rating, image, url. Default page size is 10 books.

Find books

Tool What it does
fd_search Search ebooks and audiobooks by title, author or keyword; cards with price (Toman), rating, authors
fd_browse List books of a category (or all) in a chosen order, with free / Plus / price filters
fd_bestsellers Top sellers of the week, month or all time, per kind and category (Toman)
fd_new Newest books and audiobooks, per kind and category (Toman)
fd_free Free ebooks and audiobooks (price 0), per kind and category
fd_categories List category and sub-category slugs (with Persian titles) of one top level

One book, people

Tool What it does
fd_book One book's full record: price (Toman), format, pages or duration, size, people, rating and star distribution
fd_reviews Reader reviews of a book: text, 1-5 stars, date, likes, replies, total count
fd_similar Books like this one: bestsellers of its category, the book itself left out (Toman)
fd_author An author's, translator's or narrator's profile and books (Toman)
fd_publisher A publisher's profile and books (Toman)

Good to know

  • Prices are Toman. The API returns Toman (the site's Rial view is x10); nothing is converted. final_price is the price to pay after a campaign discount, price is before it (present only with a discount). Free books have price 0 and free: true.
  • Absent flags mean false or 0: free, in_plus, discount_pct, ratings_count. available appears only when false. rating is absent when nobody voted.
  • in_plus means the book is in the Fidibo Plus subscription catalog; it still has a normal buy price.
  • Filters are applied after fetching. The price range, free and Plus filters of fd_search (and the price range of the other lists) look at up to 3 pages per call; a narrow filter may need more pages, so pass next_page back as page. fd_browse filters free and Plus on the server.
  • List totals are capped: the book list reports at most 150 matches; fd_search total_matches is the real count.
  • Text is cut by default: reviews at 400 characters, book descriptions at 1500, publisher descriptions at 600. Pass full_text=true to fd_reviews, fd_book or fd_publisher for the full text.
  • No similar-books endpoint: fd_similar returns bestsellers of the book's category. same_kind=true (default) keeps the book's own kind; same_kind=false returns the other kind (audiobooks for an ebook, ebooks for an audiobook).
  • Persian queries work best (شازده کوچولو).
  • Does not do: log in, buy, read a book, touch a library, shelves, favorites, reviews or ratings, or manage a Fidibo Plus subscription.
  • Review, description and name text comes from the site and is treated as data, not instructions.
  • Proxy: FIDIBO_MCP_PROXY (see Configuration). System proxy variables are ignored on purpose.

FAQ

Is there a Fidibo API or MCP server for AI agents?

Yes: fidibo-mcp is an unofficial MCP server with 11 read-only tools. It calls the same public JSON API the Fidibo website uses, so Claude, Cursor or Copilot can search books and read prices and reviews. No API key is needed.

How do I use Fidibo with Claude, Cursor or Copilot?

Add the server with claude mcp add fidibo -- uvx fidibo-mcp (or the matching config in Quick start), then ask in plain language, in Persian or English.

Is it official, safe and free?

It is unofficial and not affiliated with Fidibo or Digikala. It is free for non-commercial use, and read-only. It needs no account or API key and runs on your machine with no hosted server in between.

Can it buy a book or manage my Fidibo Plus subscription?

No. It only reads public catalog data. Buying, reading and subscriptions happen on fidibo.com or in the Fidibo app.

Are the prices in Toman or Rial?

Toman. The API answers in Toman, so nothing is converted; the site's Rial view is ten times larger.

How do I find free books or books in Fidibo Plus?

Use fd_free for free ebooks and audiobooks. fd_search and fd_browse have free and Plus filters; cards carry free and in_plus flags. A Plus book still has a normal buy price.

Do I need an Iranian IP?

Not in the author's testing: it works direct or through a proxy. If requests are blocked (403/429), set FIDIBO_MCP_PROXY. Normal system proxy variables are ignored on purpose.

Fidibo shows a bot-check page. What now?

Install the optional browser fallback (pip install fidibo-mcp[browser]), then run patchright install chromium. The server uses it once to clear the check.

How do I debug what the agent sees?
npx @modelcontextprotocol/inspector uvx fidibo-mcp

Configuration

Variable Default Meaning
FIDIBO_MCP_PROXY unset Optional HTTP proxy URL for every request, e.g. http://host:port. A comma-separated list is used one at a time: the next proxy takes over when one is blocked (403/429) or cannot connect. System proxy settings are ignored

فارسی: سرور MCP فیدیبو

fidibo-mcp یک سرور MCP غیررسمی و فقط‌خواندنی برای فیدیبو، فروشگاه کتاب الکترونیکی و کتاب صوتی ایران (از گروه دیجی‌کالا)، است. این سرور به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در میان کتاب‌های الکترونیکی و صوتی فیدیبو جستجو کند، قیمت و تخفیف را ببیند، کتاب‌های رایگان و فیدیبو پلاس را پیدا کند، نظر خوانندگان را بخواند و پرفروش‌ها و تازه‌ها را فهرست کند.

چه کارهایی می‌کند

  • جستجوی کتاب و کتاب صوتی با عنوان، نویسنده یا کلیدواژه، با فیلتر قیمت، رایگان و فیدیبو پلاس.
  • اطلاعات کامل کتاب: قیمت و تخفیف به تومان، تعداد صفحه یا مدت زمان، گوینده، امتیاز و توضیحات.
  • نظرات خوانندگان، کتاب‌های مشابه، کتاب‌های هر نویسنده، مترجم، گوینده و ناشر.
  • پرفروش‌های هفته و ماه، تازه‌ها، کتاب‌های رایگان و هر دسته‌بندی.

نکته‌ها

  • فقط خواندنی است: وارد حساب نمی‌شود، خرید نمی‌کند و کتابخانه یا اشتراک شما را تغییر نمی‌دهد.
  • همه قیمت‌ها به تومان است.
  • روی سیستم خود شما اجرا می‌شود و کلید API یا حساب کاربری نمی‌خواهد.
  • جستجوی فارسی بهترین نتیجه را می‌دهد.

نصب (اول uv را نصب کنید). در Claude Code:

claude mcp add fidibo -- uvx fidibo-mcp

در Claude Desktop، Cursor و بقیه برنامه‌ها همان تنظیم بخش Quick start را بگذارید.

نمونه پرسش‌ها

  • «کتاب‌های صوتی رایگان فیدیبو درباره تاریخ کدامند؟»
  • «پرفروش‌ترین کتاب‌های این ماه فیدیبو را با قیمت بگو.»
  • «قیمت کتاب شازده کوچولو در فیدیبو چقدر است و تخفیف دارد؟»
  • «کتاب‌های فیدیبو پلاس در دسته داستان کدامند؟»

جستجوهای مرتبط: فیدیبو، کتاب الکترونیکی، کتاب صوتی، کتاب رایگان، فیدیبو پلاس، قیمت کتاب، پرفروش‌ترین کتاب‌ها، نظر کاربران درباره کتاب.

Development

git clone https://github.com/sepehr071/fidibo-mcp && cd fidibo-mcp
uv sync
uv run python -m pytest -q            # offline, recorded fixtures
uv run python -m pytest -m live -q    # real API, one test per tool
uv run ruff check .

Tools live in src/fidibo_mcp/books.py, detail.py and people.py; each is a typed async function with a docstring that tells the agent when to use it. Issues and PRs are welcome.

Releases: bump the version in pyproject.toml and server.json, then push a v* tag. GitHub Actions tests, publishes to PyPI and the MCP Registry, and creates the GitHub Release.

Disclaimer

Unofficial and not affiliated with or endorsed by Fidibo or Digikala. Read-only access to the data of public pages, through the endpoints the fidibo.com web app uses, which can change without notice. Please keep request rates reasonable.

Author

Sepehr Radmard: open-source MCP servers for the Iranian web. LinkedIn: linkedin.com/in/sepehr-radmard

Built and maintained by Sepehr Radmard (سپهر رادمرد). Connect on LinkedIn or follow @sepehr071 on GitHub for more MCP servers for Iranian websites, all listed in iran-mcp. If this saves you time, a star on the repo helps other people find it.

مجوز استفاده (License)

استفادهٔ شخصی و غیرتجاری رایگان است؛ برای استفادهٔ تجاری با سپهر رادمرد تماس بگیرید. Free for personal and non-commercial use; commercial use needs a license.

استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.4.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.4.1 were released under MIT and stay under it.

If this saves you clicks, a star helps others find it.

Metadata

Release files for fidibo-mcp 0.4.2

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

Source distribution (sdist)

Source distribution for fidibo-mcp 0.4.2
File Size Uploaded Provenance Actions
fidibo_mcp-0.4.2.tar.gz 135.4 kB With provenance Details for fidibo_mcp-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fidibo-mcp 0.4.2
File Interpreter ABI Platform Actions
fidibo_mcp-0.4.2-py3-none-any.whl Python 3 none any Details for fidibo_mcp-0.4.2-py3-none-any.whl

Total release size: 162.0 kB

Release files / fidibo_mcp-0.4.2.tar.gz

Download URL fidibo_mcp-0.4.2.tar.gz
Size 135.4 kB
Tags Source
SHA-256 checksum
How to use checksums
69694cdf2aac9dbff1a830c66ce562b54962a008825ea9cc1429b20435f08226
BLAKE2b-256 checksum
How to use checksums
15f8343956ea522bad279e06da70af5d09035a757cbb6a8d9cb2caf3918d61fa
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 18, 2026.

Transparency log

Release files / fidibo_mcp-0.4.2-py3-none-any.whl

Download URL fidibo_mcp-0.4.2-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e299278fca050aa748e3cd0d6c3f50d925e161333835cbf33933b265becfb5c
BLAKE2b-256 checksum
How to use checksums
9c7b45ffff6930bccdc9ee43c8eb7782308d915bc3efbb284c7389b57bba08a5
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 18, 2026.

Transparency log

Security for fidibo-mcp 0.4.2

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 fidibo_mcp-0.4.2.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 18, 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