flytoday-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flytoday-mcpCheapest flight from Tehran to Mashhad around October 20?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
✈️ flytoday-mcp
Let your AI agent plan trips with Flytoday. Find the cheapest domestic or international flight, train or bus on a date or over a month, read fare rules and baggage, compare hotels and villas with exact prices, and price CIP lounges, eSIMs and visas, all from Claude, Cursor or Copilot.
Quick start · What it can do · Tools · FAQ · فارسی
Why
Flytoday (flytoday.ir, فلای تودی) sells domestic and international flights, hotels, villas, trains, buses, CIP
lounges, eSIMs and visas. Comparing "which day, plane or train or bus, which hotel" still means many page loads.
An agent with flytoday-mcp does it in one go:
You: Cheapest way from Tehran to Mashhad around 20 October?
Agent: calls
ft_flight_calendar(origin="THR", destination="MHD", date="2026-10-21", window="week"),ft_train_calendar(origin="1", destination="191")
Mode
Cheapest day
Price (Toman)
Flight
2026-10-20, airline IRZ
11,056,700
Train
2026-10-20 (and most days that week)
760,000
The train is far cheaper; want me to list that day's trains with
ft_search_trains?
Real tool output from 2026-10-07; prices and seats change all the time. Prices are in Toman.
Related MCP server: snapp-mcp
What it can do
✈️ Flights: domestic and international, one-way or round trip, party prices, airline, direct, charter/system and time filters
📅 Cheapest day for flights (+-15 days), trains (~16 days) and buses (~6 weeks)
📜 Fare details: refund and change rules, baggage, international entry notes
🏨 Hotels in Iran and abroad: priced search, room and meal offers with cancellation terms, guest reviews
🏡 Villas and apartments in Iran: price per night and total, per-date calendar with blocked days
🚆🚌 Trains and buses: classes, seats left, stops, amenities, VIP and sleeper buses
🛂 Extras: CIP lounges at IKA and MHD, eSIM data plans per country, visa prices and documents, tours and tickets
🔒 Read-only by design: no login, no seat hold, no booking, no payment
Quick start
You need uv.
claude mcp add flytoday -- uvx flytoday-mcpIf Flytoday does not answer from your network, add a proxy:
claude mcp add flytoday -e FLYTODAY_MCP_PROXY=http://127.0.0.1:8080 -- uvx flytoday-mcpSettings → Developer → Edit Config, then add:
{
"mcpServers": {
"flytoday": { "command": "uvx", "args": ["flytoday-mcp"] }
}
}Need a proxy? Add "env": { "FLYTODAY_MCP_PROXY": "http://127.0.0.1:8080" } next to args.
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": {
"flytoday": { "type": "stdio", "command": "uvx", "args": ["flytoday-mcp"] }
}
}It's a standard stdio MCP server: run uvx flytoday-mcp, or pip install flytoday-mcp and run flytoday-mcp.
Then just ask:
"Cheapest day to fly Tehran to Istanbul next month, and the refund rules of that fare?"
"Hotels in Mashhad for 2 nights from the 21st, cheapest first, with free cancellation."
"A villa in Ramsar for 4 people next weekend under 5 million Toman a night."
ارزان‌ترین اتوبوس VIP تهران به اصفهان دوشنبه بعد؟
How it works
AI agent (Claude, Cursor, Copilot, ...)
│
│ MCP over stdio
▼
flytoday-mcp (runs on your machine)
│
│ HTTPS (optional proxy)
▼
www.flytoday.ir/api/gateway ──▶ api.flytoday.ir, placesearch.flytoday.irflytoday-mcp runs locally and calls the same public gateway the flytoday.ir website uses. There's no hosted
server in between, no API key, and nothing about you is sent anywhere else.
Tools
Each vertical has its own ids, taken from its find tool: IATA codes for flights (THR, MHD, IST), hotel
city_id / region_code, stay region_code, train station codes (Tehran 1, Mashhad 191), 4-digit bus city
ids (Tehran 0001, Isfahan 0002).
Tool | What it does |
| Finds IATA codes for Iranian and international cities and airports, or lists the popular ones |
| Searches one-way or round-trip flights with filters, sorting and paging, in Toman, with fare_source_code and search_id |
| Shows the cheapest fare per departure day around a date and marks the cheapest day |
| Gives the refund and change rules, baggage and international entry notes of one fare |
Tool | What it does |
| Find city, region and hotel ids for hotels, and region codes for villa stays; popular places when empty |
| Priced hotels of a city or region for dates: whole-stay and per-night Toman, stars, score, refundable, meal |
| One hotel: room and meal offers with price, rooms left and cancellation terms, room details, basics |
| Guest reviews of a hotel with score, text, pros and cons |
| Villas and apartments in Iran for dates, cheapest first, Toman per night and total |
| One villa or apartment: details, price calendar with blocked days, reviews |
Tool | What it does |
| Train station codes by city name, or the popular stations |
| Trains between two stations on a date: company, class, times, seats left, price per adult |
| Cheapest train price per day for the next ~16 days, sold-out days flagged |
| Stops and times of one train, plus class amenities and meals |
Tool | What it does |
| Bus city ids by name, or the popular cities |
| Cheapest bus seat price per day for the next weeks (the site's price strip) |
| Buses between two cities on a date: company, terminals, type, seats left, price per seat |
Tool | What it does |
| CIP / VIP airport lounge prices and add-ons at IKA and MHD for a date and passengers, per passport nationality |
| eSIM data plans for a country (GB, days, price in Toman), cheapest first |
| Visa country list with from-prices, or one country's prices, documents and processing time |
| Tours, tickets and activities in a destination with from-prices for a date range |
| One activity: description, options, prices and cheapest days |
All 22 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 in every tool, in fields named
*_toman(the API sends Rial; values are divided by 10). Flightprice_tomanis per adult andtotal_tomanthe whole party; hotelprice_tomanis the whole stay (withper_night_toman); stays giveprice_per_night_tomanandtotal_toman; trains per adult; buses per seat. Visa and some activity prices are in a foreign currency (price_currency).Dates in and out are Gregorian
YYYY-MM-DD; past dates are rejected. Times are local to the place.Searches are rate limited per IP by Flytoday: about 15 flight/train/bus searches, and hotel search asks for a captcha after about 12 searches in 10 minutes (blocked for an hour or more). Use the calendars and paging (
search_id) instead of searching again; the tools never loop searches.Ids expire:
search_idandfare_source_codeare valid for about 15 minutes.Sales windows: trains open about 16 days ahead. An empty result often just means "not on sale yet".
When the rail companies' link is down, Flytoday answers HTTP 599;
ft_search_trainsretries three times, then says so.
FAQ
Usually not: the website's gateway answers from Iran and from abroad. If your network cannot reach
www.flytoday.ir, or your IP is rate limited, set FLYTODAY_MCP_PROXY to an HTTP proxy. System proxy variables
(HTTPS_PROXY, ...) are ignored on purpose.
No, and that's deliberate. It has no login and never holds a seat, reserves, orders or pays. The agent finds the best option; you book on flytoday.ir.
Flytoday limits searches per IP. Wait (the hotel captcha block can last an hour or more) or use another network
through FLYTODAY_MCP_PROXY. Calendars, details, reviews and stay searches are not limited.
The site's seat map comes from the first call of its checkout flow. It is left out until it is clear that the call holds nothing.
npx @modelcontextprotocol/inspector uvx flytoday-mcpConfiguration
Variable | Default | Meaning |
| unset | HTTP proxy for every request, e.g. |
Safety
Read-only: no login or OTP, no seat hold, reservation, order, payment, refund, review or bookmark. The only POSTs are searches and price lookups the site itself makes before booking.
At most two requests at a time, and no tool repeats a search in a loop.
فارسی
flytoday-mcp به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در فلای‌تودی ارزان‌ترین پرواز داخلی و خارجی، قطار یا اتوبوس را برای یک روز یا یک ماه پیدا کند، قوانین استرداد و بار مجاز را ببیند و هتل‌ها و ویلاها را با قیمت دقیق مقایسه کند؛ همچنین قیمت CIP، سیم‌کارت eSIM و ویزا را می‌گوید.
فقط خواندنی است: وارد حساب نمی‌شود و چیزی رزرو یا پرداخت نمی‌کند.
همه قیمت‌ها به تومان است.
روی سیستم خود شما اجرا می‌شود و به هیچ سرور واسطی داده نمی‌فرستد.
نصب در Claude Code:
claude mcp add flytoday -- uvx flytoday-mcpبعد بپرسید: «ارزان‌ترین راه رفتن از تهران به مشهد حدود ۲۸ مهر چیست؟»
Development
git clone https://github.com/sepehr071/flytoday-mcp && cd flytoday-mcp
uv sync
uv run pytest # offline, against recorded responses
uv run pytest -m live # real API, one search per tool (set FLYTODAY_MCP_PROXY if needed)
uv run ruff check .Tools live in src/flytoday_mcp/flights.py, hotels.py, trains.py, buses.py and extras.py; each is a typed
async function with a docstring that tells the agent when to use it. Issues and PRs are welcome.
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 Flytoday. It uses the public endpoints of the flytoday.ir website, which can change without notice. Please keep request rates reasonable.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.
Your personal AI travel concierge — flights, hotels, 116M+ POIs, visas, weather & more
Live flight prices and working booking links for AI agents and travel apps.
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI assistants to search and compare vacation rentals across Jabama, Jajiga and Otaghak at once, normalizing prices, Jalali/Gregorian dates, amenities, ratings, calendars and full guest reviews into one schema. It runs read-only and locally, providing merged results with direct booking links while withholding host and reviewer identities.6MIT
- AlicenseAqualityAmaintenanceEnables AI agents to search Snappfood restaurants and SnappMarket stores across Iran, compare true order costs including packaging and delivery, read menus, minimum orders, ETAs and reviews, and surface live flash deals. All operations are read-only, with no login, basket, ordering or payment access.2131MIT
- AlicenseAqualityBmaintenanceEnables 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.151MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search Jabama stays, group tours, events and theater seats, and to fetch the exact night-by-night price for given dates and guests along with calendars, house rules, amenities, host reputation and reviews. Runs locally as a read-only server with no login, booking or payment.MIT