Skip to content
plugmcp
DirectorySkillsCategoriesBlog
EN/中文
Sign inSign up
Home/Servers/AENA Flights MCP

AENA Flights MCP

I
by io.github.MrGo2

Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs

Power your agent

Add this server

The publisher's own command. Not a PlugMCP endpoint.

Local command
npx -y [email protected]
Credentials from the publisher
  • AENA_CLIENT_SECRET — OAuth2 client secret for the REST API. Omit for website-only mode (still fully functional for discovery).
  • AENA_CLIENT_ID — OAuth2 client id. Has a working default.
  • AENA_TENANT_ID — Azure AD tenant id. Has a working default.
Provider
Claude Code
AENA_CLIENT_SECRET=<secret> AENA_CLIENT_ID=<value> AENA_TENANT_ID=<value> claude mcp add io.github.mrgo2-aena-mcp -- npx -y [email protected]

Run in a terminal.

Claude Desktop
{
  "mcpServers": {
    "io.github.mrgo2-aena-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AENA_CLIENT_SECRET": "<secret>",
        "AENA_CLIENT_ID": "<value>",
        "AENA_TENANT_ID": "<value>"
      }
    }
  }
}

claude_desktop_config.json

Step-by-step: add this in Claude

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host a copy with our keys and logs.

A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.

Launch

Related MCP

View more
  • Firecrawl🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
  • N
    NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
  • Context7Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Related skills

View all
  • reaReverse engineer anything with agents, from app behavior down to native binaries.
  • rea-changelog-updatePrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.
  • rea-tool-designDesign or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.

Questions

How do I install AENA Flights MCP?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does AENA Flights MCP need an API key?
The publisher lists these environment variables: AENA_CLIENT_SECRET, AENA_CLIENT_ID, AENA_TENANT_ID.
What transport does AENA Flights MCP use?
AENA Flights MCP runs locally over stdio.
When was AENA Flights MCP last checked?
Last checked 2026-10-20. Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs

Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs

✈️ AENA Flights MCP

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.

🚀 Use it in 30 seconds (no install)

The server runs publicly at https://aena-mcp.carlos-ls.workers.dev/mcp. Add it to Claude with one click:

➕ Add to Claude

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.

🤖 Also works in ChatGPT

ChatGPT has no one-click install link, but the same server works there (Plus, Pro and Business plans, web only):

  1. Settings → Apps → Advanced settings → enable Developer mode
  2. In the Apps panel press + and add the server with URL https://aena-mcp.carlos-ls.workers.dev/mcp, authentication: none

💬 Things you can ask

  • 🛫 "Departures from MAD between 16:00 and 18:00"
  • 🛬 "What flights arrive at BCN from London tomorrow afternoon?"
  • 🔍 "Where is flight UX7235 right now, which gate?"
  • 🏝️ "List all AENA airports in the Canary Islands"

🖥️ Other ways to run it

HowFor whomSetup
☁️ Remote connector (above)Everyone, iPhone includedOne click
📦 Desktop extensionClaude DesktopDownload aena-mcp.mcpb from the latest release, double click
🟩 npmClaude Code, Cursor, any MCP clientnpx mcp-aena
🔧 From sourceDevelopersSee below

Config for npm-based clients:

{
  "mcpServers": {
    "aena": {
      "command": "npx",
      "args": ["-y", "mcp-aena"]
    }
  }
}

For Claude Code it is one command:

claude mcp add aena -- npx -y mcp-aena

🧰 Tools

  • 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.

🔀 Why two APIs

AENA exposes two ways to read flights, and each covers a gap the other leaves open.

  • 🌐 The website API is public and needs no credentials. It sees roughly 14 days ahead but has no past data. Good for discovery.
  • 🔐 The REST API uses OAuth2 and needs a client secret. It sees about 54 hours into the past and 24 ahead, and tells you the real operating flight behind a codeshare. Good for tracking.

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.

🛠️ From source

pnpm install
pnpm build      # tsc → dist/
pnpm test       # unit tests over captured fixtures, no network, no credentials
pnpm inspect    # drive a live stdio session with the MCP inspector

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:

cd worker
pnpm install
npx wrangler deploy
npx wrangler secret put AENA_CLIENT_SECRET   # optional, enables the REST source

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.

📝 Notes on the data

  • Arrivals is "A" in the REST API but "L" in the website API. The server hides this.
  • The REST airlineIATA field actually carries the ICAO code. The server resolves both.
  • Flight numbers differ by source: the REST API names flights by ICAO (VLG1674), the website by IATA (VY1674).
  • Neither API filters by flight number on the server, so searches pull the whole airport and filter locally.
  • Neither gives real takeoff or landing times, only scheduled and estimated. For wheels-off and wheels-on you need a source like FlightRadar24.

📄 License

MIT

How do I install AENA Flights MCP?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does AENA Flights MCP need an API key?
The publisher lists these environment variables: AENA_CLIENT_SECRET, AENA_CLIENT_ID, AENA_TENANT_ID.
What transport does AENA Flights MCP use?
AENA Flights MCP runs locally over stdio.
When was AENA Flights MCP last checked?
Last checked 2026-10-20. Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs

No tool list yet. Remote servers get one after the first health check.

plugmcp

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

  • github.com/TODO
  • x.com/TODO
  • linkedin.com/company/TODO

PlugMCP, 2026

Product
  • Browse
  • Install
  • Host your own
  • Pricing
  • Voice mode
  • Browser
Directory
  • All MCP servers
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server
Developers
  • Docs
  • Blog
  • Club
  • Work with us
  • What is MCP
  • What is WebMCP
  • Status
Company
  • About
  • Contact
  • Terms
  • Privacy
  • DPA