# APRS.fi MCP Server Setup for Claude Code
## Quick Installation
Run this one command in your terminal:
```bash
./install.sh
```
That's it! The script will:
- Install dependencies
- Build the TypeScript code
- Configure Claude Code to use the MCP server
## Manual Installation
If you prefer to install manually:
1. **Build the server:**
```bash
npm install
npm run build
```
2. **Add to Claude Code configuration:**
Edit or create `~/.claude/mcp_settings.json`:
```json
{
"mcpServers": {
"aprs-fi": {
"command": "node",
"args": ["/path/to/aprs_mcp/dist/index.js"],
"env": {}
}
}
}
```
3. **Restart Claude Code**
## Usage
1. **Get an API key** from [aprs.fi/page/api](https://aprs.fi/page/api)
2. **Set your API key** in Claude Code:
```
/set-api-key YOUR_API_KEY_HERE
```
3. **Use the tools:**
- `get_aprs_position` - Get current position for a callsign
- `get_aprs_history` - Get position history
- `track_multiple_callsigns` - Track multiple callsigns
- `validate_aprs_key` - Test API key validity
## Example Usage
```
/set-api-key 123456.abcdef123456789
# Then use tools without specifying API key:
get_aprs_position callsign: "W1AW"
get_aprs_history callsign: "W1AW" lastHours: 6
track_multiple_callsigns callsigns: ["W1AW", "K1TTT"]
```
## Troubleshooting
- **Server not found:** Make sure the path in `mcp_settings.json` is correct
- **Permission denied:** Run `chmod +x dist/index.js`
- **API errors:** Verify your API key at [aprs.fi](https://aprs.fi)
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dhhuston/APRSFI-MCP-SERVER'
If you have feedback or need assistance with the MCP directory API, please join our Discord server