Doctoreto

io.github.sepehr071v0.1.1更新於 Oct 6, 2026

Unofficial read-only Doctoreto: Iranian doctors, visit fees, free appointment times, clinics, labs.

概覽

AI 產生的概覽

以唯讀方式查詢 Doctoreto,讓助理尋找伊朗醫師、看診費用、可預約時段、診所、檢驗所與診所優惠。

功能
提供 14 個唯讀工具,呼叫 Doctoreto 的公開端點:依專科、城市、街區、性別、保險與看診類型搜尋醫師;查看醫師資料及各現場與線上服務的費用、訂金與最近可預約時間;查詢未來最多 31 天的每日空檔;讀取不含評論者姓名的評價;搜尋醫院、診所、檢驗所、影像中心與藥局;查看固定價格的診所優惠;以及健康雜誌文章。結果以精簡的結構化 JSON 回傳。
適用情境
適合讓助理尋找合適的伊朗醫師或醫療機構、比較現場看診與線上諮詢費用、查看最近的空檔時間,或查詢診所檢查項目價格與 24 小時藥局。預約本身仍需在 Doctoreto 網站上完成。
執行需求
以 stdio 在本機執行,需要 uv(uvx doctoreto-mcp)或 pip install doctoreto-mcp。不需要帳號、API 金鑰或登入。需要連線至 api.doctoreto.com 與 doctoreto.com 的對外 HTTPS;選用環境變數 DOCTORETO_MCP_PROXY 可為所有請求設定 HTTP 代理。
安裝前請注意
設計上為唯讀:不呼叫登入、預約、付款或聊天端點,助理只回傳供預約使用的頁面連結。不回傳電話號碼與評論者姓名。價格以托曼計且經常變動;日期為西曆,時間為德黑蘭當地時間。此伺服器非官方、與 Doctoreto 無關聯,依賴可能隨時變動的公開端點;它提供資訊,並非醫療建議。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Doctoreto,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[doctoreto-mcp: let your AI agent compare visit fees and free times on Doctoreto]

🩺 doctoreto-mcp

Let your AI agent find the right doctor on Doctoreto.
Search Iranian doctors by speciality, city, neighborhood and visit type, compare visit fees,
see free appointment times, read reviews, and find hospitals, labs and clinic offers, all from Claude, Cursor or Copilot.

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

[Install in Cursor] [Install in VS Code]

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


Why

On Doctoreto (doctoreto.com) a doctor card shows a name and a rating, but the things you decide on are a few clicks deeper: which offices the doctor has, what the visit costs at the office (often hidden on the page), what a phone or video consultation costs, and when the next free time actually is. An agent with doctoreto-mcp reads the search, the doctor's services and the slot picker, and hands you the booking link:

You: A cardiologist in Pasdaran, Tehran, as soon as possible. What does the visit cost?

Agent: calls dt_search_doctors(city="tehran", speciality="cardiologist", neighborhood="pasdaran", has_free_slot=True) → dt_doctor(doctor="xqbEWZ") → dt_free_slots(consultation_id=1943, days=7)

ServiceFeePaid when bookingNext free
Office visit, Pasdaran250,0000Tue 6 Oct, 10:00 (25 free times that day)
Phone call, 15 minutes750,000750,000Tue 6 Oct, 10:00

دکتر کامبیز پرآذران, subspecialist in cardiology: 408 reviews, 92% recommend, about 36 minutes wait at the office. The office fee is paid at the office. Book here: https://doctoreto.com/doctor/dr-kambiz-parazaran/xqbEWZ

Real tool output from 2026-10-06; prices and free times change all the time. Prices are in Toman.

What it can do

  • 🔎 Find doctors by speciality, city, neighborhood, name, gender, insurance and visit type (office, phone, text, video, instant)
  • ⏱️ Soonest first: sort by the earliest free slot, by popularity or by number of bookings; search near a point
  • 💰 Real prices: office visit fee (also when the site hides it), online consultation prices, deposits
  • 📅 Free times: free appointment times per day for any office or online service, up to a month ahead
  • ⭐ Reviews: stars, recommend rate, waiting time, per-category averages; reviewer names are never returned
  • 🏥 Centers: hospitals, clinics, laboratories, imaging, pharmacies (24h, state/private, map search), hours and insurances
  • 🏷️ Clinic offers: fixed-price procedures (ultrasound, echo, laser, check-ups) with deposits and free times
  • 📖 Health magazine: background articles on conditions and tests
  • 🔒 Read-only by design: no login, no booking, no payment; the agent gives you the link to book

Quick start

You need uv.

Claude Code
bash
claude mcp add doctoreto -- uvx doctoreto-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

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

Click Install in Cursor above, or add the Claude Desktop block to ~/.cursor/mcp.json.

VS Code (Copilot agent mode)

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

json
{  "servers": {    "doctoreto": { "type": "stdio", "command": "uvx", "args": ["doctoreto-mcp"] }  }}
Anything else

It's a standard stdio MCP server: run uvx doctoreto-mcp, or pip install doctoreto-mcp and run doctoreto-mcp.

Then just ask:

  • "A female dermatologist in Shiraz with a free slot this week, and her visit fee?"
  • "Which pediatricians offer a video call today, and how much is it?"
  • "A 24-hour pharmacy near Vanak Square."
  • "How much is an echocardiography at a Doctoreto clinic in Tehran, and when is the next free time?"
  • یک متخصص گوش و حلق و بینی در محدوده سعادت‌آباد با بیمه تامین اجتماعی

How it works

text
  AI agent  (Claude, Cursor, Copilot, ...)      │      │  MCP over stdio      ▼  doctoreto-mcp  (runs on your machine)      │      │  HTTPS (JSON)      ├──────▶  api.doctoreto.com   (doctors, slots, reviews, centers, offers)      └──────▶  doctoreto.com/blog   (health magazine)

doctoreto-mcp runs locally and calls the same public endpoints the Doctoreto website uses. There's no hosted server in between, no API key, and nothing about you is sent anywhere else.

Tools

Doctors, centers and offers are identified by a 6-character id (xqbEWZ, the last part of doctoreto.com/doctor/dr-kambiz-parazaran/xqbEWZ); every tool also accepts the page URL itself.

🔎 Find a doctor (6)
ToolWhat it does
dt_suggestFree phrase → matching doctors, speciality slugs, service tags and centers
dt_search_doctorsDoctors by city, speciality, neighborhood, name, gender, insurance, visit type, free slot; sorting
dt_specialitiesSpeciality list with the slugs the search needs
dt_citiesCity slug and id; cities that have a speciality, with doctor counts
dt_neighborhoodsNeighborhoods of a city and nearby cities, with doctor counts
dt_insurancesBasic and supplementary insurers with their ids
🩺 One doctor (3)
ToolWhat it does
dt_doctorProfile, every office and online service with fee, deposit, address and next free time, review summary
dt_free_slotsFree appointment times per day for one service (office, phone, video, offer, lab), up to 31 days
dt_reviewsReviews of a doctor, center or offer: stars, text, labels, waiting time, replies (no names)
🏥 Centers (2)
ToolWhat it does
dt_search_centersHospitals, clinics, labs, imaging, pharmacies by city, type, 24h, state/private, or near a point
dt_centerOne center: hours, departments, insurances, lab rules, bookable services, doctors
🏷️ Clinic offers and reading (3)
ToolWhat it does
dt_search_offersFixed-price procedures and packages by text, city, speciality, price range, doctor or place
dt_offerOne offer: price, deposit, provider, terms, variants with their free times
dt_health_articlesDoctoreto health magazine articles on a condition, test or treatment

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. For an office visit fee is what you pay at the office and pay_online_now what is charged when booking (usually 0). For phone, text and video fee is the online price. A null fee means the doctor lists none.
  • Use dt_doctor for online prices. The search list and the profile show a phone price three times the one on the booking page; dt_doctor reads the booking box, which matches the page.
  • Dates are Gregorian YYYY-MM-DD (1405-07-22 = 2026-10-14); times are Tehran local. Jalali dates are given next to them.
  • Booking happens on the site. It needs an SMS code, so the agent finds the doctor and time and gives you the page link.
  • Insurance: few doctors list insurances, so insurance_ids narrows a search a lot. Centers list theirs in dt_center; the center search ignores insurance filters.
  • Reviews: doctor and center reviews come newest first, offer reviews oldest first; each review date is the Tehran day, as on the page.
  • Search pages hold exactly limit doctors, also when the site mixes sponsored doctors in.
  • Privacy: no phone numbers and no reviewer names are returned.
  • Checked against the website: on 2026-10-06 every tool's output was compared with the live doctoreto.com pages (names, fees, free times per day, review order, search totals and order, centers, offers).

FAQ

Can it book an appointment for me?

No, and that's deliberate. It has no login and never calls the booking, payment, review or chat endpoints. The agent finds the doctor, the service and a free time; you book on doctoreto.com with your own phone number.

"slug alone cannot be resolved"

Doctoreto's API needs the 6-character id, not the name slug. Paste the whole page URL (https://doctoreto.com/doctor/<slug>/<id>), or let the agent search by the doctor's Persian name.

Do I need an Iranian IP?

No geo block was seen: direct calls and calls through a proxy in Turkey both worked (2026-10-06). Cloud servers were not tested; if Doctoreto blocks one, set DOCTORETO_MCP_PROXY.

A search returns 0 doctors

The filters may be too narrow (an insurance plus a neighborhood often is). Drop a filter, or check the slugs with dt_suggest, dt_specialities or dt_neighborhoods. An unknown city or speciality slug returns an error.

Claude Desktop says uvx is not found

Use the full path to uvx (where uvx on Windows, which uvx on macOS/Linux) as command.

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

Configuration

VariableDefaultMeaning
DOCTORETO_MCP_PROXYunsetHTTP proxy for every request, e.g. http://user:pass@host:port

فارسی

doctoreto-mcp به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در دکترتو پزشک مناسب را بر اساس تخصص، شهر، محله، بیمه و نوع ویزیت (حضوری، تلفنی، متنی، تصویری) پیدا کند، هزینه ویزیت و زمان‌های خالی نوبت را ببیند، نظرات بیماران را بخواند و بیمارستان، آزمایشگاه و خدمات دکترتو کلینیک را هم جست‌وجو کند.

  • فقط خواندنی است: وارد حساب نمی‌شود، نوبت رزرو نمی‌کند و پرداخت نمی‌کند؛ لینک صفحه پزشک را برای رزرو می‌دهد.
  • همه قیمت‌ها به تومان است.
  • شماره تلفن و نام نظردهندگان را برنمی‌گرداند.
  • روی سیستم خود شما اجرا می‌شود و به هیچ سرور واسطی داده نمی‌فرستد.

نصب در Claude Code:

bash
claude mcp add doctoreto -- uvx doctoreto-mcp

بعد بپرسید: «یک متخصص قلب در پاسداران تهران با نزدیک‌ترین نوبت خالی، با هزینه ویزیت»

Development

bash
git clone https://github.com/sepehr071/doctoreto-mcp && cd doctoreto-mcpuv syncuv run pytest            # offline, against recorded responsesuv run pytest -m live    # real APIsuv run ruff check .

Tools live in src/doctoreto_mcp/search.py, doctor.py, centers.py, offers.py and info.py; each is a typed async function with a docstring that tells the agent when to use it. Issues and PRs are welcome, especially new tools and fixes for API changes.

Releases: bump the version in pyproject.toml and server.json, then push a v* tag. GitHub Actions tests, publishes to PyPI and the MCP Registry, and creates the GitHub Release.

Disclaimer

Unofficial and not affiliated with or endorsed by Doctoreto. It uses the public endpoints of the doctoreto.com website, which can change without notice. It gives information, not medical advice. Please keep request rates reasonable.

License

MIT

來源:README.md,提交 456b682

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.1最新Oct 6, 2026