Unofficial read-only MCP server for MasterKala (مستر کالا), Iran: search gadgets and accessories, compare prices and specs, find deals. For Claude, Cursor and Copilot via uvx.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add masterkala-mcp -- uvx masterkala-mcp{
"mcpServers": {
"masterkala-mcp": {
"command": "uvx",
"args": ["masterkala-mcp"]
}
}
}MCP Servers overview
<!-- mcp-name: io.github.sepehr071/masterkala-mcp -->
<div align="center">
<img src="https://raw.githubusercontent.com/sepehr071/masterkala-mcp/main/.github/banner.png" alt="masterkala-mcp: unofficial MasterKala MCP server for Claude, Cursor and Copilot" width="100%">
# masterkala-mcp: MasterKala MCP server for AI agents
**Let your AI agent shop for gadgets on MasterKala (مسترکالا).**<br>
An unofficial, read-only MCP server for the Iranian gadget and mobile accessories shop: search earbuds, chargers,<br>
power banks and smart watches, compare real prices and specs, read reviews, check stock and delivery dates, and catch today's discounts, all from Claude, Cursor or Copilot.
[](https://pypi.org/project/masterkala-mcp/)
[](https://pypi.org/project/masterkala-mcp/)
[](https://github.com/sepehr071/masterkala-mcp/actions/workflows/ci.yml)
[](https://registry.modelcontextprotocol.io/?q=masterkala-mcp)
[](https://github.com/sepehr071/masterkala-mcp/blob/main/LICENSE)
[](https://cursor.com/en/install-mcp?name=masterkala&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJtYXN0ZXJrYWxhLW1jcCJdfQ==)
[](https://vscode.dev/redirect/mcp/install?name=masterkala&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22masterkala-mcp%22%5D%7D)
[For AI agents](#for-ai-agents) · [Quick start](#quick-start) · [What it can do](#what-it-can-do) · [Tools](#tools) · [FAQ](#faq) · [فارسی](#فارسی)
</div>
---
## For AI agents
- **What:** unofficial MCP server for MasterKala (masterkala.com, Iran), a gadget and mobile accessories shop. Queries in Persian or English; prices in Toman.
- **Install:** `uvx masterkala-mcp` or `claude mcp add masterkala -- uvx masterkala-mcp`. Transport: stdio. Needs [uv](https://docs.astral.sh/uv/getting-started/installation/) (Python 3.10+).
- **Auth:** none, no API key or account. Optional `MASTERKALA_MCP_PROXY` (HTTP proxy for requests to masterkala.com).
- **Access:** read-only. No login, cart, orders or posting reviews, so no confirmation is needed before calling any tool.
- **Tools:** 14, all prefixed `mk_`. Start with `mk_find_cheapest`, `mk_search`, `mk_deals`, `mk_browse`.
Typical sequence: `mk_find_cheapest` -> `mk_product` -> `mk_shipping`.
- **Use when:** finding the cheapest orderable item, comparing specs, or checking stock and delivery on MasterKala.
- **Do not use when:** the user wants to buy. Delivery is an estimate for Tehran and "other cities by post", based on a default Tehran address.
- **Output:** compact JSON. Prices in Toman (`final_price` is what you pay), ratings 1-5 (`null` = no reviews). Numeric product ids pass between tools.
- **Machine-readable:** [`server.json`](https://github.com/sepehr071/masterkala-mcp/blob/main/server.json) and the
[awesome-iran-mcp catalog](https://github.com/sepehr071/awesome-iran-mcp) (`TOOLS.md`, `servers.json`, `llms.txt`).
## Why
MasterKala lists thousands of accessories, and a search for "power bank" mixes real power banks with
silicone covers, out-of-stock items and things sold only in its shops. Finding *the cheapest one you can
actually order, and what it costs delivered*, means paging through results and opening product pages.
An agent with `masterkala-mcp` does that in seconds:
> **You:** Cheapest Xiaomi power bank I can order now, delivered in Tehran?
>
> **Agent:** *calls* `mk_find_cheapest(query="پاوربانک شیائومی")` → `mk_shipping(product_id=26935)`
>
> | Total | Product | Price | Shipping |
> |---:|---|---:|---|
> | **4,338,000** | پاوربانک 10000 شیائومی گلوریمی Glorimi LightCore 22.5W | 4,188,000 (5% off) | 150,000, Saturday 15:00-18:00 |
> | **5,291,000** | پاوربانک فوق نازک مگنتی 5000 Glorimi FitCore Mag 20W | 5,291,000 (4% off) | free (over 5M) |
> | **5,401,000** | پاوربانک 20000 شیائومی گلوریمی Glorimi LightCore 22.5W | 5,401,000 (6% off) | free (over 5M) |
>
> The 10,000 mAh LightCore is cheapest even with the 150,000 courier fee. The 20,000 mAh LightCore ships
> free and costs 1,063,000 more for twice the capacity. Want me to compare their specs with `mk_specs`?
<sub>Real tool output from 2026-10-03; prices change all the time. Prices are in Toman.</sub>
## What it can do
- 🔎 **Search** products by name in Persian or English, with price, discount and stock
- 💸 **Find the cheapest** in-stock match, with cases and covers filtered out
- 🗂️ **Browse** any category, brand or tag sorted by price, stock or date, with price range and brand/color filters
- 📋 **Read** full product details: colors, stock count, specs, side-by-side comparison, reviews
- 🚚 **Check delivery**: next Tehran courier slot, post to other cities, shipping fee, same-day cut-off
- ⚡ **Catch deals** on the discount page, plus buying guides from the MasterKala blog
- 🔒 **Read-only by design**: no login, no cart, no orders, no reviews posted
## Quick start
You need [uv](https://docs.astral.sh/uv/getting-started/installation/). No API key or account.
<details open>
<summary><b>Claude Code</b></summary>
```bash
claude mcp add masterkala -- uvx masterkala-mcp
```
</details>
<details>
<summary><b>Claude Desktop</b></summary>
Settings → Developer → Edit Config, then add:
```json
{
"mcpServers": {
"masterkala": { "command": "uvx", "args": ["masterkala-mcp"] }
}
}
```
</details>
<details>
<summary><b>Cursor</b></summary>
Click **Install in Cursor** above, or add the Claude Desktop block to `~/.cursor/mcp.json`.
</details>
<details>
<summary><b>VS Code (Copilot agent mode)</b></summary>
Click **Install in VS Code** above, or add to `.vscode/mcp.json`:
```json
{
"servers": {
"masterkala": { "type": "stdio", "command": "uvx", "args": ["masterkala-mcp"] }
}
}
```
</details>
<details>
<summary><b>Anything else</b></summary>
It's a standard stdio MCP server: run `uvx masterkala-mcp`, or `pip install masterkala-mcp` and run `masterkala-mcp`.
</details>
Then just ask:
- "Cheapest Bluetooth earbuds between 3 and 5 million Toman, and which one has the best reviews?"
- "Compare the specs of the Green Lion Ocean and the Awei T66."
- "Is the blue CMF Buds Pro 2 in stock? When would it reach Tehran?"
- <span dir="rtl">بهترین تخفیف‌های امروز مسترکالا روی پاوربانک چیه؟</span>
## How it works
```text
AI agent (Claude, Cursor, Copilot, ...)
│
│ MCP over stdio
▼
masterkala-mcp (runs on your machine)
│
│ HTTPS
└──────▶ masterkala.com JSON API, listing fragments, product pages
```
`masterkala-mcp` runs locally and calls the same public endpoints the masterkala.com website uses.
There's no hosted server in between, no API key, and nothing about you is sent anywhere else.
## Tools
<details open>
<summary><b>🔎 Find products</b> (7)</summary>
| Tool | What it does |
|---|---|
| `mk_search` | Search by keyword: price, discount, stock, plus matching categories and tag pages |
| `mk_find_cheapest` | Cheapest in-stock matches for a keyword, one flat list (accessories filtered out) |
| `mk_browse` | A category, brand or tag sorted by price / stock / date, with price range and filters |
| `mk_filters` | Brand, color and feature filter ids and the price range of a category, brand or tag |
| `mk_categories` | Product categories and their ids |
| `mk_brands` | Brands and their slugs |
| `mk_deals` | Everything on the discount page, biggest discount first, with the time left |
</details>
<details open>
<summary><b>📦 One product</b> (5)</summary>
| Tool | What it does |
|---|---|
| `mk_product` | Price, discount, stock status and count, colors, brand, category, rating, shops that have it |
| `mk_specs` | Specification table of 1-4 products side by side |
| `mk_reviews` | Customer reviews with star breakdown and the store's replies |
| `mk_shipping` | Next delivery slot and fee for Tehran and other cities, same-day cut-off |
| `mk_branches` | MasterKala's physical shops with address, phone and map location |
</details>
<details open>
<summary><b>📝 Blog</b> (2)</summary>
| Tool | What it does |
|---|---|
| `mk_blog_posts` | Buying guides, comparisons and how-tos, newest first |
| `mk_blog_comments` | Readers' questions on a post with the store writer's answers |
</details>
All 14 tools are annotated `readOnlyHint: true` and return compact structured JSON, so they don't flood the agent's context.
## Good to know
- **Prices are in Toman.** `final_price` is what you pay, `price` is before discount, `discount_pct` is a whole percent. The site's structured data is in Rial; the server converts it.
- **Shipping is free from 5,000,000 Toman** per order for most items (bulky goods such as large speakers never ship free; `mk_shipping` gives `free_shipping_from: null` for them); below that, Tehran courier and post were 150,000 / 155,000 Toman on 2026-10-03. There is no address API, so `mk_shipping` estimates for Tehran and "other cities by post".
- **Stock**: `in_stock` means orderable online now. Other statuses: ناموجود (sold out), به زودی (coming soon), موجود در شعب حضوری (only in the physical shops).
- **Images**: every product has `image`, an absolute https URL (328 px webp from `mk_search`, `mk_find_cheapest` and `mk_browse`; 240 px from `mk_deals`; the original jpg from `mk_specs`). `mk_product` gives a 600 px `image` plus an `images` list (up to 4). Null/empty fields are omitted from results, `stock_status` only appears when it is not "موجود" (in stock), and review / comment text is cut to 400 characters (blog threads What people ask about masterkala-mcp
What is sepehr071/masterkala-mcp?
+
sepehr071/masterkala-mcp is mcp servers for the Claude AI ecosystem. Unofficial read-only MCP server for MasterKala (مستر کالا), Iran: search gadgets and accessories, compare prices and specs, find deals. For Claude, Cursor and Copilot via uvx. It has 0 GitHub stars and its last recorded update is dated 2026-10-16.
How do I install masterkala-mcp?
+
You can install masterkala-mcp by cloning the repository (https://github.com/sepehr071/masterkala-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is sepehr071/masterkala-mcp safe to use?
+
Our security agent has analyzed sepehr071/masterkala-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains sepehr071/masterkala-mcp?
+
sepehr071/masterkala-mcp is maintained by sepehr071. The last recorded GitHub activity is dated 2026-10-16, with 0 open issues.
Are there alternatives to masterkala-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy masterkala-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/sepehr071-masterkala-mcp)<a href="https://claudewave.com/repo/sepehr071-masterkala-mcp"><img src="https://claudewave.com/api/badge/sepehr071-masterkala-mcp" alt="Featured on ClaudeWave: sepehr071/masterkala-mcp" width="320" height="64" /></a>More MCP Servers
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev