Server data from the Official MCP Registry
Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs
About
Flight data for Spain's 50 AENA airports over the public and OAuth2 REST APIs
Security Report
Valid MCP server (2 strong, 3 medium validity signals). 1 known CVE in dependencies (0 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (4/4 approved).
9 files analyzed · 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: AENA_CLIENT_SECRET
Environment variable: AENA_CLIENT_ID
Environment variable: AENA_TENANT_ID
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-mrgo2-aena-mcp": {
"env": {
"AENA_CLIENT_ID": "your-aena-client-id-here",
"AENA_TENANT_ID": "your-aena-tenant-id-here",
"AENA_CLIENT_SECRET": "your-aena-client-secret-here"
},
"args": [
"-y",
"mcp-aena"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
AENA Flights MCP
Español: README.es.md
An MCP server for flight data across the 50 Spanish airports run by AENA. 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.
Why two APIs
AENA exposes two ways to read flights, and each covers a gap the other leaves open.
- Website API is public and needs no credentials. It sees roughly 14 days ahead but has no past data, and it reports local times. Good for discovery.
- REST API uses OAuth2 and needs a client secret. It sees about 54 hours into the past and 24 ahead, reports UTC, 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.
Tools
search_flights— arrivals or departures for an airport, with an optional flight-number filter.get_flight— one flight by number at an airport.list_airports— every AENA airport with IATA/ICAO codes, fetched live.
Install
pnpm install
pnpm build
Configure
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.
{
"mcpServers": {
"aena": {
"command": "node",
"args": ["/path/to/aena-mcp/dist/index.js"]
}
}
}
Development
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
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
airlineIATAfield actually carries the ICAO code. The server resolves both. - 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
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
