biletall-mcp
A read-only MCP server that searches biletall.com for Turkish bus and flight tickets, prices, and locations.
biletall_search_locations— look up cities/towns by name offline across 1,726 platform locations; returns slug, Turkish name, and URL to use in the route tools.biletall_bus_route— cheapest bus journeys for a route today (limit 1–30): summary (cheapest price in TRY, journey count, cheapest/most-active company, duration, route rating) plus journeys with bus type, origin/destination city + station, price, and departure/arrival times.biletall_flight_route— cheapest flights for a route (limit 1–10): summary (cheapest price, cheapest/most-active airline, flight count, duration, distance) plus flights with date (ISO + Turkish), airline, airports and IATA codes, times, and price; dates span the coming days.biletall_price_stats— price statistics for a bus route today: count, min/median/mean/max fare in TRY over the 30 cheapest journeys, number of companies, and cheapest price per company.biletall_popular_routes— most-travelled bus routes with route name, from/to slugs, cheapest price in TRY, and route URL (limit 1–30).Caveats: read-only, no login/API key; bus results reflect only today's departures (no date-specific search yet); results come back as strings.
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., "@biletall-mcp Find the cheapest bus from Istanbul to Ankara today"
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.
biletall-mcp 🇹🇷
mcp-name: io.github.mohammad-abbasi-sh/biletall-mcp
Unofficial read-only MCP server for biletall.com, Türkiye's bus & flight ticket search — cheapest bus journeys for any route (today's departures, company, seat layout, stations, times, prices), cheapest flights (airline, airports + IATA codes, dates, times, prices), price statistics per route, most-travelled routes, and location search over 1,726 Turkish and international locations.
Built by Mohammad Abbasi as part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with biletall.com.
For AI agents
Add to your MCP client config (stdio):
{
"mcpServers": {
"biletall": {
"command": "uvx",
"args": ["biletall-mcp==0.1.1"]
}
}
}Or run locally: python -m biletall_mcp.server (needs mcp<2, curl-cffi).
Related MCP server: YHT Bilet MCP Server
Tools
Tool | Description |
| Search locations by name — |
| Cheapest bus journeys for one route, today — |
| Cheapest flights for one route — |
| Price statistics for a bus route (today): count, min / median / mean / max ticket price in TRY across the 30 cheapest journeys, company count, cheapest price per company |
| Most-travelled bus routes with prices: route name, from/to slugs, cheapest price in TRY, route URL; |
Example output (biletall_bus_route / İstanbul → Ankara):
{"from_city": "İstanbul", "to_city": "Ankara", "summary":
{"cheapest_price_try": 539.0, "journey_count": 719,
"cheapest_company": "Yeşil Malatya Turizm",
"most_active_company": "Metro Turizm", "duration": "6s 35dk",
"route_rating_10": 3.9},
"count": 2, "journeys": [
{"company": "Niğde Aydoğanlar", "bus_type": "2+1",
"origin_city": "İstanbul Avrupa", "origin_station": "Alibeyköy Otogarı",
"destination_city": "Ankara", "destination_station": "Ankara (Aşti) Otogarı",
"price_try": 598.0, "departure": "00:19", "arrival": "06:34"}, …]}Example output (biletall_flight_route / İstanbul → Ankara):
{"summary": {"cheapest_price_try": 1464.0, "cheapest_airline": "Pegasus",
"most_active_airline": "THY", "flight_count": 14,
"duration": "1Saat", "distance": "349 KM"},
"flights": [{"airline": "Pegasus", "date": "2026-11-10",
"date_tr": "10 Kasım 2026 - Salı", "price_try": 1459.99,
"origin_code": "SAW", "destination_code": "ESB",
"origin_airport": "İstanbul Anadolu — Sabiha Gökçen Havalimanı",
"departure": "18:15",
"destination_airport": "Ankara — Ankara Esenboğa Havalimanı",
"arrival": "19:15"}, …]}How it works
biletall.com (an Obilet white-label) serves its SEO route pages fully server-rendered — no login, no API key, no session cookies. Bus route pages carry a summary table (cheapest ticket, journey count, cheapest company, duration, most active company, route rating) with a schema.org AggregateOffer meta block, plus 30 <li itemtype="…/BusTrip"> journeys. Flight route pages carry the same summary shape plus 10 cheapest-flight blocks (airline, Turkish date, price data-price, airports + IATA codes, times). The homepage carries the 15 most-travelled routes with prices. City names are slugified (İstanbul → istanbul, Eskişehir → eskisehir; "İstanbul Avrupa" → istanbul since route pages use the base city; multi-word locations use underscores, e.g. Antakya Hatay → antakya_hatay). Unknown routes return HTTP 404 ("Sayfa bulunamadı"), surfaced as a clear error. Transport uses Chrome TLS impersonation (curl-cffi, chrome120); requests are spaced ~0.8s apart; everything is read-only.
Note: the two sibling lanes (teknosa.com, hepsiemlak.com) went behind a Cloudflare JS challenge on the same day this server was built (2026-11-07) and were skipped per factory rules — biletall.com answers cleanly, which is why it is the build.
Install
uvx biletall-mcp==0.1.1 # run directly (needs uv)
# or
pip install biletall-mcp==0.1.1
biletall-mcp # starts the MCP server on stdioTests
python -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -vOffline tests run on recorded fixtures (real pages fetched 2026-11-07); live tests hit biletall.com. 34/34 green at build time (26 offline + 8 live) plus an MCP stdio smoke test.
Roadmap
Date-specific bus search (the SEO pages show today's departures; a dated search needs the session-gated JSON API)
Bus company pages (
/otobus-firmalari/<slug>: company routes + ratings)Hotel search (the site has an Otel section)
License
PolyForm Noncommercial 1.0.0 — see LICENSE.
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Available Tools
5 toolsbiletall_bus_routeA
Cheapest bus journeys for one route, today. from_city / to_city: Turkish city names (e.g. "İstanbul" -> "Ankara") or slugs. limit 1..30. Returns the route summary (cheapest price in TRY, journey count, cheapest/most-active company, duration, route rating) plus the cheapest journeys (company, bus type, origin city + station, destination city + station, price in TRY, departure/arrival times). The page lists today's departures.
Inputs: to_city (required), from_city (required), limit. Returns: result
biletall_flight_routeA
Cheapest flights for one route. from_city / to_city: Turkish city names (e.g. "İstanbul" -> "Ankara") or slugs. limit 1..10. Returns the route summary (cheapest price in TRY, cheapest/most- active airline, flight count, duration, distance) plus the cheapest flights, each with its own date (ISO + Turkish), airline, origin/destination airports with IATA codes, departure/arrival times and price in TRY. Dates span the coming days — the page lists the cheapest per day.
Inputs: to_city (required), from_city (required), limit. Returns: result
biletall_popular_routesA
Most-travelled bus routes on biletall.com with prices: route name, from/to slugs, cheapest price in TRY and the route URL. limit 1..30. Source: the homepage / /otobus-seferleri most-travelled list.
Inputs: limit. Returns: result
biletall_price_statsA
Price statistics for a bus route (today): journey count, min / median / mean / max ticket price in TRY across the 30 cheapest journeys the site lists, company count, and the cheapest price per company. from_city / to_city: Turkish city names or slugs.
Inputs: to_city (required), from_city (required). Returns: result
biletall_search_locationsA
Search biletall.com locations (cities, towns) by name. query: e.g. "Ankara", "İstanbul", "İzmir", "Bodrum". Searches the platform location inventory offline (1,726 slugs from the site's sitemap; major cities carry correct Turkish spelling). Returns slug, name and the location's biletall.com URL per match. Use the slug (or the city name) in the bus/flight route tools.
Inputs: query (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool maps to a distinct resource: location lookup, popular routes list, bus journeys, flight journeys, and price aggregates. The only real overlap is biletall_price_stats vs biletall_bus_route, which both take from_city/to_city and return a cheapest price, so an agent asking 'how much is a bus from A to B' could plausibly pick either. The descriptions do clarify the split (aggregate statistics over 30 journeys vs. actual journey listings), which keeps the confusion minor.
All tools share a consistent biletall_ prefix and snake_case, which makes the set feel cohesive. The internal pattern is mostly noun phrases (price_stats, popular_routes, bus_route, flight_route) with one verb_noun outlier (search_locations), a minor deviation rather than a real inconsistency.
Five tools is well within a reasonable range for a read-only ticket-price discovery server, and each covers a distinct query type (locations, popular routes, bus, flight, stats). It leans slightly thin — there is no company- or station-level tool — but nothing is redundant or padding.
The surface covers the main discovery path (find location -> search bus or flight -> check stats/popular routes), but the bus side is locked to today's departures with no date parameter while flights span coming days, which is an inconsistent and limiting gap. There is also no way to query by company, filter by departure time, or handle return/round trips, so some natural follow-up questions will dead-end.
Maintenance
Related MCP Connectors
Aggregated travel MCP — flights, tours, activities, price checks, visas, and more.
Read-only public transit departures, stop search, and city coverage for bus and train users.
Flight search MCP server providing search, pagination, and itinerary details for AI assistants.
AI marketplace — flights, tours, activities, transport & more via MCP. No auth required.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables flight search, location lookup, and city information retrieval using the AllFlyghts public API through MCP tools.-
- AlicenseNot gradedqualityDmaintenanceEnables searching Turkish high-speed train (YHT) tickets via TCDD API. Supports real-time availability, station name resolution, date formatting, and passenger count.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to access 21 read-only tools for local travel planning, including trip and itinerary validation, budget calculation, booking requirements, integration provider status, flight/train/accommodation/activity searches, route/weather/currency lookups, and travel source search.MIT
- AlicenseAqualityBmaintenanceProvides read-only access to obilet.com's Türkiye bus and flight ticket data, letting agents search locations, list bus journeys for a route and date with prices, seats, and ratings, fetch full journey details, compute price statistics, and read flight summaries. No login or API key is required, and individual flight listings are out of scope.5MIT