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
伺服器配置
{
"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"
}
}
}
}