Agent Flights
透過任何 AI agent 尋找全球最便宜的航班(尤其擅長非洲航線):航班搜尋、票價日曆、最便宜的目的地和訂票連結。免費的遠端 MCP server,無需驗證。
託管 MCP 伺服器
npx add-mcp 'https://lowest.flights/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件

Agent Flights MCP
Archived, 18 Nov 2026. Development of this package moved into the main Agent Flights repository (
princemuichkine/agent-flights, foldermcp/). This repo stays public and read-only so existing installs and directory listings keep working. Nothing changes for users: the npm package is stillagent-flights-mcp, the registry name is stillflights.lowest/agent-flights, and the remote server is stillhttps://lowest.flights/mcp. Questions: babacar@lomi.africa.
Cheapest flights worldwide, strong on Africa, for AI agents. Agent Flights (lowest.flights) is a free remote MCP server and REST API that compares live and cached fares from several sources and booking sites, expands nearby airports, combines self-transfer one-ways when cheaper, and returns the cheapest all-in fare plus a cheapest-sensible alternative (no 20h layovers or risky overnight transfers).
- Remote MCP (Streamable HTTP):
https://lowest.flights/mcp - REST API:
https://lowest.flights/api/v1(OpenAPI) - Official MCP Registry:
flights.lowest/agent-flights - Docs: lowest.flights/agents · agents.md · llms.txt · Agent skill
- Free: no key and no payment needed. Optional self-serve API key for higher limits.
Tools
| Tool | What it does |
|---|---|
search_flights | Cheapest fare + cheapest-sensible alternative for a route and dates (one-way/return, passengers, cabin, bags, flexDays). |
find_cheapest_dates | Price calendar: cheapest fare per day of a month on one route. |
explore_cheap_destinations | Cheapest destinations from an origin for a month, optionally under a budget. |
get_flight_offer | Full details of one offer: legs, layovers, baggage, fees, warnings. |
get_booking_link | Booking link that redirects to the best bookable booking site. |
list_flight_sources | Which flight data sources are live right now. |
register_agent | Self-register your agent and get an af_live_ API key instantly (no email). |
unlock_mcp | Returns a notice that MCP is free; creates no checkout. |
Install
Any client that supports remote MCP (Claude.ai, ChatGPT connectors, Cursor, VS Code, Windsurf…)
Use the URL https://lowest.flights/mcp.
Cursor (~/.cursor/mcp.json)
{ "mcpServers": { "agent-flights": { "url": "https://lowest.flights/mcp" } } }
VS Code (.vscode/mcp.json)
{ "servers": { "agent-flights": { "type": "http", "url": "https://lowest.flights/mcp" } } }
Claude Code
claude mcp add --transport http agent-flights https://lowest.flights/mcp
Claude (claude.ai, Desktop, mobile)
Settings → Connectors → Add custom connector → https://lowest.flights/mcp (no sign-in).
ChatGPT
Settings → Apps → Advanced settings → Developer mode → Create app → https://lowest.flights/mcp, Authentication: none.
Grok and Grok Bot
- grok.com: Connectors → New Connector → Custom →
https://lowest.flights/mcp. - Grok CLI:
grok mcp add --transport http agent-flights https://lowest.flights/mcp - Grok Bot: ask “Add a custom MCP server called agent-flights at https://lowest.flights/mcp” and approve the card.
Codex CLI (~/.codex/config.toml)
[mcp_servers.agent_flights]
url = "https://lowest.flights/mcp"
Gemini CLI
gemini extensions install https://github.com/lomiafrica/agent-flights-mcp
Plugin (Cursor, Claude Code, Codex)
This repo is also an agent plugin: .cursor-plugin/plugin.json, .claude-plugin/plugin.json (+ marketplace.json), .codex-plugin/plugin.json, root plugin.json, mcp.json and the skills/agent-flights skill. Claude Code:
/plugin marketplace add lomiafrica/agent-flights-mcp
/plugin install agent-flights@agent-flights
Framework quickstarts
Vercel AI SDK, OpenAI Agents SDK, Claude Agent SDK, LangChain, CrewAI, Google ADK and the xAI API: lowest.flights/agents#frameworks.
Claude Desktop, Cline, Windsurf, or any stdio-only client
{
"mcpServers": {
"agent-flights": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://lowest.flights/mcp"]
}
}
}
Or use the tiny stdio bridge in this repo (bin/agent-flights-mcp.js, wraps mcp-remote):
{
"mcpServers": {
"agent-flights": {
"command": "npx",
"args": ["-y", "github:lomiafrica/agent-flights-mcp"],
"env": { "AGENT_FLIGHTS_API_KEY": "optional af_live_ key" }
}
}
}
Optional API key
Call the register_agent tool, or:
curl -X POST https://lowest.flights/api/v1/agents/register \
-H 'content-type: application/json' -d '{"name":"My agent","client":"claude"}'
Send it as Authorization: Bearer <apiKey>. Keys raise limits and attribute booking clicks to your agent.
Example
"Find me the cheapest flight from Abidjan to Paris around 18 December, back 5 January."
{ "origin": "ABJ", "destination": "CDG", "departureDate": "2026-12-18", "returnDate": "2027-01-05", "flexDays": 3, "currency": "XOF" }
Privacy Policy
Agent Flights receives only the tool arguments your agent sends (route, dates, passengers, cabin, currency), plus IP address and client name for rate limits. It collects no traveller names, IDs, payment data or conversation history. Search caches expire within about 24 hours; usage counters within 3 days. Full policy: https://lowest.flights/privacy · Terms: https://lowest.flights/terms
Support
Email babacar@lowest.flights or open an issue in this repository.
About
Built by lomi. (LOMI. INC). Agent Flights earns a partner commission on bookings and never adds a booking fee. This repo holds the public install material; the hosted server runs at lowest.flights.
License: MIT