mcp_fr24
v1.0.9
Published
A Model Context Protocol server to get flight information from Flightradar24
Maintainers
Readme
Flightradar24 MCP Server
A Model Context Protocol server to get real-time flight information from Flightradar24.
Installation
npx mcp_fr24Or install globally:
npm install -g mcp_fr24
mcp_fr24Configuration
1. Get Your API Token
- Visit Flightradar24
- Sign up or log in to your account
- Get your API token from your account settings
2. Set Environment Variable
export FR24_API_TOKEN="your_api_token_here"Or create a .env file in your project:
cp .env.example .env
# Edit .env and add your tokenUsage
The server provides one tool: get_flight_info
Parameters:
flightNumber(string): Flight number e.g., "AA123", "CA981"
Example:
// Get flight information
const result = await client.callTool('get_flight_info', {
flightNumber: 'AA123'
})Response includes:
- Flight number and route
- Aircraft type and registration
- Current position (latitude/longitude)
- Altitude, ground speed, heading
- Estimated time of arrival
Important Security Note ⚠️
DO NOT commit your .env file or API token to version control!
Each user must provide their own Flightradar24 API token. This ensures:
- Your token is not exposed
- Each user has their own API quota
- Proper security practices are maintained
License
ISC
