Skip to content

Torob MCP

MCP server for Torob: search, compare and price-check across shops. Read-only, no API key. 14 tools, hosted on Cloudflare Workers.

Install: git clone https://github.com/mmdju/torob-mcp

Install

$git clone https://github.com/mmdju/torob-mcp

Install command taken from the project's README or registry entry. Always review code before running it.

Torob MCP - Price comparison intelligence for AI agents

Real Torob knowledge for AI agents. Search Iran's price-comparison engine from any MCP client (Cline, Cursor, Claude Desktop...): prices in Toman, every seller's offer on one product, price history, Torob's own product guides, shop profiles, today's deals. Read-only, no API key, no login - and answers measured in kilobytes instead of the ~70KB search page they came from.

Live endpoint: https://torob-mcp.mmdju3.workers.dev/mcp (Streamable HTTP, stateless) - opening the bare address in a browser shows the site. GET /mcp gives a browser the connect page and every other client a 405 - the answer the MCP transport asks for, so no client reads the page as a stream that opened and ended.

[!IMPORTANT] The hosted copy is not the main version - it is a quick-test demo. It runs on Cloudflare, and Torob challenges some addresses outright, so it is rate limited (20 /mcp calls a minute per client IP) and paused from time to time. For real use, run the main version on your own machine (below): no limit of ours, and its calls come from your own connection. See Status.

نسخه فارسی · Examples · Tool reference · Changelog

Connect in 30 seconds

Any MCP client, one URL. Cline / Cursor / Claude Desktop (mcp.json style):

{
  "mcpServers": {
    "torob": { "url": "https://torob-mcp.mmdju3.workers.dev/mcp" }
  }
}

Then just talk: "ارزون‌ترین آیفون ۱۳ کجاست؟", "هدفون زیر ۱۰ میلیون", "این گوشی رو کجا بخرم بهتره؟", "چی تخفیف خورده؟".

No client at hand? The whole protocol is one POST - a real call:

curl -sS https://torob-mcp.mmdju3.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_products","arguments":{"query":"هدفون بی سیم","limit":2}}}'

And the answer that comes back inside that one message, trimmed to its bones:

{
  "query": "هدفون بی سیم",
  "total_matches": 412,
  "total_matches_note": "Torob's own count is approximate - it changes between identical requests - so page with has_next_page rather than trusting the number.",
  "price_range_toman": { "min": 98000, "max": 2500000 },
  "products": [
    {
      "prk": "prk-a1b2c3d4-0000-4000-8000-000000000001",
      "name_fa": "هدفون بی‌سیم مدل P47",
      "price_toman": 238970,
      "available": true,
      "shop_name": "فروشگاه لوازم دیجیتال",
      "url": "https://torob.com/p/prk-a1b2c3d4-0000-4000-8000-000000000001/",
      "details_url": "https://api.torob.com/v4/base-product/details/?search_id=s1&prk=prk-a1b2c3d4-0000-4000-8000-000000000001"
    },
    {
      "prk": "prk-a1b2c3d4-0000-4000-8000-000000000002",
      "name_fa": "هدفون بلوتوثی مدل P9",
      "price_toman": 410000,
      "available": true,
      "shop_name": "پخش عمومی صوت",
      "url": "https://torob.com/p/prk-a1b2c3d4-0000-4000-8000-000000000002/"
    }
  ],
  "attribution": "Data comes from Torob's public web API. Prices, stock and seller offers change constantly - always confirm on torob.com before buying."
}

Agents running in a browser work too - the endpoint answers CORS preflights (OPTIONS /mcp).

Or run it on your own machine

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, one CLI, zero API fees.

Explore related