A Model Context Protocol (MCP) server that exposes the data of a typical ADS-B feeder instance for use from within Claude (and possibly other LLMs).
This was initially written in order to provide an MCP server connected to the ADS-B Feeder Image running an Ultrafeeder container - but it will work with any feeder that is providing the APIs typically associated with readsb / tar1090.
This MCP server so far provides access to:
- Aircraft Data: Real-time aircraft positions, callsigns, altitudes, and tracking information plus optionally (where available) route information for commercial flights
- Receiver Statistics: Performance metrics, message counts, and system status
- Search Functionality: Find specific aircraft by callsign, hex code, or flight number
- Range Statistics: Coverage area and signal range information
- Node.js 18.0 or higher
- npm (comes with Node.js)
- Access to an ADS-B feeder
# Clone the repository
git clone https://github.com/dirkhh/adsb-mcp-server.git
cd adsb-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
This guide will help you connect various MCP clients to your ADS-B MCP server.
- Running ADS-B Feeder: Make sure your ADS-B feeder is running and accessible - the easiest way to do that may be running the ADS-B Feeder Image
- Python MCP Server: The readsb MCP server should be working
- Network Access: Client needs access to your feeder's API endpoints
Recommended: Use the automatic setup script:
npm run build
node dist/setup_remote_config.js
This script will:
- Prompt you for your ADS-B feeder host and port
- Automatically create the correct configuration
- Merge with existing Claude Desktop configuration if present
- Provide clear instructions for next steps
Step 2: Restart Claude Desktop (or Reload MCP Configuration if your version of Claude Desktop supports that)
Close and reopen Claude Desktop to load the new configuration. As of this writing, not all versions of Claude have an option to reload its configuration.
In Claude Desktop, try asking:
- "What are the 5 closest planes to my feeder?"
- "Show me aircraft to the east of my location"
npm install -g @modelcontextprotocol/inspector
npm run build
npx @modelcontextprotocol/inspector node dist/src/readsb_mcp_server.js --base-url http://adsb-feeder.local
This will open a web interface where you can test the MCP server tools.
You can create an MCP Bundle (.mcpb
file) for easy distribution using the official MCPB tool:
# Install the official MCPB tool (Node.js required)
npm install -g @anthropic-ai/mcpb
# Build the project
npm run build
# Create bundle using official tool
mcpb pack .
The bundle will be created as adsb-mcp-server.mcpb
and can be distributed and installed in MCP-compatible clients. The bundle includes all Node.js dependencies for self-contained operation.
Use the included simple MCP client:
npm run build
node dist/test/remote_mcp_client.js
This provides an interactive command-line interface to test all the MCP tools.
Run the basic connection test:
npm run build
node dist/test/test_remote_connection.js
This will verify that the ADS-B MCP server is working correctly.
Adjust the --base-url
parameter based on your setup:
- Typical ADS-B Feeder Image: (by default
adsb-feeder.local
is used as host) - Feeder with known IP address
--base-url http://192.168.123.45
- Local feeder running on this system:
--base-url http://localhost
- Running in a container in the ADS-B Feeder Image adsb_im_bridge Docker network:
--base-url http://ultrafeeder
The server connects to these readsb endpoints:
- Port 8080: REST API (
/data/aircraft.json
,/data/stats.json
)
Make sure these ports are accessible from your MCP client. If your tar1090
runs on a different port, adjust the command line accordingly, e.g. --base-url http://100.99.98.97:6543
- Check if you can manually get to the ADS-B data:
curl http://adsb-feeder.local:8080/data/aircraft.json
- Check the Claude MCP logs:
e.g., ~/Library/Logs/Claude/mcp-server-readsb.log
on macOS
- Limit result counts to avoid overwhelming responses
- Use distance filters to reduce data processing
- Monitor memory usage for large aircraft datasets
Once connected, you can ask natural language questions like:
- "What are the 5 closest aircraft to my feeder?"
- "Show me all planes to the east within 50 miles"
- "Are there any aircraft to the north?"
- "What's the closest plane to the south?"
- "Find aircraft in the northeast quadrant"
- "Search for flight UAL123"
- "Show me receiver statistics"
Configure which tools require approval:
{
"autoApprove": [
"get_aircraft_data",
"get_receiver_stats"
]
}
Tools not in autoApprove will require manual approval in Claude Desktop.
If you encounter issues:
- Reach out in the #adsb-dot-im channel on the SDR Enthusiasts Discord
This project contains some AI generated code (with potentially questionable IP issues); overall the project is licensed under the GPLv3.