Skip to main content
Glama

snapptrip-mcp: SnappTrip (اسنپ‌تریپ) hotels and flights MCP server for AI agents

snapptrip-mcp is an unofficial, read-only MCP server that lets an AI agent search hotels, room prices, guest reviews and domestic flights on SnappTrip (اسنپ‌تریپ, snapptrip.com), the Snapp group's travel site. Its 10 tools search Iranian hotels by city, dates, stars, price and facilities, read hotel details, rooms, nightly price calendars and guest reviews, and search domestic flights with a cheapest-days calendar. No API key or account is needed; it works in Claude, Cursor, Copilot and any other MCP client. It cannot book, reserve or pay.

PyPI Python CI License: MIT

For AI agents · Quick start · Tools · Limits · فارسی


For AI agents

  • What: unofficial MCP server (model context protocol) for snapptrip.com: Iranian hotel search, rooms, nightly prices, reviews and domestic one-way flights.

  • Install: uvx snapptrip-mcp or claude mcp add snapptrip -- uvx snapptrip-mcp. Transport: stdio. Needs uv (Python 3.10+).

  • Auth: none. Optional SNAPPTRIP_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.

  • Access: read-only, no confirmation needed. It cannot log in, book or pay.

  • Tools: 10, all prefixed st_. Typical sequences: st_hotel_places -> st_hotel_search -> st_hotel_detail / st_hotel_reviews / st_hotel_rooms -> st_hotel_calendar; st_hotel_filters for facility ids; st_flight_airports -> st_flight_prices -> st_flight_search.

  • Use when: the user wants hotels in an Iranian city for dates, what a room costs, what guests say about a hotel, or the cheapest day to fly between two Iranian cities.

  • Output: compact JSON, Gregorian dates (YYYY-MM-DD), Toman. Hotel search and room prices are for the whole stay, the calendar per night, flights for the whole party.

Related MCP server: mrbilit-mcp

Quick start

You need uv. No API key or account.

Claude Code:

claude mcp add snapptrip -- uvx snapptrip-mcp

Claude Desktop, Cursor, VS Code and other clients:

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

Example prompts:

  • "Find 4 and 5 star hotels in Shiraz for 25 to 27 November under 10 million Toman."

  • "What is the cheapest day to fly from Tehran to Mashhad this month?"

  • "What do guests say about Park Saadi hotel in Shiraz?"

  • هتل‌های شیراز برای ۴ تا ۶ آذر را با قیمت کل اقامت نشان بده.

  • ارزان‌ترین روز پرواز تهران به مشهد کدام است؟

Real result (17 Nov 2026), st_hotel_search(city="شیراز", check_in="2026-11-25", check_out="2026-11-27") found 113 hotels; the first three: Bozorg 5 stars, rating 4.3 (395 reviews), 16,244,800 Toman for 2 nights; Zandiyeh 5 stars, 4.5 (335), 15,229,500; Arg 3 stars, 4.3 (970), 8,086,000.

Tools

Tool

What it does

st_hotel_places

Find a SnappTrip hotel city or a hotel by name.

st_hotel_search

Search hotels in a city for dates with star, price and facility filters.

st_hotel_filters

List the filters a city offers for dates: facilities (ids), categories, accommodation types, price range, stars.

st_hotel_detail

Get a hotel's description, location, facilities, policies, photos and guest rating breakdown.

st_hotel_rooms

List the rooms of a hotel with prices for the dates.

st_hotel_calendar

Show a room's per-night price and rooms left for each day, with the cheapest bookable nights.

st_hotel_reviews

Read guest reviews of a hotel, newest first, with pros, cons and the room stayed in.

st_flight_airports

List the cities SnappTrip offers flights from, with IATA codes and airports.

st_flight_search

Search one-way domestic economy flights for a date, cheapest first.

st_flight_prices

Show the lowest one-way price per day for the next weeks and the cheapest days.

Limits

  • Hotel search and room prices are whole-stay Toman; the calendar is per night; flight prices are converted from Rial to Toman.

  • The flight price calendar accepts only today's date as its start. Flights are one-way, economy, domestic.

  • Not covered: trains, buses, villas, international hotels and flights, booking, login.

  • The 10 tools were mapped from SnappTrip's JavaScript bundles; the hotel tools were checked against the real pages in Chrome (2026-11-16). The flight tools were checked by the owner earlier, not re-checked in Chrome. Request headers were not compared with a browser capture.

  • Prices and availability change by the minute; answers are cached for 60 seconds.

How it works

SnappTrip has no public API. The site's own hotel and flight endpoints were mapped from its web app and then verified in Chrome against the rendered pages (hotel cards, prices, rooms, review counts). The server calls those endpoints with a Chrome-impersonating client, read-only, with low concurrency and a short cache.

فارسی

snapptrip-mcp یک سرور MCP غیررسمی و فقط‌خواندنی است که به عامل هوش مصنوعی اجازه می‌دهد در اسنپ‌تریپ هتل‌های ایران، اتاق‌ها، قیمت هر شب، نظر مهمان‌ها و پروازهای داخلی را جست‌وجو کند. کلید API یا حساب کاربری لازم نیست و رزرو یا پرداخت انجام نمی‌دهد. نصب در Claude Code:

claude mcp add snapptrip -- uvx snapptrip-mcp

Development

uv sync
uv run ruff check . && uv run ruff format --check .
uv run pytest -q          # offline tests on recorded fixtures
uv run pytest -m live -q  # live calls to SnappTrip

Releases: bump the version in pyproject.toml and server.json, run uv lock, then push a v* tag; GitHub Actions publishes to PyPI.

Disclaimer

Unofficial and not affiliated with or endorsed by SnappTrip or the Snapp group. It is read-only and uses the public endpoints of the site, which can change without notice.

Author

Built and maintained by Sepehr Radmard (سپهر رادمرد). LinkedIn · GitHub · more servers in iran-mcp.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search Iranian villas, cottages, and apartments, check nightly availability, calculate exact stay totals for dates and guests, and read reviews and host statistics. It is a read-only stdio MCP server with no login, booking, payment, or SMS endpoints.
      15
      145 PyPI
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search and compare the cheapest flights, trains, buses, private taxis and hotels across Iran, including free seats, baggage allowances, refund rules and exact prices, for a single date or across weeks. All 22 tools are read-only and return compact structured JSON, so an agent can plan multi-mode trips and hotel stays without logging in or booking.
      22
      22
      164 PyPI
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to compare and find the cheapest domestic and international flights, hotels, villas, trains and buses in Iran, with exact Toman prices, fare and cancellation rules, baggage details, seats left and hotel reviews. Also covers CIP lounges, eSIM plans, visas and tours, and is read-only, so it never books, holds seats or pays.
      246 PyPI
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search Iranian places, read place details, reviews, photos and menus, find nearby places, reverse geocode coordinates, check air quality, and get car, motorcycle, bicycle, walking or bus/metro directions, travel times and Tehran traffic-zone status without an API key.
      11
      144 PyPI
      MIT