Whentofly

io.github.dimabalonyPublished by GitHub account dimabalonyv1.0.3Updated Oct 24, 2026

whentofly: flexible-date economy/business flight search + price-level context for AI agents

VerifiedStreamable HTTPWeb executableLocation & LifestyleFinance

Overview

AI-generated overview

A hosted flight-search MCP server that lets an assistant find the cheapest round-trip fares across flexible date windows and judge how each price compares to a

What you can do
Resolve place names into typed city or airport identifiers, including small regional airports and city-versus-airport cases, for use in flight searches. Search cheapest round-trip fares across a month or date range with a minimum and maximum trip length, sorted by price with booking links and airline names. Search with no destination to see the cheapest places to fly from an origin. Attach a price level to each fare (good, typical, high, or insufficient data) showing where the price sits against the route's usual range.
When to use it
Useful when someone wants flexible-date economy flight options, a cheapest-destination overview from one origin, or a sanity check on whether a quoted fare is high for the route. Not suited to premium cabins, which are not bookable.
Requirements
A remote MCP endpoint over streamable HTTP; no local runtime, API key or signup. The client must support remote MCP servers; the README notes ChatGPT needs a separate custom GPT instead.
Before you install
Prices are cached indicators and every response carries a freshness field, so the final price should be confirmed on the booking page. Some booking links are affiliate links that may pay the provider a commission, though results are not ranked by that; each result reports its own monetization. Economy fares only.

Installation

In SourceWeft

  1. Open Whentofly in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.dimabalony%2Fwhentofly/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "whentofly": {
      "type": "http",
      "url": "https://whentofly.io/mcp?ch=mcp-registry"
    }
  }
}

README

whentofly — flight search for AI agents (MCP)

whentofly.io is a flexible-date flight search your AI agent can use directly. Ask your agent "cheapest round trip from Singapore to Tokyo in October, 5–9 days" — it searches a whole date window, returns the cheapest real fares with booking links, and tells you where that price sits against the route's usual range.

No API key. No signup. Two tools, hosted remotely — nothing to run locally.

Install

Claude Code

bash
claude mcp add whentofly https://whentofly.io/mcp?ch=github

Claude Desktop / claude.ai — Settings → Connectors → Add custom connector → https://whentofly.io/mcp?ch=github

Cursor — add to mcp.json:

json
{  "mcpServers": {    "whentofly": { "url": "https://whentofly.io/mcp?ch=github" }  }}

Any other MCP client with remote (streamable HTTP) support: point it at https://whentofly.io/mcp.

ChatGPT — use the whentofly Custom GPT (MCP connectors are Claude/Cursor-side for now).

What the tools do

search_locations — turn a place name into an exact identity

Returns typed values you pass straight through to search_flights:

  • city:SHA — every airport in the Shanghai market
  • airport:SHA — Hongqiao specifically, not Pudong

Plenty of IATA codes name both an airport and a whole city market — SHA is both — so your agent should ask you which one you meant when more than one result looks plausible. The catalog behind it covers 3,614 airports and 3,465 cities, so small regional airports resolve too.

Already know the code? Pass it. This tool is for the long tail and for the city-vs-airport cases.

search_flights — cheapest round-trip in a flexible window

Give it a month or a date range plus min/max trip length ("5–9 days in October") and it scans every valid depart/return pair, then sorts by price. Booking links on every fare, airline names resolved.

Omit the destination — or say "anywhere" — and you get the cheapest places to fly from your origin instead. "Where can I fly cheapest from Berlin in September?"

Each fare also gets a price level: good, typical, high, or insufficient data when the route has no usable band. That says where today's price sits against the route's usual range. It says nothing about which way fares are heading, and it will never tell you to wait.

Example prompts

  • "Find the cheapest round trip Singapore → Tokyo in October, 5 to 9 days."
  • "Where can I fly the cheapest from Berlin for a week in September?"
  • "Is $450 a high price for NYC → Lisbon in November? Check flexible dates."
  • "Plan me the cheapest 10–14 day trip to Japan in the next 3 months."
  • "Flights from Zhangjiajie — resolve the airport first."

What it doesn't do yet

Premium cabins aren't bookable. Ask for cabin=business or first and you may get route-level price evidence in metadata.route_price_check, but no ranked fare with a booking link. Our bookable fare source covers economy only. We could show you a business price from somewhere else next to a link that goes elsewhere — we'd rather show you nothing than a number the link won't honour.

Prices are cached indicators. Every response carries metadata.freshness so your agent can see how stale a fare is; confirm the final price on the booking page.

Pricing & funding

Ranked for you, not for us. Results are ordered by the cheapest real price we found, whether or not that seller pays us — there's no fee a seller can pay to rank higher.

Free to use, no key. Some booking links are affiliate: if you book through one, the partner may pay us a commission, never added to your fare. Each result reports its own monetization, so an agent can tell which is which. Fares come from cached airline-ticket data; always verify the final price on the booking page.

For developers

The same search is available as a plain JSON API — https://whentofly.io/search (docs), plus https://whentofly.io/locations?q=Shanghai for location resolution. This repo hosts documentation for the hosted MCP server; the service itself is closed-source.

Questions / feedback: [email protected] or open an issue here.

Source: README.md at commit 7406b34

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.0.3LatestSep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts