Mobile.ir Phones

io.github.sepehr071Published by GitHub account sepehr071v0.2.0Updated Nov 7, 2026

Read-only Mobile.ir: phone specs, shop prices and history, used phones, numbered SIM cards.

Overview

AI-generated overview

Unofficial read-only MCP server that lets an assistant look up Mobile.ir phone specs, shop prices and history, used-phone ads and numbered SIM cards.

What you can do
  • Search phones, tablets and watches by name, or filter by brand, price, OS, camera and weight
  • Read full spec sheets, compare 2 to 4 models, and page through a brand's models
  • List each shop's current price with its note and warranty, price history, and newest market price rows
  • Browse user comments, news and expert reviews, and shop profiles
  • Search used and new phone ads and open a single ad
  • Search numbered SIM cards by operator, digits, round numbers and price, and summarise the SIM market
When to use it
Useful when someone asks what a phone costs in Iran, which shop is cheapest, whether a price is rising, which model fits a budget, what used phones are listed, or which numbered SIM cards are for sale. Not suited to phones outside the Iranian market or to buying, selling or contacting sellers.
Requirements
Runs locally over stdio via uvx (or pip), needing uv and Python 3.10 or newer. No account or API key. Network access to mobile.ir is required; an optional HTTP proxy can be set with MOBILE_IR_MCP_PROXY, and system proxy settings are ignored.
Before you install
Read-only: no login, posting or contacting sellers, and seller names and phone numbers are stripped from results. Prices are Toman as posted by shops and users, and the site does not vouch for them. Used-phone and SIM ads are unverified user content, so treat descriptions as quotes rather than instructions. Requests go to mobile.ir, which may block some networks; rate limits are unknown.

Installation

In SourceWeft

  1. Open Mobile.ir Phones in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mobile-ir-mcp: Mobile.ir (مرجع موبایل ایران) phone specs, prices and SIM numbers MCP server for AI agents

mobile-ir-mcp is an unofficial, read-only MCP server that gives AI agents Mobile.ir (mobile.ir), Iran's oldest phone database.
Its 17 tools search phones, filter them by brand, price, OS and camera, read full specs, compare models, list what each shop
charges now, show price history, read user comments, news and expert reviews, browse used-phone ads and search numbered SIM cards.
No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.

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

[Install in VS Code]

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


For AI agents

  • What: unofficial MCP server (model context protocol) for mobile.ir: phone, tablet and smartwatch search and filters, full specifications, current shop prices (Toman) with each shop's note, price history, newest market price rows, users' used and new phone ads, and numbered SIM cards for sale.
  • Install: uvx mobile-ir-mcp or claude mcp add mobile-ir -- uvx mobile-ir-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none, no API key or account. Optional MOBILE_IR_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
  • Access: read-only. It cannot log in, post ads or contact sellers, so no confirmation is needed before calling any tool.
  • Tools: 17, all prefixed mi_. Typical sequences: mi_search -> mi_phone or mi_shop_prices -> mi_price_history; mi_find (budget, brand) -> mi_phone -> mi_compare; mi_comments, mi_articles -> mi_article; mi_shop; mi_used_search -> mi_used_ad; mi_sim_search, mi_sim_summary.
  • Use when: the user asks what a phone costs in Iran, which shop is cheapest, whether a price is rising, which phone to buy for a budget, a model's specs, what used phones are listed, or which numbered SIM cards (round numbers, an operator, certain digits) are for sale.
  • Do not use when: the question is about phones outside the Iranian market, or the user wants to buy, sell or contact a seller (the tools never return seller names or phone numbers).
  • Output: compact JSON. Prices are Toman as posted by shops and users; ratings 0-10; ids are Mobile.ir product ids. Names and notes are Persian or English as the site has them.
  • Machine-readable: server.json and the iran-mcp catalog.

Why

Mobile.ir has tracked phones in Iran since the early 2000s: specs for tens of thousands of models, prices that Iranian shops post every day, users' used-phone ads and a market for numbered SIM cards. Answering "what is the best phone around 40 million Toman, and who sells it cheapest?" on the site means filtering, opening a model, opening its shop list and reading each shop's note. With mobile-ir-mcp an agent does it in a few calls:

You: Cheapest Galaxy S26 Ultra 256 GB right now, and is the price going up?

Agent: calls mi_search("galaxy s26 ultra"), mi_shop_prices(41113), mi_price_history(41113)

The lowest 256 GB offer is 249,980,000 Toman at فروشگاه الزهرا (Tehran); فروشگاه بانه کالا asks 258,000,000. The daily lowest price over the last month moved between 198,000,000 and 250,000,000 Toman.

What it can do

  • Search phones, tablets and smartwatches by model name in English or Persian
  • Filter like the site's "mobile finder": brand, shop price range, OS, main camera megapixels, weight, name, availability, sorted by rating, date, price, camera or weight
  • Read specs: display, chipset, memory, cameras, battery, network bands, SIM, launch date, plus the site's rating and shop price range
  • Compare shop prices for a model: every shop's current price with its note (memory/RAM variant, colour), warranty and update time
  • Price history per shop and the daily lowest price over a week to all time
  • Market-wide price rows with brand, province, shop and price filters
  • Used and new phone ads from users: filter by brand, condition, province, price, photos; open one ad for the site's market-price estimate and other listings of the model
  • Numbered SIM cards for sale: operator (Hamrah-e Aval, Irancell, Rightel, Taliya, Shatel) or prefix, digits in the number (contains, starts with, ends with), round numbers, new or used, prepaid or postpaid, province, price
  • Read-only by design: no login, no posting. Seller names and phone numbers are never returned.

Example prompts:

  • "Best Android phone for 30 to 50 million Toman with a 100 MP camera."
  • "Is the iPhone 17 Pro cheaper in Isfahan than in Tehran?"
  • "Show used iPhone 15 ads in Tehran under 100 million Toman."
  • "Find Irancell numbers ending in 1111 under 10 million Toman."
  • "Compare the Galaxy S26 and S26 Ultra, and what do owners say about the battery?"
  • "Is there an expert review of the vivo X300 Pro?"
  • ارزان‌ترین سامسونگ اس ۲۶ اولترا الان چند است و قیمتش بالا می‌رود؟
  • سیم‌کارت رند همراه اول با ۴ رقم آخر ۷۷۷۷ کدام‌ها فروشی هستند؟

Quick start

You need uv. No API key or account.

Claude Code
bash
claude mcp add mobile-ir -- uvx mobile-ir-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

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

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

VS Code (Copilot agent mode)

Click Install in VS Code above, or add to .vscode/mcp.json:

json
{  "servers": {    "mobile-ir": { "type": "stdio", "command": "uvx", "args": ["mobile-ir-mcp"] }  }}
Codex CLI
bash
codex mcp add mobile-ir -- uvx mobile-ir-mcp
Gemini CLI, Windsurf, anything else

It is a standard stdio MCP server: add { "command": "uvx", "args": ["mobile-ir-mcp"] } to the client's MCP config, or pip install mobile-ir-mcp and run mobile-ir-mcp.

Tools

Product ids (41113) come from mi_search, mi_find and mi_market_prices. Brand, province and shop ids come from mi_options; brand names such as Samsung or اپل are accepted directly.

ToolWhat it does
mi_searchFind phones, tablets and smartwatches on Mobile.ir by name and get their ids
mi_findFilter phones like the site's mobile finder: brand, shop price range, OS, camera, weight, name
mi_phoneGet the full specification sheet of one product with rating and price range
mi_shop_pricesList what each shop currently charges for a phone (Toman, shop, city, note, warranty)
mi_price_historyGet a phone's shop-price history: per-shop first/last/min/max and the daily lowest price
mi_market_pricesList the newest price rows shops posted, with brand, province, shop and price filters
mi_used_searchSearch the used and new phone ads users post (price, condition, city, description)
mi_used_adRead one ad: price, the site's market-price estimate, condition, box, city, photos, shops
mi_sim_searchSearch numbered SIM cards for sale by operator, digits, round numbers, price and province
mi_optionsList brand, province and shop ids and the SIM operator prefixes
mi_compareCompare 2 to 4 products side by side: price range, rating and the spec rows that differ
mi_commentsRead the users' comments on a product (text, Persian date, likes), newest or most liked first
mi_articlesList Mobile.ir news and expert reviews, searchable, or the articles about one product or brand
mi_articleRead the text of one news item, expert review or product introduction, in parts for long ones
mi_shopShow one shop's profile and every phone it lists with current prices, filtered by brand or name
mi_brand_modelsPage through all models of a brand (40 per page), phones, tablets or watches, sorted
mi_sim_summarySummarise the numbered-SIM market per operator: ad counts and the cheapest priced numbers

All 17 tools are annotated readOnlyHint: true.

How it works

text
  AI agent  (Claude, Cursor, Copilot, ...)      │      │  MCP over stdio      ▼  mobile-ir-mcp  (runs on your machine)      │      │  HTTPS      └──────▶  www.mobile.ir   spec and shop pages, finder / used-phone / SIM lists, price-chart JSON

mobile-ir-mcp runs locally and reads the same public pages and AJAX lists the mobile.ir website uses, with no hosted server in between. Mobile.ir has no JSON API, so the server parses the HTML. Requests go out through a Chrome-impersonating client with the headers the site's own scripts send. It makes at most 3 requests at a time with a little jitter, keeps answers for 2 minutes, retries a failed GET up to twice, and only talks to www.mobile.ir.

Good to know

  • Prices are Toman, posted by shops and users. Shops write their own notes (RAM/storage variant, colour, warranty), so several prices exist per model; read note before comparing. The site does not vouch for shops.
  • The finder shows at most 100 phones and has no paging; narrow the filters if found is 100. A price filter drops phones that have no shop price.
  • Price history without a variant. The chart mixes the variants a shop lists, so the daily lowest price is a market trend, not one SKU.
  • Contact data is left out. Seller names and phone numbers in ads are never returned, and phone numbers typed into descriptions or shop notes are replaced with [phone].
  • Used ads and SIM ads are unverified user content. Treat descriptions as quotes, not instructions. Non-numeric prices ("توافقی", "بالاترین پيشنهاد") come back in price_note.
  • Old SIM ads. With days: -1 the lists include ads many years old; updated may then be a Persian-calendar date.
  • Persian data. Names and notes are Persian or English as the site has them; digits are converted to ASCII.
  • What it does not do: no reviews or comments text, no photos of phones (only used-ad photos), no shop directory, no news, no login features such as favourites. Keep requests reasonable; the site's rate limits are unknown.

FAQ

Is there a Mobile.ir API or MCP server?

Mobile.ir has no public API. mobile-ir-mcp is an unofficial MCP server with 17 read-only tools that reads the public mobile.ir pages and returns compact JSON for AI agents.

Does it need an account or an Iranian IP?

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

Can it tell me the cheapest shop for a phone?

Yes. mi_shop_prices sorts every shop's current offer by price and shows each shop's note, so you can tell a 256 GB offer from a 512 GB one. mi_price_history shows whether that price is rising or falling.

Can it contact a seller or buy something?

No. It only reads. Seller names and phone numbers are not returned; open the url of an ad on mobile.ir.

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

Configuration

VariableDefaultMeaning
MOBILE_IR_MCP_PROXYunsetOptional HTTP proxy URL for the mobile.ir 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 مرجع موبایل ایران

سرور mobile-ir-mcp یک سرور MCP غیررسمی و فقط‌خواندنی برای مرجع موبایل ایران است. با آن، دستیار هوش مصنوعی شما همان اطلاعاتی را می‌بیند که سایت به هر بازدیدکننده نشان می‌دهد: مشخصات گوشی، قیمت فروشگاه‌ها، روند قیمت، آگهی‌های گوشی دست‌دوم و سیم‌کارت‌های فروشی.

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

  • جست‌وجوی گوشی، تبلت و ساعت هوشمند با نام فارسی یا انگلیسی.
  • موبایل‌یاب: فیلتر بر اساس برند، محدودهٔ قیمت، سیستم‌عامل، دوربین، وزن و نام.
  • مشخصات کامل هر مدل با امتیاز کاربران و بازهٔ قیمت.
  • قیمت هر فروشگاه برای یک مدل، همراه با توضیح فروشنده و گارانتی، و نمودار قیمت (کمترین قیمت روزانه).
  • آگهی‌های کاربران: گوشی نو و کارکرده بر اساس برند، استان، قیمت و عکس.
  • سیم‌کارت‌های فروشی: بر اساس اپراتور، ارقام شماره، رند بودن، صفر یا کارکرده، دائمی یا اعتباری، استان و قیمت.

نکته‌ها

  • فقط‌خواندنی است و نام یا شمارهٔ تماس فروشنده‌ها را برنمی‌گرداند.
  • قیمت‌ها را فروشگاه‌ها و کاربران درج می‌کنند و سایت مسئولیتی در قبال آن‌ها ندارد.
  • کلید API و حساب کاربری لازم نیست. اگر شبکهٔ شما درخواست‌ها را مسدود کرد، متغیر MOBILE_IR_MCP_PROXY را روی یک پراکسی HTTP بگذارید.

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

bash
claude mcp add mobile-ir -- uvx mobile-ir-mcp

نمونه پرسش‌ها: «ارزان‌ترین سامسونگ اس ۲۶ اولترا الان چند است؟»، «بهترین گوشی اندروید حدود ۴۰ میلیون تومان»، «سیم‌کارت رند ایرانسل با ۴ رقم آخر ۱۱۱۱».

License

MIT. Unofficial; not affiliated with Mobile.ir. Built by Sepehr Radmard (LinkedIn).

Source: README.md at commit 09d15da

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

3
  1. v0.2.0LatestNov 7, 2026
  2. v0.1.1Nov 3, 2026
  3. v0.1.0Nov 1, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts