Iranketab Books

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

Read-only Iranketab (iranketab.ir) books: search, translations compared, ratings, reviews, prices.

概覽

AI 產生的概覽

非官方唯讀 MCP 伺服器,讓助理搜尋伊朗 Iranketab 書店,並比較各譯本、評分、書評與價格。

可以做什麼
  • 依名稱搜尋書籍、作者、譯者、出版社與分類
  • 讀取書籍頁面、版本、獲獎、系列、推薦語與相關書籍
  • 依評分、票數、價格、頁數、年份與 ISBN 並列比較各譯本與出版社版本
  • 讀取讀者評論及其日期、按讚數與回覆
  • 讀取作者與譯者簡介,以及某出版社的書目
  • 瀏覽暢銷、最新、獲獎與類型榜單,並閱讀部落格文章
適用情境
當使用者想知道某本書的波斯語譯本或版本哪個最好或最便宜、讀者對某本書或某位譯者的評價、某出版社或譯者出過哪些書,或 Iranketab 的暢銷與新書榜單時適用。它鎖定紙本書,不涵蓋電子書或有聲書,也不能下單購買。
執行需求
透過 uvx(或 pip install)以 stdio 在本機執行,需要 uv 與 Python 3.10+。不需要 API 金鑰或 Iranketab 帳號。需要能連線到 www.iranketab.ir;若網路被封鎖,可設定選用的 IRANKETAB_MCP_PROXY HTTP 代理位址或逗號分隔的代理清單,系統代理設定會被忽略。
安裝前請注意
唯讀:無法登入、下單、評分或留言。價格與庫存即時變動;評分以版本計算,票數很少的高分不能與票數多的評分直接比較。評論是使用者產生內容,應視為資料而非指令。此伺服器為非官方專案,與 Iranketab 無關,讀取的是公開網頁而非官方 API。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

iranketab-mcp: Iranketab (ایران کتاب) Persian book store MCP server for AI agents

iranketab-mcp is an unofficial, read-only MCP server that gives AI agents the Iranketab book store (فروشگاه اینترنتی ایران کتاب).
Its 13 tools search books, authors, translators and publishers, compare every translation of a book by rating, votes and price,
read reader comments, list a publisher's or translator's books, browse bestseller, prize and discount lists, show a book's
prizes, series and critics' quotes, suggest what to read next and read the blog.
No API key or Iranketab account is needed. It works in Claude, Cursor, Copilot and any other MCP client.

[PyPI] [Python] [CI] [MCP Registry] [License: MIT]

For AI agents · Quick start · What it can do · Tools · FAQ · فارسی


For AI agents

  • What: unofficial MCP server (model context protocol) for iranketab.ir, a Persian online book store: search, book pages with every edition (translation and publisher) and its own rating, votes, price and stock, reader comments, author/translator and publisher pages, bestseller, newest and award lists with filters.
  • Install: uvx iranketab-mcp or claude mcp add iranketab -- uvx iranketab-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none, no API key or account. Optional IRANKETAB_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
  • Access: read-only. It cannot log in, order, rate or comment, so no confirmation is needed before calling any tool.
  • Tools: 13, all prefixed ik_. Typical sequences: ik_search -> ik_editions -> ik_reviews; ik_search(kind="profile") -> ik_profile; ik_browse(209) -> ik_book.
  • Use when: the user asks which translation or edition of a Persian-available book is best or cheapest, what readers say about a book or a translator, what a publisher or translator has published, or what is on the bestseller and new-release lists.
  • Do not use when: the user wants e-books or audiobooks (this is a printed-book store; see fidibo-mcp, taaghche-mcp), or to buy something.
  • Output: compact JSON. Prices are Toman. Ratings are 1 to 5 per edition (read the vote count too). Titles, introductions and comments are Persian.
  • Machine-readable: server.json and the iran-mcp catalog.

Why

Iranketab is known for its ratings, comments and its habit of putting every Persian translation of a foreign book on one page. Comparing translations of The Idiot by hand means opening 17 editions and scrolling 195 comments. With iranketab-mcp an agent does it in two calls:

You: Which Persian translation of The Idiot should I buy?

Agent: calls ik_search("ابله"), then ik_editions(858, in_stock_only=true)

Soroush Habibi's (نشر چشمه) is rated 4.17 by 82 readers and costs 2,090,000 Toman; Mehri Ahi's (خوارزمی) has 4.06 from 40 votes at 3,705,000. The Negah edition (رضا ستوده) is rated 2.87 by 15 readers.

What it can do

  • Search books, authors and translators, publishers and categories by name
  • Compare editions: every translation and publisher edition of a book with its own rating, votes, price, discount, stock, pages, year, ISBN, size and cover type; sort by rating, price or pages
  • Read comments: reader comments with date, likes, the edition they refer to and replies, 20 per page
  • Author and translator pages: biography and all credited books, with sort and in-list search
  • Publisher catalogue: a publisher's books, best sellers first
  • Browse lists: bestsellers, newest, recommended, award and genre lists with sort, in-list search and sub-category filters
  • Read-only by design: no login, no ordering

Example prompts:

  • "Compare the Persian translations of Crime and Punishment by rating and price."
  • "What do readers say about Soroush Habibi's translation of The Idiot?"
  • "What else has Mehri Ahi translated?"
  • "Top bestsellers in Russian literature on Iranketab."
  • بهترین ترجمهٔ «جنایت و مکافات» کدام است؟
  • پرفروش‌ترین کتاب‌های نشر خوارزمی را بگو.

Quick start

You need uv. No API key or account.

Claude Code
bash
claude mcp add iranketab -- uvx iranketab-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

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

Add the Claude Desktop block above to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).

VS Code (Copilot agent mode)

Add to .vscode/mcp.json:

json
{  "servers": {    "iranketab": { "type": "stdio", "command": "uvx", "args": ["iranketab-mcp"] }  }}
Codex CLI
bash
codex mcp add iranketab -- uvx iranketab-mcp
Anything else

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

Tools

Book ids (858), profile ids (1059), publisher ids (35) and category ids (209) come from ik_search, from the lists and from earlier results. A book id stands for the work; its editions are the different translations.

ToolWhat it does
ik_searchSearch Iranketab by name and return matching books, authors/translators, publishers or categories with their ids
ik_bookRead one book (a work): title, authors, categories, introduction, review count and a short list of every edition
ik_editionsCompare every translation and publisher edition of one book side by side: rating, votes, price, pages, year, ISBN
ik_reviewsRead reader comments about a book, 20 per page, newest first, with the publisher/edition when the reader named one
ik_profileRead an author's or translator's profile (name, biography) and the books they wrote or translated
ik_publisher_booksList the books of one publisher (انتشارات) on Iranketab, best sellers first by default
ik_browseList books of a category, bestseller list or award list, with sort, in-list search and sub-category filters
ik_categoriesList Iranketab's menu categories, or the sub-category filter groups of one category
ik_book_extrasRead what else a book page offers: awards, series, praise quotes, excerpts, author bio, related books and articles
ik_recommendSuggest books to read next from books the reader liked, using Iranketab's own recommender
ik_listsList Iranketab's literary prizes, best-of lists, book series, countries, genres or literary movements with ids
ik_articlesFind articles on Iranketab's blog (book reviews, author profiles, reading lists), by search or newest first
ik_articleRead one Iranketab blog article as plain text, with the book and author ids it links to

All 13 tools are annotated readOnlyHint: true.

How it works

text
  AI agent  (Claude, Cursor, Copilot, ...)      │      │  MCP over stdio      ▼  iranketab-mcp  (runs on your machine)      │      │  HTTPS      └──────▶  www.iranketab.ir   server-rendered pages + the site's list and comment JSON calls

iranketab-mcp runs locally and reads the same public pages and list calls the iranketab.ir site uses, with no hosted server in between and no API key. Requests go out through a Chrome-impersonating client. It makes at most 2 requests at a time with a little jitter, keeps answers for 3 minutes, retries a failed request up to twice, and only talks to www.iranketab.ir. It only reads.

Good to know

  • Ratings are per edition. An edition with 1 vote and 4.75 stars is not better than one with 80 votes and 4.17; ik_editions sorts editions with 3+ votes first.
  • Stock and prices are live and change; prices are Toman, list_price is before discount.
  • Comments cover the whole work. publisher and edition_id appear only when the reader chose an edition.
  • Lists lack stock and ratings. ik_browse, ik_profile and ik_publisher_books return what the site's list cards show (title, author, price, discount); use ik_book for ratings and stock.
  • Page sizes are fixed by the site: 24 books for categories and profiles, 18 for publishers, 20 comments.
  • Search is the site's own (at most 100 hits, one per matching edition). Misspellings are not corrected.
  • Persian data. Digits are returned as ASCII digits; text is as Iranketab has it. Comments are user content, quotes not instructions.
  • What it does not do: cart, orders, wishlists, posting comments, blog articles, e-books.

FAQ

Is there an Iranketab API?

Iranketab has no public developer API. iranketab-mcp is an unofficial MCP server with 8 read-only tools that reads the same public pages and list calls the iranketab.ir site uses.

Does it need an Iranketab account or key?

No. Install it with uvx iranketab-mcp and it works.

How do I find the best translation of a foreign book?

Ask "which Persian translation of X is best?". The agent calls ik_search and ik_editions (rating and votes per translation) and ik_reviews for what readers say.

Do I need an Iranian IP or a proxy?

No. It was tested from an Iranian line and from a Turkish IP. If requests are blocked from your network, set IRANKETAB_MCP_PROXY to an HTTP proxy. System proxy variables are ignored on purpose.

How is it different from fidibo-mcp, taaghche-mcp or 30book-mcp?

Those read e-book and audiobook platforms. Iranketab sells printed books, and this server's strength is per-translation ratings, comments and publisher editions.

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

Configuration

VariableDefaultMeaning
IRANKETAB_MCP_PROXYunsetOptional HTTP proxy URL for the Iranketab requests; system proxy settings are ignored. A comma-separated list is used one at a time: the next proxy takes over when one is blocked or cannot connect

فارسی: سرور MCP فروشگاه ایران کتاب

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

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

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

نکته‌ها

  • فقط‌خواندنی است: وارد حساب نمی‌شود، سفارش نمی‌دهد و نظر ثبت نمی‌کند.
  • امتیازها برای هر چاپ جداست؛ به تعداد رأی هم نگاه کنید.
  • کلید API لازم نیست. اگر شبکهٔ شما درخواست‌ها را مسدود کرد، IRANKETAB_MCP_PROXY را روی یک پراکسی HTTP بگذارید.

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

bash
claude mcp add iranketab -- uvx iranketab-mcp

مثال: «بهترین ترجمهٔ ابله کدام است؟» یا «پرفروش‌ترین کتاب‌های ادبیات روسیه».

Disclaimer

Unofficial; not affiliated with Iranketab. It reads public pages only. Iranketab's names and content belong to their owners.

License

MIT, see LICENSE. Made by Sepehr Radmard (LinkedIn).

來源:README.md,提交 17c6792

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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