Skip to content
MCP server
Registry

Alibaba Travel MCP Server

Read-only Alibaba (alibaba.ir) Iran travel: trains, buses, flights, hotels, villas and tours.

Alibaba Travel scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It declares 14 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by sepehr071MITPython0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 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 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. 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.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 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-alibaba-ir-mcp": {      "command": "uvx",      "args": [        "alibaba-ir-mcp"      ],      "env": {        "ALIBABA_IR_MCP_PROXY": ""      }    }  }}

Environment variables

NameRequiredNotes
ALIBABA_IR_MCP_PROXYOptionalOptional HTTP proxy URL for the Alibaba requests; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next.

Tools14Tool docs quality grade C

All capabilities
  • Free seats of one bus: counts per status, seat numbers and rows.

  • Intercity buses on one day: company, bus type, departure, price, seats, terminals, stops; says when a route has no buses and the next date that has.

  • Lowest bus price and bus count for each of the next days.

  • City and airport names to the codes the other tools take (THR, MHD, SYZ...); international=true searches airports worldwide.

  • Domestic flights on one day (or round trip): airline, flight number, times, aircraft, fare class, price per adult, child and infant, seats, baggage, cancellation fees.

  • Lowest domestic fare for each of the next days.

  • International flights (any city Alibaba sells): airline, segments, stops, duration, baggage, price, round trip.

  • Hotels in a city (Iran and abroad): stars, rating, price for the stay, meal plan, perks.

  • One holiday home: beds, amenities, house rules, cancellation terms, nightly price calendar, reviews.

  • Villas, suites, cottages and other holiday homes in a city: price, rating, capacity, filters for type, price, rating.

  • Tour packages (travel plus hotel) to Kish, Mashhad, Istanbul, Dubai and more: hotel, room, price per person.

  • Lowest tour price per person for 11 days around a date.

About

alibaba-ir-mcp: Alibaba (علی‌بابا) Iran train, bus, flight, hotel, villa and tour search MCP server for AI agents

alibaba-ir-mcp is an unofficial, read-only MCP server that gives AI agents the train, bus, flight, hotel, villa and tour listings of Alibaba (alibaba.ir), Iran's largest travel site. Its 14 tools look up city codes, search trains, buses, domestic and international flights, hotels, holiday homes and tour packages with prices and availability, show bus seat maps and find the cheapest day to travel. No API key or Alibaba account is needed. It works in Claude, Cursor, Copilot and any other MCP client.

PyPI Python CI License: PolyForm Noncommercial

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


For AI agents

  • What: unofficial MCP server (model context protocol) for alibaba.ir: train tickets (company, class, compartments, price, seats left, round trips), intercity buses (company, bus type, terminals, price, free seats), domestic and international flights (airline, times, fare classes, baggage, refund fees, round trips), hotels, villa and holiday-home rentals, tour packages and the cheapest day per route.
  • Install: uvx alibaba-ir-mcp or claude mcp add alibaba -- uvx alibaba-ir-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none, no API key or account. Optional ALIBABA_IR_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
  • Access: read-only. It cannot log in, book, hold seats or pay, so no confirmation is needed before calling any tool.
  • Tools: 14, all prefixed al_. Typical sequences: al_trains / al_buses / al_flights / al_flights_international for one day; al_*_cheapest then the search for the chosen day; al_stays then al_stay_detail; al_cities when unsure of a city code.
  • Use when: the user asks for train, bus or flight options, prices or seats, a hotel, a villa to rent or a tour package, or the cheapest day to travel.
  • Do not use when: the user wants to buy or book (send them to alibaba.ir), or asks about visas and insurance (not covered).
  • Output: compact JSON. Prices are Toman (Alibaba's API uses Rial; the tools divide by 10 as the site does): per adult for transport, for the whole stay for hotels, villas and tours. Dates are accepted as Gregorian 2026-11-11 or Jalali 1405-08-20; times are Iran local time.
  • Machine-readable: server.json.

Quick start

claude mcp add alibaba -- uvx alibaba-ir-mcp

Other clients: {"command": "uvx", "args": ["alibaba-ir-mcp"]}.

Tools

ToolWhat it does
al_citiesCity and airport names to the codes the other tools take (THR, MHD, SYZ...); international=true searches airports worldwide.
al_trainsTrains on one day (or a round trip): company, class and compartment, departure and arrival, price, seats left, discount; filter by class, passengers, women-only or men-only compartments.
al_trains_cheapestLowest train price for each of the next days.
al_busesIntercity buses on one day: company, bus type, departure, price, seats, terminals, stops; says when a route has no buses and the next date that has.
al_buses_cheapestLowest bus price and bus count for each of the next days.
al_bus_seatsFree seats of one bus: counts per status, seat numbers and rows.
al_flightsDomestic flights on one day (or round trip): airline, flight number, times, aircraft, fare class, price per adult, child and infant, seats, baggage, cancellation fees.
al_flights_cheapestLowest domestic fare for each of the next days.
al_flights_internationalInternational flights (any city Alibaba sells): airline, segments, stops, duration, baggage, price, round trip.
al_staysVillas, suites, cottages and other holiday homes in a city: price, rating, capacity, filters for type, price, rating.
al_stay_detailOne holiday home: beds, amenities, house rules, cancellation terms, nightly price calendar, reviews.
al_hotelsHotels in a city (Iran and abroad): stars, rating, price for the stay, meal plan, perks.
al_toursTour packages (travel plus hotel) to Kish, Mashhad, Istanbul, Dubai and more: hotel, room, price per person.
al_tours_cheapestLowest tour price per person for 11 days around a date.

Example: "cheapest way from Tehran to Mashhad next Thursday" -> al_trains_cheapest, al_flights_cheapest, then al_trains / al_flights / al_buses for that day.

FAQ

Is this official? No. It reads the same public JSON the alibaba.ir web app loads for anyone without an account.

Why does a train search sometimes fail? The rail suppliers go offline for maintenance for a while, usually just after midnight Tehran time. The site shows the same message; try again in a few minutes.

Why are there several rows for one flight? Each fare class is its own row; the site hides the repeats by default.

Where do the villas come from? Alibaba resells Jabama's listings; al_stays shows the same places and prices as alibaba.ir/accommodation.

Does it work outside Iran? Yes on most networks, directly or through ALIBABA_IR_MCP_PROXY.

فارسی

سرور MCP غیررسمی و فقط‌خواندنی برای علی‌بابا (alibaba.ir): جستجوی قطار، اتوبوس، پرواز داخلی و خارجی، هتل، ویلا و تور با قیمت و ظرفیت، نقشه صندلی اتوبوس و ارزان‌ترین روز سفر. نصب: uvx alibaba-ir-mcp. قیمت‌ها به تومان و تاریخ‌ها به شمسی (۱۴۰۵-۰۸-۲۰) یا میلادی پذیرفته می‌شود. خرید بلیت از طریق این ابزار ممکن نیست. Sepehr Radmard (سپهر رادمرد): github.com/sepehr071

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

استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.2.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.2.1 were released under MIT and stay under it.

Frequently asked questions

What is Alibaba Travel MCP Server?

Read-only Alibaba (alibaba.ir) Iran travel: trains, buses, flights, hotels, villas and tours.

How do I install Alibaba Travel 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. Alibaba Travel MCP Server runs locally from the PyPI package alibaba-ir-mcp with the command uvx alibaba-ir-mcp.

Is Alibaba Travel MCP Server free and open source?

Yes. Alibaba Travel 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 Alibaba Travel MCP Server support remote (HTTP) connections?

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

What tools does Alibaba Travel MCP Server provide?

Alibaba Travel MCP Server provides 14 tools, including al_bus_seats, al_buses, al_buses_cheapest, and al_cities. See the full tool list for descriptions and parameters.

How is Alibaba Travel MCP Server's trust score calculated?

Alibaba Travel MCP Server scores 66 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