Skip to content
MCP server
Registry

Otaghak MCP Server

Unofficial read-only Otaghak: search Iranian villas, availability, exact stay prices, reviews.

Otaghak scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It declares 15 tools. Filed under Version control. GitHub shows 2 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by sepehr071MITPython2 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "sepehr071-otaghak-mcp": {      "command": "uvx",      "args": [        "otaghak-mcp"      ],      "env": {        "OTAGHAK_MCP_PROXY": ""      }    }  }}

Environment variables

NameRequiredNotes
OTAGHAK_MCP_PROXYOptionalOptional HTTP proxy URL for every request, or a comma-separated list: one is used until it gets blocked or fails to connect, then the next. System proxy settings are ignored.

Tools15Tool docs quality grade C

All capabilities
  • Last-second deals and the most discounted stays

  • Popular cities and collections, and the cities of a collection

  • Place name → city / province slug; a room code → that room

  • Help-center FAQ, guest terms (booking, cancellation policies, refunds, wallet), host rules

  • Iranian public holidays in a date range, with Jalali dates

  • Host response time, response and acceptance rates, other rooms, newest reviews

  • Whether a room offers late checkout, hours, price, and if it's open on your departure day

  • Exact amount to pay for dates and guests, extra guests and late checkout included

  • Rating, star histogram, category scores, percent who recommend, reviews with host replies

  • Details, amenities, rules, check-in/out times, cancellation policy, host, location, photos

  • Day by day: free or booked, price, min/max nights, weekend, holiday, late checkout

  • Filter codes (pool, parking, pets, beach or jungle area, ...), room types, price range, landmarks

About

🏡 otaghak-mcp: Otaghak MCP server for AI agents

Unofficial, read-only MCP server for Otaghak (اتاقک): let your AI agent find a place to stay in Iran. Search villas, cottages and apartments across Iran, check which nights are free, get the exact price for your dates and guests, and read reviews and host stats, all from Claude, Cursor or Copilot.

PyPI Python CI MCP Registry License: PolyForm Noncommercial mcpfarsi

Install in Cursor Install in VS Code

For AI agents · Why · What it can do · Quick start · Tools · Good to know · FAQ · Configuration · فارسی · Development · Related servers · Disclaimer · License


For AI agents

  • What: unofficial, read-only MCP server for Otaghak (اتاقک), an Iranian marketplace for villas, cottages and apartments. Queries work best in Persian, English slugs work too; prices are in Toman.
  • Install: claude mcp add otaghak -- uvx otaghak-mcp (stdio transport; needs Python 3.10+ and uv).
  • Auth: none, no API key. Optional OTAGHAK_MCP_PROXY (HTTP proxy, or a comma-separated list) if Otaghak blocks your network.
  • Access: read-only. No login, booking, payment or SMS codes, so no confirmation is needed before calling tools.
  • Tools: 15, all prefixed ot_*. Start with ot_find_place, then ot_search_rooms → ot_room or ot_room_calendar → ot_price_quote. For bargains use ot_deals.
  • Use when: finding a stay in Iran and getting the exact total for dates and guests, with reviews and host stats.
  • Do not use when: you need to book or pay (the user does that on otaghak.com), or want prices past the open calendar (end of the next Jalali month, at most 20 nights).
  • Output: compact JSON. Prices in Toman, dates Gregorian YYYY-MM-DD (check_out is the departure day), ratings 0-5. Pass the numeric room id between tools.
  • Machine-readable: server.json; catalog of all Iranian MCP servers: iran-mcp (TOOLS.md, servers.json, llms.txt).

Why

On Otaghak the price on a listing card is rarely what you pay: every night has its own price, weekends cost more, discounts change per night, extra guests cost extra per night, and calendars only open about a month ahead. Getting the real total for my dates and my group means clicking through calendars one room at a time. An agent with otaghak-mcp does the clicking:

You: We are 4 people, Ramsar, 20 to 23 October. How much is the "سوییسی لیلی" cottage in total?

Agent: calls ot_search_rooms(city=["ramsar"], name="لیلی") → ot_price_quote(room_id=2508916, check_in="2026-10-20", check_out="2026-10-23", guests=4)

NightPriceBefore discount
Tue 20 Oct4,000,0005,000,000
Wed 21 Oct4,000,0005,000,000
Thu 22 Oct4,250,0005,000,000
1 extra guest (3 nights)980,0001,200,000
Total to pay13,230,000

The cottage includes 3 guests and takes at most 4, so the 4th person costs 400,000 a night (discounted too, at a slightly different rate than the nights). All three nights are free and bookable instantly. Want me to compare it with ot_similar_rooms?

Real tool output from 2026-10-04; prices change all the time. Prices are in Toman.

What it can do

  • 🔎 Search stays in a city, province or themed collection (beach, jungle, villa with pool, ...) for your dates and group, sorted by price, rating or discount
  • 🧮 Exact price for dates and guests: every night after discount, extra-guest charges, optional late checkout
  • 📅 Calendars: which nights are free, nightly prices, minimum and maximum stay, weekends and holidays
  • 🏠 Room details: rooms and beds, amenities, house rules, check-in times, cancellation policy, nearby shops, photos
  • ⭐ Quality: rating, six category scores, percent who recommend it, reviews with host replies, host response time and acceptance rate
  • 🏷️ Deals: last-second discounts and the most discounted stays
  • 🧭 Guides: destination guides, FAQ, blog articles and the site's rules (cancellation, refunds)
  • 🔒 Read-only by design: no login, no booking, no payment, no SMS codes

Quick start

You need uv.

claude mcp add otaghak -- uvx otaghak-mcp

Settings → Developer → Edit Config, then add:

{
  "mcpServers": {
    "otaghak": { "command": "uvx", "args": ["otaghak-mcp"] }
  }
}

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

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

{
  "servers": {
    "otaghak": { "type": "stdio", "command": "uvx", "args": ["otaghak-mcp"] }
  }
}
codex mcp add otaghak -- uvx otaghak-mcp

Or in ~/.codex/config.toml:

[mcp_servers.otaghak]
command = "uvx"
args = ["otaghak-mcp"]

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "otaghak": { "command": "uvx", "args": ["otaghak-mcp"] }
  }
}

Add the Claude Desktop block to ~/.codeium/windsurf/mcp_config.json.

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

Then just ask:

  • "Cheapest villa with a pool near Ramsar for 6 people next weekend?"
  • "Is room 2512254 free from 20 to 23 October, and what's the total for 5 guests?"
  • "Pet-friendly cottages in Gilan with a rating of 4 or more."
  • "Show the reviews and the host's response rate for room 2512254, then suggest similar rooms for the same dates."
  • "Which Iranian holidays fall in the next month, and is late checkout offered by this room?"
  • یک کلبه جنگلی در ماسال برای ۴ نفر، آخر هفته بعد، با رزرو آنی پیدا کن.
  • قیمت نهایی ویلای شماره ۲۵۱۲۲۵۴ برای ۵ نفر از ۲۰ تا ۲۳ اکتبر چقدر می‌شود؟
  • تخفیف‌دارترین اقامتگاه‌های شمال را نشان بده.

Tools

Rooms are identified by numeric ids like 2512254 (the number in otaghak.com/room/2512254/), places by slugs like ramsar (city), mazandaran (province) or beach (collection).

ToolWhat it does
ot_find_placePlace name → city / province slug; a room code → that room
ot_search_roomsStays in a city, province or collection for dates and guests, with filters and sorting
ot_search_filtersFilter codes (pool, parking, pets, beach or jungle area, ...), room types, price range, landmarks
ot_destinationsPopular cities and collections, and the cities of a collection
ot_dealsLast-second deals and the most discounted stays
ToolWhat it does
ot_roomDetails, amenities, rules, check-in/out times, cancellation policy, host, location, photos
ot_reviewsRating, star histogram, category scores, percent who recommend, reviews with host replies
ot_similar_rooms4-5 alternatives, re-priced and checked for your dates and guests; while the site's list is empty, a same-city, same-type search up to 1.5x the room's price (note says so)
ot_hostHost response time, response and acceptance rates, other rooms, newest reviews
ToolWhat it does
ot_room_calendarDay by day: free or booked, price, min/max nights, weekend, holiday, late checkout
ot_price_quoteExact amount to pay for dates and guests, extra guests and late checkout included
ot_holidaysIranian public holidays in a date range, with Jalali dates
ot_late_checkoutWhether a room offers late checkout, hours, price, and if it's open on your departure day
ToolWhat it does
ot_helpHelp-center FAQ, guest terms (booking, cancellation policies, refunds, wallet), host rules
ot_travel_guideDestination guide, its FAQ, related search pages and blog articles

All 15 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, as on the site (1 Toman = 10 Rial). price_per_night is after discount. Without dates, prices are the room's undated starting price, not a quote.
  • The amount to pay is ot_price_quote → total: the nights after discount (the room page's payable amount), plus extra guests above the room's included guests (discounted like the nights), plus optional late checkout. Coupons and wallet credit need a login and are not included. Search results carry a stay_total estimate that can be a few Toman off; with dates, sort="cheapest" orders each page by it.
  • Dates are Gregorian YYYY-MM-DD and check_out is the departure day. No past dates, at most 20 nights, and hosts' calendars open only to the end of the next Jalali month; the tools say so clearly instead of returning an empty list. A Jalali date gets an error with its Gregorian twin.
  • Guests: each room includes base_guests in its price and takes up to max_guests. ot_price_quote checks the limit itself (the site's own search doesn't when you ask for a specific room).
  • Ratings are 0–5; null means not rated yet. Holiday flags are only published about 7 weeks ahead.
  • Location is approximate; the exact address and the host's phone come only after booking.
  • Persian queries match best (رامسر, کلبه), English slugs work too.

FAQ

otaghak-mcp is an unofficial MCP server for Otaghak: it exposes the public endpoints of otaghak.com as 15 read-only tools, so an agent can search stays and get exact prices. (Otaghak's own booking web service is for partners under contract; this is not it.)

Install it with uvx otaghak-mcp (see Quick start), then ask in Persian or English, for example "cheapest villa with a pool near Ramsar for 6 people next weekend, with the exact total".

It is unofficial and free for non-commercial use. It is read-only: no login, no API key, no booking or payment, and it runs on your machine.

No, and that's deliberate. It has no login and never calls booking, payment, OTP/SMS, wallet, favorites or review endpoints. The agent finds the room and the exact price; you book on otaghak.com.

Hosts' calendars on Otaghak are open only to the end of the next Jalali month, and stays are limited to 20 nights. Outside that window the site has no prices, so the tools tell you the last bookable day instead.

No. It was tested from an Iranian home connection and through a Turkish exit, and both worked. Cloud servers outside Iran were not tested; if Otaghak blocks one, set OTAGHAK_MCP_PROXY.

The server retries a timeout, failed connection, 5xx or 429 up to twice with a short backoff. If it keeps failing, check your connection or set OTAGHAK_MCP_PROXY. Normal system proxy variables are ignored on purpose, because direct calls are the fastest. If Otaghak shows a bot-check page, install the optional browser fallback: pip install "otaghak-mcp[browser]" (or uvx --from "otaghak-mcp[browser]" otaghak-mcp), then run patchright install chromium.

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

npx @modelcontextprotocol/inspector uvx otaghak-mcp

Configuration

VariableDefaultMeaning
OTAGHAK_MCP_PROXYunsetHTTP proxy for every request, e.g. http://user:pass@host:port. A comma-separated list is used one at a time: the next proxy takes over when one is blocked (403/429) or cannot connect

فارسی: سرور MCP اتاقک

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

  • فقط خواندنی است: وارد حساب نمی‌شود، رزرو و پرداخت نمی‌کند و کد پیامکی نمی‌فرستد.
  • مبلغ نهایی را با قیمت تک‌تک شب‌ها، هزینه نفر اضافه و تأخیر در تخلیه حساب می‌کند.
  • همه قیمت‌ها به تومان است و تاریخ‌ها میلادی (YYYY-MM-DD) هستند.
  • روی سیستم خود شما اجرا می‌شود و به هیچ سرور واسطی داده نمی‌فرستد.
  • برای پیدا کردن آن در گوگل یا رجیستری MCP، «سرور MCP اتاقک» یا «otaghak mcp» را جستجو کنید.
  • کلیدواژه‌های مرتبط: اتاقک، رزرو ویلا، رزرو کلبه، اجاره ویلا شمال، اجاره کلبه جنگلی، اقامتگاه بوم‌گردی، اجاره روزانه ویلا، قیمت اقامتگاه، سرور MCP فارسی، هوش مصنوعی و رزرو اقامتگاه.
  • ابزارها (۱۵ ابزار با پیشوند ot_): جستجوی اقامتگاه، فیلترها، مقصدها، تخفیف‌ها، جزئیات اتاق، نظرات، میزبان، اتاق‌های مشابه، تقویم، قیمت دقیق، تعطیلات، تأخیر در تخلیه، راهنمای کمک و راهنمای سفر.

نصب در Claude Code:

claude mcp add otaghak -- uvx otaghak-mcp

بعد بپرسید: «ارزان‌ترین ویلای استخردار رامسر برای ۶ نفر از ۲۰ تا ۲۳ اکتبر چند تمام می‌شود؟»

Development

git clone https://github.com/sepehr071/otaghak-mcp && cd otaghak-mcp
uv sync
uv run python -m pytest            # offline, against recorded responses
uv run python -m pytest -m live    # real API
uv run ruff check .

Tools live in src/otaghak_mcp/search.py, room.py, pricing.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.

Related servers

If this saves you clicks, a star helps others find it.

Disclaimer

Unofficial and not affiliated with or endorsed by Otaghak. It uses the public endpoints of the otaghak.com website, which can change without notice. Otaghak offers an official booking web service to partners under contract; this is not it. Please keep request rates reasonable.

Author

Built and maintained by Sepehr Radmard (سپهر رادمرد). Connect on LinkedIn or follow @sepehr071 on GitHub for more MCP servers for Iranian websites, all listed in iran-mcp. If this saves you time, a star on the repo helps other people find it.

مجوز استفاده (License)

استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.4.1 با مجوز MIT منتشر شده‌اند و همان مجوز را دارند.

Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.4.1 were released under MIT and stay under it.

Frequently asked questions

What is Otaghak MCP Server?

Unofficial read-only Otaghak: search Iranian villas, availability, exact stay prices, reviews.

How do I install Otaghak MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Otaghak MCP Server runs locally from the PyPI package otaghak-mcp with the command uvx otaghak-mcp.

Is Otaghak MCP Server free and open source?

Yes. Otaghak MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Otaghak MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Otaghak MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Otaghak MCP Server provide?

Otaghak MCP Server provides 15 tools, including ot_deals, ot_destinations, ot_find_place, and ot_help. See the full tool list for descriptions and parameters.

How is Otaghak MCP Server's trust score calculated?

Otaghak MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server