Digikala
PYPI · DIGIKALA-MCP
Unofficial read-only Digikala: search products, compare sellers, price history, reviews, deals.
Available components
Last scanned (14 hours ago)
Scores higher than 78% of PyPI servers
Category E-commerce
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 1 of 35 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to sepehr071/digikala-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 0 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability62
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 4375 tokens (~190/item across 23 items; 23 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management13
- Stability check failed: the tool surface changed between 0.1.0 and 0.5.1: 0 tool removals, 20 breaking changes, 3 additions. See how to fix → Fail
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 23 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 24 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a current MCP spec version (2026-07-28).Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 22 Oct 26 0
- Stability: fail → unverified ▼ security
- Tool safety: pass → unverified ▼ security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- Package version: 0.5.0 → 0.5.1 functional
- 20 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 3 to 7.
- 18 Oct 26 0
- Stability: fail → unverified ▼ security
- Tool safety: pass → unverified ▼ security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- Package version: 0.4.0 → 0.5.0 functional
- 16 Oct 26 −6
- Stability: 0.40 → unverified ▼ security
- Tool safety: pass → unverified ▼ security
- Stability: 0.40 → fail ▼ security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- Schema quality: 209 → 187 ▲ functional
- Schema quality: excellent → good functional
- Package version: 0.3.2 → 0.4.0 functional
- 14 Oct 26 +36
- Injection markers: unverified → pass ▲ security
- Schema quality: 179 → 209 ▼ functional
- Tool coverage: unverified → 100 ▲ functional
- Stability: unverified → 0.37 ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Package version: 0.1.0 → 0.3.2 functional
- 13 Oct 26 0
- Package version: 0.3.1 → 0.3.2 functional
- Package version: 0.1.0 → 0.3.1 functional
- 12 Oct 26 −31
- Tool safety: pass → unverified ▼ security
- Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- Package version: 0.1.0 → 0.3.1 functional
- 4 Oct 26 +15
- Malware scan: unverified → pass ▲ security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 22 Oct 2026 · Analysed pypi/digikala-mcp@0.5.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | sepehr071/digikala-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/sepehr071/digikala-mcp/.github/workflows/publish.yml@refs/tags/v0.5.1 |
| Rekor log index | 3390355257 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:ead166717bedb4ee437627f74d9de492c26d2fb5a80b7f0b6d100b3b1a179ca4 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 35 packages
| Packages resolved | 35 |
|---|---|
| No linked repository | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
dk_best_for_budget Best picks for a budget ~234
Rank the best-rated in-stock products within a budget (Toman) by a rating weighted by its count. A 5.0 from 3 buyers does not beat a 4.6 from 900; ties go to the cheaper one. A query keeps only titles with every word and drops accessories. Use for "best X under Y"; then dk_product, dk_reviews.
| Name | Type | Req | Description |
|---|---|---|---|
| category_code | – | – | Or a category code instead of a query, e.g. 'mobile-phone' (from dk_suggest). |
| limit | integer | – | Max picks to return. |
| max_price | integer | yes | Budget in Toman, e.g. 20000000 for 20 million Toman. |
| min_price | – | – | Skip anything cheaper, in Toman. Default for a query: a floor that drops accessories. |
| min_ratings | integer | – | Skip products with fewer ratings than this. |
| pages | integer | – | Result pages to scan, 20 products each. |
| query | – | – | What to buy, e.g. 'هدفون بی سیم' or 'گوشی سامسونگ'. |
No output schema declared.
No examples provided.
dk_best_sellers Best sellers ~79
List current best sellers, overall or in one main category; also returns the main categories' ids for category_id.
| Name | Type | Req | Description |
|---|---|---|---|
| category_id | – | – | Main category id from dk_categories (no arguments) or this tool's `categories`, e.g. 1 for mobile. Leaf ids are rejected. |
| limit | integer | – | Max products to return. |
No output schema declared.
No examples provided.
dk_brand_products Browse a brand ~184
List a brand's products with sort and price filters (Toman), plus the brand id for brand_ids. For one brand inside one category use dk_category_products(brand_code=...).
| Name | Type | Req | Description |
|---|---|---|---|
| brand_code | string | yes | Brand code: usually the lowercase English brand name (as in digikala.com/brand/<code>/, or dk_product's brand_code), e.g. 'samsung' or 'xiaomi'. |
| in_stock_only | boolean | – | Only products that can be bought now. |
| max_price | – | – | Highest price in Toman, e.g. 50000000. |
| min_price | – | – | Lowest price in Toman, e.g. 10000000 for 10 million Toman. |
| page | integer | – | Page number, from 1 (20 products per page). |
| sort | string | – | Order of the results. |
No output schema declared.
No examples provided.
dk_categories Find categories ~134
Find category codes for dk_category_products and main-category ids for dk_best_sellers. query matches the Persian name or English code (Persian finds more: 'لپ تاپ' finds the laptop leaf, 'laptop' does not); parent_id lists children; neither lists the main categories. A category with subcategories mixes in accessories: browse its product leaf.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Max categories to return. |
| parent_id | – | – | List the sub-categories of this category id. |
| query | – | – | Words in the category name or code, e.g. 'هدفون' or 'laptop'. |
No output schema declared.
No examples provided.
dk_category_products Browse a category ~373
List one category's products with sort and filters (price in Toman), strict order. E.g. "cheapest laptops" (category 'notebook-netbook-ultrabook'), "best-selling Xiaomi phones" (brand_code='xiaomi'). Feature ids come from dk_filters(category_code=...). No text query here.
| Name | Type | Req | Description |
|---|---|---|---|
| attributes | – | – | Feature filters from dk_filters: {attribute id: [value ids]}, e.g. {2226: [19239]}. Values OR, attributes AND. |
| brand_code | – | – | Only this brand: its English slug, e.g. 'xiaomi' or 'lenovo' (dk_product's brand_code). |
| brand_ids | – | – | Brand ids from dk_product's brand_id or dk_brand_products' brand.id, e.g. [18] Samsung, [1662] Xiaomi. |
| category_code | string | yes | Category code from dk_categories, dk_suggest or dk_product, e.g. 'mobile-phone'. |
| colors | – | – | Color ids from dk_filters, e.g. [1]. |
| fast_delivery | boolean | – | Only items with fast (Jet) delivery. |
| in_stock_only | boolean | – | Only products that can be bought now. |
| max_price | – | – | Highest price in Toman, e.g. 50000000. |
| min_price | – | – | Lowest price in Toman, e.g. 10000000 for 10 million Toman. |
| page | integer | – | Page number, from 1 (20 products per page). |
| ready_to_ship | boolean | – | Only items already in Digikala's warehouse (ship sooner). |
| seller_type | – | – | Only offers from Digikala itself, official brand sellers, trusted sellers or rural (roosta) sellers. |
| sort | string | – | Order of the results. |
No output schema declared.
No examples provided.
dk_compare Compare products ~108
Compare 2-4 products side by side: price and rating, then the spec rows where they differ. `values` in a `specs` row follow the order of `products` (null = no such spec); identical rows fold into `same_specs`. Best within one category. Unknown ids are listed in `missing_ids`.
| Name | Type | Req | Description |
|---|---|---|---|
| product_ids | array | yes | 2-4 product ids of the same kind, e.g. [20109389, 20110013]. |
No output schema declared.
No examples provided.
dk_deals Current deals ~175
List today's Incredible Offers (flash deals), biggest discount first, in-stock only. Each product has discount_pct, price_before_discount and deal_ends (Tehran time). store='supermarket' lists Fresh deals.
| Name | Type | Req | Description |
|---|---|---|---|
| max_price | – | – | Highest price in Toman, e.g. 50000000. |
| min_price | – | – | Lowest price in Toman, e.g. 10000000 for 10 million Toman. |
| page | integer | – | Page number, from 1 (20 products per page). |
| query | – | – | Optional words to narrow the deals, e.g. 'هدفون' or 'شیر'. |
| sort | string | – | Order of the deals. |
| store | string | – | 'digikala' for Incredible Offers, 'supermarket' for Digikala Fresh grocery deals. |
No output schema declared.
No examples provided.
dk_filters Filter options ~201
List the filters of a category or a search: attributes, colors, sellers, price range (Toman), brands. Attributes give {value title: id}; one with over 15 values only has `value_count`: call again with attribute_id. Colors are {title: id}; brands {code: id} (category only); categories {code: title} (query only). Pass the ids to dk_category_products or dk_search (attributes={attribute id: [value ids]}, colors, seller_type, brand_ids).
| Name | Type | Req | Description |
|---|---|---|---|
| attribute_id | – | – | Return only this attribute with all its values, e.g. 2251 (phone storage). |
| brand_code | – | – | With category_code: only this brand, e.g. 'samsung'. |
| category_code | – | – | Category code from dk_suggest or dk_categories, e.g. 'mobile-phone'. |
| query | – | – | Search words instead of a category, e.g. 'هدفون بی سیم'. |
No output schema declared.
No examples provided.
dk_find_cheapest Find cheapest product ~197
Find the cheapest in-stock products that really match a query, sorted by price (Toman). Scans the top relevant results, keeps titles with every query word (else any word, with a `note`) and drops accessories. Use for "cheapest X"; then dk_product on the winner, as another seller may sell it for less.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | Max products to return. |
| max_price | – | – | Highest price in Toman, e.g. 50000000. |
| min_price | – | – | Skip anything cheaper than this, in Toman. Default: a quarter of the median price of the top matches (ignoring max_price), which drops accessories. |
| pages | integer | – | Relevance pages to scan, 20 products each. |
| query | string | yes | Product name or words, Persian or English, e.g. 'گوشی سامسونگ' or 'airpods pro'. |
No output schema declared.
No examples provided.
dk_fresh_search Search groceries ~245
Search or browse Digikala Fresh (supermarket). category_code beats query and also returns sub-categories. For grocery discounts use dk_deals(store='supermarket').
| Name | Type | Req | Description |
|---|---|---|---|
| category_code | – | – | Fresh category code instead of a query: groceries, dairy, snacks, protein-foods, breakfast, beverages, warm-drinks, fruits-and-vegetables, personal-hygiene, baby-and-mother, home-hygiene, dried-fruit… |
| in_stock_only | boolean | – | Only products that can be bought now. |
| max_price | – | – | Highest price in Toman, e.g. 50000000. |
| min_price | – | – | Lowest price in Toman, e.g. 10000000 for 10 million Toman. |
| page | integer | – | Page number, from 1 (20 products per page). |
| query | – | – | Grocery product, Persian works best, e.g. 'شیر کم چرب' or 'برنج'. |
| sort | string | – | Order of the results. |
No output schema declared.
No examples provided.
dk_gold_prices Gold and coin prices ~75
Get the live 18k gold price per gram and gold coin prices, in Toman. gold18_day_change_pct is vs the previous daily point; period change, low and high cover the ~3-month chart. Coins' change_pct is as Digikala shows it. Coins with price null are not for sale.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
dk_installments Installment plans ~124
Get the Digipay credit-line offers for a product, in Toman. A plan is a fixed credit line (credit_amount) repaid in `months` installments of monthly_repayment; it is not sized to the product price, so never present it as "this product for X a month". Needs Digipay approval. An unknown id gives no plans; check it with dk_product.
| Name | Type | Req | Description |
|---|---|---|---|
| product_id | integer | yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
No output schema declared.
No examples provided.
dk_location Find location ~132
Turn an address into coordinates, or coordinates into an address with Digikala's city_id and state_id. Pass address + city, or lat + long. Prices are the same everywhere; location only affects delivery.
| Name | Type | Req | Description |
|---|---|---|---|
| address | – | – | Address or landmark in Persian, e.g. 'میدان ونک'. Latin text matches poorly. |
| city | – | – | Persian city name; without it most addresses find nothing, e.g. 'تهران' or 'مشهد'. |
| lat | – | – | Latitude, to describe a point instead (Iran: ~25 to ~40). |
| long | – | – | Longitude, with lat. |
No output schema declared.
No examples provided.
dk_plus_plans Digikala Plus plans ~43
List Digikala Plus plans (free shipments per month: jet = same-day Tehran/Karaj, fresh = supermarket) with price in Toman and benefits.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
dk_price_history Price history ~122
Get ~30 days of daily buy-box prices (Toman) per color/variant, with lowest and highest. For "is this a good price?": `lowest_2_days` is the lowest price held two days in a row (`lowest` can be a one-day dip). Days are Jalali. An unknown id gives no variants; check it with dk_product.
| Name | Type | Req | Description |
|---|---|---|---|
| product_id | integer | yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
No output schema declared.
No examples provided.
dk_product Product details and offers ~197
Get one product's price, stock, rating, specs and every seller's offer (cheapest first). An offer is one color/size from one seller: price (Toman), stock_left (only when low), warranty, seller rating 0-5, ships_by ('digikala', 'jet' = same-day Tehran/Karaj, 'seller'), free_shipping. lowest_price_30d can be a one-day dip of one color; dk_price_history's lowest_2_days is steadier. Groceries have store='supermarket' and a price that can differ from dk_search's.
| Name | Type | Req | Description |
|---|---|---|---|
| include_specs | boolean | – | Include the specification table. |
| max_offers | integer | – | Max seller offers to return, cheapest first. |
| product_id | integer | yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
No output schema declared.
No examples provided.
dk_questions Product questions and answers ~146
Read customers' questions (20 per page) with up to 2 answers each (answered_by: buyer, seller, ...). Texts are cut to 300 characters (full_text=true: whole). Use for practical doubts (compatibility, size, registration).
| Name | Type | Req | Description |
|---|---|---|---|
| full_text | boolean | – | Skip text cuts and pros/cons caps; return everything whole. |
| page | integer | – | Page number, from 1 (20 products per page). |
| product_id | integer | yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
| sort | string | – | Order of the questions. |
No output schema declared.
No examples provided.
dk_reviews Product reviews ~186
Read customer reviews: stars 1-5 (null = none), text, pros/cons, verified buyer flag. The overall rating (0-5) is in dk_product. Texts are cut to 300 characters, pros/cons to 5 of 80; full_text=true returns them whole. An unknown id gives no reviews; check it with dk_product.
| Name | Type | Req | Description |
|---|---|---|---|
| full_text | boolean | – | Skip text cuts and pros/cons caps; return everything whole. |
| limit | integer | – | Max reviews from the page (20 per page). |
| page | integer | – | Page number, from 1 (20 products per page). |
| product_id | integer | yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
| sort | string | – | Order of the reviews. |
No output schema declared.
No examples provided.
dk_search Search products ~373
Search products by name: price (Toman), discount, seller, rating, 20 per page. Search also returns loosely related items: each product has `match` ('all', 'some' with `missing_words`, or 'none'); prefer 'all'. Filter ids come from dk_filters(query=...). sort=cheapest puts accessories first: use dk_find_cheapest for the cheapest real match. Next: dk_product for every seller's offer.
| Name | Type | Req | Description |
|---|---|---|---|
| attributes | – | – | Feature filters from dk_filters: {attribute id: [value ids]}, e.g. {2226: [19239]}. Values OR, attributes AND. |
| brand_ids | – | – | Brand ids from dk_product's brand_id or dk_brand_products' brand.id, e.g. [18] Samsung, [1662] Xiaomi. |
| colors | – | – | Color ids from dk_filters, e.g. [1]. |
| fast_delivery | boolean | – | Only items with fast (Jet) delivery. |
| in_stock_only | boolean | – | Only products that can be bought now. |
| max_price | – | – | Highest price in Toman, e.g. 50000000. |
| min_price | – | – | Lowest price in Toman, e.g. 10000000 for 10 million Toman. |
| page | integer | – | Page number, from 1 (20 products per page). |
| query | string | yes | Product name or words, Persian or English, e.g. 'گوشی سامسونگ' or 'airpods pro'. |
| ready_to_ship | boolean | – | Only items already in Digikala's warehouse (ship sooner). |
| seller_type | – | – | Only offers from Digikala itself, official brand sellers, trusted sellers or rural (roosta) sellers. |
| sort | string | – | Order of the results. |
No output schema declared.
No examples provided.
dk_seller Seller profile and products ~124
Get a seller's reputation (rating 0-5, on-time shipping, cancellations, returns) and products. Use before recommending an unknown seller. Percentages are the share of good orders (100 = never late).
| Name | Type | Req | Description |
|---|---|---|---|
| in_stock_only | boolean | – | Only products that can be bought now. |
| page | integer | – | Page number, from 1 (20 products per page). |
| seller_code | string | yes | Seller code from dk_product offers or a product card, e.g. 'CGDG9'. |
| sort | string | – | Order of the results. |
No output schema declared.
No examples provided.
dk_shortlist Re-check a shortlist ~163
Re-price up to 10 products in one call: price, cheapest offer, stock, rating and 30-day low (Toman). Use to refresh a watched list or check stock. `cheapest_offer` can be below `price` (the featured offer). `low_30d` is the lowest price held two days in a row, `vs_30d_low_pct` today's price above it (0 = at the low); `lowest_one_day_30d` is Digikala's figure, possibly a one-day dip. For specs use dk_compare; for the daily curve dk_price_history.
| Name | Type | Req | Description |
|---|---|---|---|
| product_ids | array | yes | 1-10 product ids, e.g. [20109389, 20110013]. |
No output schema declared.
No examples provided.
dk_similar Similar products ~118
List products similar to one (same kind, other models and brands). sort='cheapest' gives cheaper alternatives; then dk_compare.
| Name | Type | Req | Description |
|---|---|---|---|
| in_stock_only | boolean | – | Only products that can be bought now. |
| page | integer | – | Page number, from 1 (20 products per page). |
| product_id | integer | yes | Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389. |
| sort | string | – | Order of the results. |
No output schema declared.
No examples provided.
dk_suggest Search suggestions ~63
Autocomplete a vague or misspelled query into keywords, categories and brands. Next: dk_search with a keyword, or dk_category_products with a category code.
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | yes | Partial text, e.g. 'samsung' or 'هدفون'. |
No output schema declared.
No examples provided.
How do I install the Digikala MCP server?
Digikala runs locally as a PyPI package, launched with uvx digikala-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · digikala-mcp
claude mcp add sepehr071-digikala-mcp -- uvx digikala-mcp
What is the Digikala MCP server?
Digikala is an MCP server listed in the public MCP registry as io.github.sepehr071/digikala-mcp. Unofficial read-only Digikala: search products, compare sellers, price history, reviews, deals. This page covers its PyPI package (digikala-mcp).
Is the Digikala MCP server safe to use?
Digikala scores 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 22 October 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Digikala MCP server expose?
Digikala exposes 23 tools: dk_search, dk_find_cheapest, dk_best_for_budget, dk_suggest, dk_filters, and 18 more. Their descriptions and schemas cost roughly 3,796 tokens of context every time the server is loaded.
Is the Digikala MCP server still maintained?
Digikala is still listed as active in the MCP registry. We last reached this channel on 22 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Digikala MCP server under?
Digikala declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.