Flightradar24 Mcp 服务器 🛩️
概览
什么是 Flightradar24 MCP 服务器?
Flightradar24 MCP 服务器是一个开源项目,旨在促进实时航班跟踪。它充当一个服务器,处理来自各种来源的数据,使用户能够监控飞机动态、收集航班信息并实时可视化空中交通。这个服务器对于对航班数据分析感兴趣的航空爱好者、开发者和研究人员尤其有用。
Flightradar24 MCP 服务器的特点
- 实时数据处理:服务器实时处理航班数据,为用户提供最新的飞机位置、高度和航线信息。
- 开源:作为一个开源项目,用户可以为其开发做出贡献,根据自己的需求进行定制,并与社区分享改进。
- 用户友好的界面:服务器配备用户友好的界面,使导航和访问航班数据变得简单。
- 支持多种数据源:它可以从多个来源聚合数据,包括 ADS-B 接收器,提供全面的航班跟踪。
- 可定制的警报:用户可以为特定航班或事件设置通知,确保不会错过重要更新。
如何使用 Flightradar24 MCP 服务器
- 安装:首先从 GitHub 克隆代码库。使用命令:
git clone https://github.com/sunsetcoder/flightradar24-mcp-server.git - 依赖项:根据文档安装必要的依赖项。这可能包括数据处理和可视化的库。
- 配置:配置服务器设置以连接到您的数据源。这可能涉及设置 API 密钥或配置本地接收器。
- 运行服务器:使用文档中指定的命令启动服务器。通常,这涉及在终端中运行脚本或命令。
- 访问界面:打开网页浏览器,导航到服务器地址以访问用户界面并开始跟踪航班。
常见问题解答
Flightradar24 MCP 服务器的目的是什么?
该服务器旨在通过处理来自各种来源的数据提供实时航班跟踪信息,使其对航空爱好者和开发者非常有用。
Flightradar24 MCP 服务器是免费使用的吗?
是的,服务器是开源的,免费使用。用户可以下载、修改并为该项目做出贡献,而无需任何费用。
我可以自定义 Flightradar24 MCP 服务器吗?
当然可以!作为一个开源项目,您可以根据自己的具体需求定制服务器,无论是添加新功能还是修改现有功能。
我可以使用哪些数据源与 Flightradar24 MCP 服务器?
服务器支持多种数据源,包括 ADS-B 接收器和其他航班数据 API,提供全面的跟踪能力。
我如何为 Flightradar24 MCP 服务器做出贡献?
您可以通过报告问题、建议功能或通过 GitHub 代码库中的拉取请求提交代码改进来做出贡献。
详情
Flightradar24 MCP Server 🛩️
A Claude Desktop MCP server that helps you track flights in real-time using Flightradar24 data. Perfect for aviation enthusiasts, travel planners, or anyone curious about flights overhead!
What Can This Do? ✨
- 🔍 Track any flight in real-time
- ⏰ Get arrival and departure times for specific flights
- 🌉 View the status of flights at an airport
- 🚨 Monitor emergency flights
Setup Guide 🚀
1. Prerequisites
- Claude Desktop installed on your computer
- A Flightradar24 API key (get one from Flightradar24's website)*
2. Installation
-
Clone this repository somewhere on your computer:
git clone https://github.com/sunsetcoder/flightradar24-mcp-server.git -
Install dependencies & build the project:
cd flightradar24-mcp-server npm install npm run build
3. Integration with Claude Desktop
-
Open your Claude Desktop configuration file:
# On Mac: ~/Library/Application Support/Claude/claude_desktop_config.json # On Windows: %APPDATA%/Claude/claude_desktop_config.json -
Add the following to the
mcpServersobject in your config:{ "mcpServers": { "flightradar24-server": { "command": "node", "args": [ "/Users/<username>/<FULL_PATH...>/flightradar24-mcp-server/dist/index.js" ], "env": { "FR24_API_KEY": "your_api_key_here", "FR24_API_URL": "https://fr24api.flightradar24.com" } } } } -
Important Steps:
- Replace
/FULL/PATH/TO/flightradar24-mcp-serverwith the actual full path to where you cloned the repository - Add your Flightradar24 API key in the
envsection - Make sure to use forward slashes (
/) in the path, even on Windows
- Replace
-
Restart Claude Desktop for the changes to take effect
Environment Setup
-
Copy
.env.exampleto.env:cp .env.example .env -
Update the
.envfile with your actual Flightradar24 API key:FR24_API_KEY=your_actual_api_key_here
Note: Never commit your actual API key to version control. The .env file is ignored by git for security reasons.
Let's Try It Out! 🎮
Once the server is configured, you can ask Claude questions like:
- "What's the ETA for United Airlines flight UA123?"
- "Show me all flights currently at SFO"
- "Are there any emergency flights in the area?"
- "Show me all international flights arriving at SFO in the next 2 hours"
- "How many commercial flights are currently over the Pacific Ocean?"
- "Identify any flights that have declared an emergency in the California region"
Example conversation with Claude:
You: What's the status of flight UA123?
Claude: Let me check that for you...
[Claude will use the MCP server to fetch real-time flight information]
Common Questions & Troubleshooting 🤔
"Claude can't connect to the server"
- Check if the path in
claude_desktop_config.jsonis correct - Make sure you're using the full absolute path
- Verify your API key is correct
- Try restarting Claude Desktop
"The server isn't responding"
- Make sure your Flightradar24 API key is valid
- Check if the API URL is correct
- Look for any error messages in server logs
FlightRadar API Access
- Note: Using Flightradar24's API requires a subscription
Need More Help? 🆘
- Make sure Claude Desktop is properly installed
- Verify your Flightradar24 API key is active
- Check the path in your configuration file is correct
- Look for error messages in MCP server logs
License 📄
MIT
Made with ❤️ for aviation enthusiasts
Server配置
{
"mcpServers": {
"flightradar-24-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--sunsetcoder--flightradar24-mcp-server--flightradar-24-mcp-server",
"npm run start"
],
"env": {
"FR24_API_KEY": "fr-24-api-key",
"FR24_API_URL": "fr-24-api-url"
}
}
}
}