splitfare-mcp
Click on "Install 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., "@splitfare-mcpFind the cheapest weekend to Berlin in October for 2 people."
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.
splitfare ποΈ
A flight-hacker's scanner for short trips: split tickets, trip-shape search, and it knows what's on when you land.
Booking sites answer "how much are flights on these dates?" splitfare answers the question you actually have:
"Find me any weekend next month β out Friday or Saturday, landing before 2pm, home Sunday night β and tell me who's playing while I'm there."
It prices the direct fares and every viable split-ticket combination (separate cheap tickets glued together through hub airports β routings no booking site will show you), sweeps whole months by trip shape, and pairs every candidate window with the destination's event calendar.
Demo above: London β Berlin weekends in September for 2 people β every FriβSun window priced, with Berlin's club calendar (Resident Advisor) per night.
What it does
Split-ticket routing β direct fares plus self-transfer combos through your chosen hub airports (same airport, enforced minimum connection, home the same day), ranked by total price for your whole party.
Trip-shape search β sweep a month for the cheapest N-night window with human constraints: out on these weekdays, land by this time, home by that time.
Overnight positioning β when landing early is impossible same-day, it prices flying to the hub the evening before and catching the morning flight.
Events fusion β every candidate night shows who's playing, via pluggable providers (Resident Advisor worldwide, Ticketmaster, Skiddle, Ibiza Spotlight β or write your own in ~30 lines).
A phone dashboard β
publishrenders a static site: browse every window by day, tap into flights, alternatives and lineups. Host it anywhere.AI-agent native β an MCP server exposes the whole thing to any MCP-capable assistant (Claude, etc.), plus an
askcommand for plain English from the terminal.
Related MCP server: Amadeus Agent
Quickstart
git clone https://github.com/teatimedev/splitfare && cd splitfare
python3 -m venv .venv && .venv/bin/pip install -e ".[mcp]"
.venv/bin/splitfare init # your airports, hubs, party size, events providerThen:
# price one out/back pair β direct + split combos + what's on
.venv/bin/splitfare window 2026-09-04 2026-09-06 --events
# sweep a month: cheapest 2-night windows, Friday departures, land by 2pm
.venv/bin/splitfare scan --month 2026-09 --nights 2 --out-dow fri --arrive-by 14:00
# render the phone dashboard (static site in ./site β host anywhere)
.venv/bin/splitfare publish --month 2026-09 --nights 2
# plain English (drives the tool via the `claude` CLI if you have Claude Code)
.venv/bin/splitfare ask "cheapest weekend next month for 2, landing before 2pm?"The first scan of a month is slow (~1.5 s per route-date, politely rate-limited). Results cache for 6 h; after that everything is instant.
Picking your hubs
Hubs are what make split ticketing work: airports with cheap budget-airline
service from both your home and your destination. Think Ryanair / easyJet /
Wizz bases β Stansted, Luton, Barcelona, Bergamo, Vienna, Warsawβ¦ 5β10 is the
sweet spot; every hub adds ~4 lookups per date, so more hubs = more combos
found but slower scans. The init wizard walks you through it.
Using it with your AI agent (MCP)
splitfare ships an MCP server, so any MCP-capable assistant can hunt flights for you:
claude mcp add splitfare -- /path/to/splitfare/.venv/bin/splitfare-mcpThree read-only tools: splitfare_find_flights (one date pair, full detail),
splitfare_scan_month (cheapest windows across a month), splitfare_whats_on
(event calendar). Your agent gets structured JSON β routings, per-leg booking
links, connection gaps, lineups β and can reason about trade-offs
("Β£15 more but you'd land 6 hours earlier and Four Tet is playing").
Three things to know:
Run
splitfare initfirst β the server reads theconfig.jsonnext to the code (or at$SPLITFARE_HOME). Without it, tools return a setup hint.Uncached calls take seconds-to-minutes;
scan_monthwithdeep=0on a cold cache can exceed some clients' tool timeouts β start with specific dates ordeep=4.Prices are totals for the configured party, in your configured currency.
Configuration
splitfare init writes config.json:
key | meaning |
| IATA code lists (several codes = searched together, e.g. all London airports) |
| self-transfer candidates between them |
| party size β all prices are totals for the party |
| ISO code; used for fetching, display, and booking links |
| self-transfer buffer (default 120; separate tickets β bigger is safer) |
|
|
| see table below |
SPLITFARE_HOME relocates config/cache/site for pip installs.
Events providers
provider | coverage | key needed | notes |
| clubbing, worldwide | no |
|
| concerts/festivals, worldwide | free, instant (signup) |
|
| UK clubbing & gigs | free (apply) |
|
| Ibiza only | no | includes door prices |
| β | β | flights only |
Adding one is a single function in providers.py.
Flight sources
Primary data comes from Google Flights via fast-flights β the only free source that aggregates all the budget carriers. Ryanair's public fare-finder API (no key) is available as an automatic fallback. For the curious: Amadeus retired its self-service API in 2026, Kiwi's Tequila closed to new signups, and Duffel doesn't carry Ryanair/Wizz β scraping the aggregator remains the pragmatic play, which is also why this is a run-it-yourself tool and not a website.
How it works, honestly
The Google source can break whenever Google changes things. Treat prices as estimates and book each leg directly with the airline β every result links to a matching search.
Split tickets carry real risk. Separate bookings mean no missed-connection protection. The tool enforces a minimum gap and shows the gap on every result, but the risk is yours. Prefer long gaps.
Be polite: requests are rate-limited and cached. Don't hammer it.
Development
.venv/bin/pip install -e ".[dev]"
.venv/bin/pytest tests/ -qPRs welcome β events providers for your scene, flight sources, and routing improvements especially.
License
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/teatimedev/splitfare'
If you have feedback or need assistance with the MCP directory API, please join our Discord server