taaghche-mcp
Let your AI agent search Taaghche, the Iranian ebook and audiobook store: compare prices and formats, read reviews, browse bestsellers, new and free books.
Unofficial and read-only. Covers about 220,000 Persian and translated ebooks and audiobooks on taaghche.com, prices in Toman. No API key, no account.
Quick start
You need uv.
claude mcp add taaghche -- uvx taaghche-mcp
Any other MCP client (Claude Desktop, Cursor, VS Code): run uvx taaghche-mcp as a stdio server, e.g.
{
"mcpServers": {
"taaghche": { "command": "uvx", "args": ["taaghche-mcp"] }
}
}
Then ask, for example:
- "Is there an audiobook of شازده کوچولو, and which edition is the cheapest?"
- "Free audiobooks about history, most downloaded first."
- "What do readers say about book 6426? Show the most liked reviews."
- پرفروشترین کتابهای روانشناسی زیر ۱۰۰ هزار تومان کدامند؟
How it works
taaghche-mcp runs locally and calls the same public JSON endpoints the taaghche.com website uses
(get.taaghche.com for books, reviews, lists and search, explore.taaghche.com for suggestions; the category menu is
read from the home page). No hosted server in between. API map and quirks: ../taaghche/.
Tools
All 12 tools are annotated readOnlyHint: true and return compact structured JSON.
Find and read a book
| Tool | What it does |
|---|---|
tg_search |
Search by title, author or topic; format ebook / audiobook; sort (relevance, bestselling, cheapest, newest, ...); discounted, free, subscription, price range |
tg_suggest |
Typeahead: matching titles with their publisher |
tg_book |
Price and discount, format, pages or listening time, publisher, translator, narrator, rating breakdown, review count, categories, ISBN, availability |
tg_reviews |
Reader reviews (most liked first) with stars and likes; replies to one review |
tg_similar |
Similar books, other books of the same author and publisher |
Browse
| Tool | What it does |
|---|---|
tg_categories |
The category tree for ebooks and audiobooks with ids and slugs |
tg_browse |
A category or the whole catalog: format, sort, price ceiling, discounted, free; 16 per page |
tg_bestsellers |
The hottest books («داغترین»), overall or per category and format |
tg_new_releases |
Newest books, overall or per category and format |
tg_free_books |
Free books and audiobooks, most downloaded first |
tg_author |
An author's profile (nationality, life dates, biography) and books |
tg_publisher |
A publisher's description and books |
Good to know
- Prices are in Toman. The API returns Toman (book 6426 is
58500in the API and۵۸,۵۰۰ تومانon the page).final_priceis what you pay,priceis before discount,discount_pcta whole percent,freeis true for 0. - The site cannot filter by price, so the price range is applied here.
tg_searchappliesmin_price,max_priceandfree_onlyto the results it scans (up to 5 pages of 12); the browse tools,tg_authorandtg_publisherdo the same withmax_price(up to 5 pages of 16).scannedtells how many books were looked at; withsort="cheapest"the ceiling is exact and the scan stops early. Only free and discounted lists are filtered by the site. - Paging:
tg_searchreturns 12 books per page, the browse tools andtg_author/tg_publisher16. Passnext_cursorback ascursorwith the same other arguments. - «Bestsellers» is the site's «hot» ranking. Taaghche publishes no sales numbers; for the true best-selling order of a keyword use
tg_search(sort="bestselling"). - Binahayat (بینهایت) subscription:
in_subscriptionmarks books included in it; the price is for buying the book permanently. - Dates ending
_faare Persian (Jalali). - Persian queries match best.
Configuration
| Variable | Default | Meaning |
|---|---|---|
TAAGHCHE_MCP_PROXY |
unset | HTTP proxy for every request, e.g. http://user:pass@host:port (system proxy variables are ignored) |
Development
export HTTPS_PROXY=http://127.0.0.1:10898 HTTP_PROXY=http://127.0.0.1:10898 # uv downloads only
uv sync
uv run ruff check . && uv run ruff format --check .
uv run pytest -q # offline, on recorded fixtures
uv run pytest -m live -q # real API
License
MIT
Metadata
Release files for taaghche-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)
| File | Size | Uploaded | |
|---|---|---|---|
| taaghche_mcp-0.1.0.tar.gz | 126.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| taaghche_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 144.9 kB
Release files / taaghche_mcp-0.1.0.tar.gz
| Download URL | taaghche_mcp-0.1.0.tar.gz |
|---|---|
| Size | 126.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9111a981f0c5aba7835ad21d86a48f0cdacec241ba7394474cf3f3bd5f748f65
|
|
BLAKE2b-256 checksum How to use checksums |
399e8c1d2571eb74148b84259ab52f097c18a4193259606923e8c736bdaec557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 11, 2026.
Transparency logRelease files / taaghche_mcp-0.1.0-py3-none-any.whl
| Download URL | taaghche_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08d0cfc9c80dbb64ec44d5c8b798ccb3d356ef84f11db559a33989544a8a0fcc
|
|
BLAKE2b-256 checksum How to use checksums |
34e67cc10fecaabec1b5fd0727f3441b699ff24b79c18a16a70c0f8368c15c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 11, 2026.
Transparency log