Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
EspaΓ±ol: README.es.md
Live flight data for the 50 Spanish airports run by AENA, as an MCP server. Ask Claude things like "what departures leave Santiago this afternoon?" or "is IB0459 delayed?" and it answers from real airport data: times, gates, terminals, aircraft, status and codeshares.
It puts both of AENA's flight APIs behind one clean set of tools, so an agent asks for flights and gets back the same flight shape no matter which API answered.
The server runs publicly at https://aena-mcp.carlos-ls.workers.dev/mcp. Add it to Claude with one click:
That link opens claude.ai with the connector prefilled; just confirm. Works on every plan, Free included, and once added it is available in the Claude apps too, phone included. No account, no API key, nothing to configure.
Prefer to add it by hand? Claude β Settings β Connectors β Add custom connector, name it AENA Flights and paste the URL above.
ChatGPT has no one-click install link, but the same server works there (Plus, Pro and Business plans, web only):
https://aena-mcp.carlos-ls.workers.dev/mcp, authentication: none| How | For whom | Setup |
|---|---|---|
| βοΈ Remote connector (above) | Everyone, iPhone included | One click |
| π¦ Desktop extension | Claude Desktop | Download aena-mcp.mcpb from the latest release, double click |
| π© npm | Claude Code, Cursor, any MCP client | npx mcp-aena |
| π§ From source | Developers | See below |
Config for npm-based clients:
For Claude Code it is one command:
search_flights β arrivals or departures for an airport. Filter by flight number, by date, or by a local-time window (afternoon = fromLocal 12:00, toLocal 20:00). Codeshares of the same physical flight collapse into one entry, and every time in the output is local Madrid time.get_flight β one flight by number at an airport.list_airports β every AENA airport with IATA/ICAO codes, fetched live.AENA exposes two ways to read flights, and each covers a gap the other leaves open.
The server picks the right one for you (source: "auto"), or you can force either. Without a secret it runs in website-only mode and still works. The public remote server has full REST access already configured.
Copy .env.example to .env. The website API needs nothing. For the REST API set AENA_CLIENT_SECRET; AENA_CLIENT_ID and AENA_TENANT_ID already have working defaults.
The public remote server lives in worker/ (Cloudflare Workers, Streamable HTTP, no auth). To host your own:
Parsing lives in pure normalizers (normalizeWebsiteRow, normalizeRestRow) so the mapping is tested without a live call. See CONTRIBUTING.md.
CI runs the tests on Node 20 and 22 plus an MCP inspector smoke. Tagged pushes (v*) publish to npm (OIDC trusted publishing), the MCP Registry, and attach a .mcpb bundle to the GitHub release.
"A" in the REST API but "L" in the website API. The server hides this.airlineIATA field actually carries the ICAO code. The server resolves both.VLG1674), the website by IATA (VY1674).MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/aena-flights-mcp)<a href="https://allmcps.com/mcp/aena-flights-mcp"><img src="https://allmcps.com/api/badge/aena-flights-mcp?style=directory" alt="AENA Flights MCP on AllMCPs" /></a>