by mmdju
MCP server for Digikala: search, compare and price-check products on Iran's largest marketplace. Read-only, no API key. 19 tools, hosted on Cloudflare Workers.
# Add to your Claude Code skills
git clone https://github.com/mmdju/digikala-mcpGuides for using mcp servers skills like digikala-mcp.
digikala-mcp is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by mmdju. MCP server for Digikala: search, compare and price-check products on Iran's largest marketplace. Read-only, no API key. 19 tools, hosted on Cloudflare Workers. It has 174 GitHub stars.
digikala-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/mmdju/digikala-mcp" and add it to your Claude Code skills directory (see the Installation section above).
digikala-mcp is primarily written in JavaScript. It is open-source under mmdju on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh digikala-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.

A public MCP server that gives AI agents real data from Digikala - Iran's largest online marketplace: search, prices in Toman, discounts, ratings, sellers, reviews, deals and bestsellers. Read-only, no key needed.
Live endpoint: https://digikala-mcp.mmdju.workers.dev/mcp (Streamable HTTP)
نسخه فارسی · Examples · Tool reference · Changelog
Any Streamable HTTP MCP client, one URL. Cline / Cursor / Claude Desktop (mcp.json style):
{
"mcpServers": {
"digikala": { "url": "https://digikala-mcp.mmdju.workers.dev/mcp" }
}
}
Then just talk: "best Samsung phone under 100 million Toman", "is this laptop any good?", "what is on deal today?", "what is popular in Iran right now?".
No client at hand? The whole protocol is one POST - a real call:
curl -sS https://digikala-mcp.mmdju.workers.dev/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_digikala","arguments":{"query":"هدفون بی سیم","limit":2}}}'
And a real answer, trimmed to its bones (Toman, as JSON numbers):
{
"query": "هدفون بی سیم",
"returned": 2,
"items": [
{ "id": 5112620, "title": "هدفون بی سیم مدل P47 5.0+EDR", "price_toman": 800000, "rating_stars": 3.7, "url": "https://www.digikala.com/product/dkp-5112620/" },
{ "id": 19019009, "title": "هدفون بلوتوثی مدل P9 V5.3 ...", "price_toman": 900000, "rating_stars": 3, "url": "https://www.digikala.com/product/dkp-19019009/" }
]
}
Find it
| Tool | What it answers |
|---|---|
digikala_suggest |
Vague wording to real search terms, category ids, trends |
search_digikala |
"Show me X" - filters, sorting, paging |
browse_category |
Browse a category and drill into sub-categories |
browse_tag |
Digikala's own tag shelves - resolve a tag name, then browse it like a search |
search_filters |
"Which brands exist for X?" - brand / colour / category ids + price range |
brand_lookup |
Any brand name to its id, Persian or English |
Know one product
| Tool | What it answers |
|---|---|
product_details |
Everything about one product: price, seller, warranty, specs, delivery |
product_url |
Product id to shareable URL + title |
product_variants |
"Which colour is cheapest?" - every variant with its own price and seller, plus insurance, delivery and instalments |
product_sellers |
"Who else sells it, and are they reliable?" - every storefront behind one product, with Digikala's own performance numbers |
product_price_chart |
"Is now cheap?" - short price history with seller per point |
product_reviews |
"Is it any good?" - buyer-only and min-rating filters |
product_questions |
"What did buyers ask?" - questions with their answers, tagged seller / buyer / user |
Decide
| Tool | What it answers |
|---|---|
compare_products |
"Which of these?" - only the specs that actually differ |
find_best_value |
"Best X under Y Toman" - ranked picks, seller grade on the top pick |
get_products_batch |
Shortlist cards for up to 10 ids - feeds compare_products |
similar_products |
"What else is like this?" - Digikala's own recommendations |
What is hot
| Tool | What it answers |
|---|---|
incredible_offers |
Today's deals (شگفتانگیز and the other promotion sections, incl. the DigiPlus early-access window) |
best_selling |
Site-wide bestsellers, with category ids to go deeper |
digikala_suggest to get real search terms and a category_id; get brand_ids from search_filters or brand_lookup.find_best_value - plain search only sees one page. A brand word in query is not a filter - picks come from a price-sorted page - so pin the brand with brand_ids from brand_lookup.low_confidence with the exact unmatched_terms, and clamped pages report page_clamped instead of silently correcting.retry-after; the counter is Cloudflare's, per data centre). A full agent session - handshake, a search, a few detail reads, one comparison - measures at roughly 15-20 POSTs, so ordinary use never comes close.browse_tag falls back to a plain search for the shelf's name and labels the answer items_from_search: true - never a silent substitute.flowchart LR
subgraph you [Your machine]
agent[AI agent<br/>Cline / Cursor / Claude]
end
subgraph cf [Cloudflare Workers]
worker[digikala-mcp<br/>read-only, no accounts]
end
dk[(Digikala public web API<br/>api.digikala.com)]
agent -->|POST /mcp<br/>Streamable HTTP, no key| worker
worker -->|HTTPS + polite pacing<br/>reads only| dk
dk -->|compact JSON| worker
worker -->|small cards<br/>toman, rating, URL| agent
One request in, one answer out - and nothing in that path stores who you are. The full picture is in docs/architecture.md.
Don't take my word for it - check the live server yourself:
node scripts/verify-live.mjs # needs Node.js 18+, nothing to install
It checks the handshake, the live release against this repo's CHANGELOG, the tool list, a real search with a details read, and the two error paths. The same script runs hourly in CI () - if the endpoint or Digikala's API drifts, the badge goes red. examples/python.py is a copy-paste client (standard library only).
Digikala's public web API (undocumented, may change without notice). This project is not affiliated with or endorsed by Digikala.
Showcase repository - docs, examples and the standalone live-verify script, no server source - see LICENSE. Security notes in SECURITY.md. Persian version in README_FA.md.
If this is useful, a star helps other builders find it.