MCP server for QRZ.com — callsign lookup, DXCC resolution, logbook queries
Project description
qrz-mcp
MCP server for QRZ.com — callsign lookups, DXCC entity resolution, and logbook queries through any MCP-compatible AI assistant.
Part of the qso-graph project. Depends on adif-mcp for persona and credential management.
Install
pip install qrz-mcp
Tools
| Tool | API | Auth | Description |
|---|---|---|---|
qrz_lookup |
XML | Session key | Callsign lookup (name, grid, DXCC, license class, QSL info, image) |
qrz_dxcc |
XML | Session key | DXCC entity resolution from callsign or entity code |
qrz_logbook_status |
Logbook | API key | Logbook stats (QSO count, DXCC total, date range) |
qrz_logbook_fetch |
Logbook | API key | Query QSOs with filters and transparent pagination |
Quick Start
1. Set up credentials
qrz-mcp uses adif-mcp personas for credential management. QRZ has two separate auth mechanisms — set up whichever you need:
# Install adif-mcp if you haven't
pip install adif-mcp
# Create a persona
adif-mcp persona create ki7mt --callsign KI7MT
# Enable QRZ provider
adif-mcp persona provider ki7mt qrz --username KI7MT
# Set password (for XML API: qrz_lookup, qrz_dxcc)
adif-mcp persona secret ki7mt qrz
# Set API key (for Logbook API: qrz_logbook_status, qrz_logbook_fetch)
adif-mcp creds set --persona ki7mt --provider qrz --api-key YOUR_API_KEY
XML API (callsign lookup, DXCC) requires a QRZ XML Subscription ($35.95/yr). Free tier returns name and address only.
Logbook API requires an API key from QRZ Settings > API.
2. Configure your MCP client
qrz-mcp works with any MCP-compatible client. Add the server config and restart — tools appear automatically.
Claude Desktop
Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"qrz": {
"command": "qrz-mcp"
}
}
}
Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"qrz": {
"command": "qrz-mcp"
}
}
}
ChatGPT Desktop
ChatGPT supports MCP via the OpenAI Agents SDK. Add under Settings > Apps & Connectors, or configure in your agent definition:
{
"mcpServers": {
"qrz": {
"command": "qrz-mcp"
}
}
}
Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"qrz": {
"command": "qrz-mcp"
}
}
}
VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"qrz": {
"command": "qrz-mcp"
}
}
}
Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
{
"mcpServers": {
"qrz": {
"command": "qrz-mcp"
}
}
}
3. Ask questions
"Look up W1AW on QRZ — what's their grid and license class?"
"What DXCC entity is VP8PJ?"
"How many QSOs do I have in my QRZ logbook?"
"Show me all 20m FT8 QSOs from my QRZ logbook this year"
Rate Limiting
QRZ enforces undocumented rate limits that can trigger 24-hour IP bans. qrz-mcp protects you:
- 500ms minimum delay between all API calls
- Token bucket: 35 requests/minute
- 60s freeze on authentication failures
- 3600s freeze on connection refused (IP ban detection)
- In-memory response cache (5 min for callsigns, 1 hour for DXCC)
Testing Without Credentials
Set the mock environment variable to test all 4 tools without QRZ credentials:
QRZ_MCP_MOCK=1 qrz-mcp
MCP Inspector
qrz-mcp --transport streamable-http --port 8002
Then open the MCP Inspector at http://localhost:8002.
Development
git clone https://github.com/qso-graph/qrz-mcp.git
cd qrz-mcp
pip install -e .
QRZ Subscription Tiers
| Feature | Free | XML Data ($35.95/yr) |
|---|---|---|
| Callsign lookups/day | 100 | Unlimited |
| Fields returned | Name + address only | All (grid, lat/lon, DXCC, class, QSL, image) |
| Logbook API | No | Yes |
| DXCC lookup | No | Yes |
License
GPL-3.0-or-later
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qrz_mcp-0.1.0.tar.gz.
File metadata
- Download URL: qrz_mcp-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d829ce00b7f99cd52595c30b843984b0f93ccb1eb07fdb3328f8bf99623f936c
|
|
| MD5 |
1904560745e4a9ad1e02f41190f46128
|
|
| BLAKE2b-256 |
5326cb0c9413eed87388e812d8245ec06be73c234b32a708be7600c0ca3d1470
|
Provenance
The following attestation bundles were made for qrz_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on qso-graph/qrz-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qrz_mcp-0.1.0.tar.gz -
Subject digest:
d829ce00b7f99cd52595c30b843984b0f93ccb1eb07fdb3328f8bf99623f936c - Sigstore transparency entry: 1034263081
- Sigstore integration time:
-
Permalink:
qso-graph/qrz-mcp@19e245e6c97fb5af76916cc6b84690dfc9b756fb -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/qso-graph
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@19e245e6c97fb5af76916cc6b84690dfc9b756fb -
Trigger Event:
push
-
Statement type:
File details
Details for the file qrz_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qrz_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74247d58e436c2b5ce369e6daa078995c54768d7e3caf71d62d79a1b49a41613
|
|
| MD5 |
d3b4ee5ba6233d08e2434ea97ef0ef39
|
|
| BLAKE2b-256 |
74073f2dba1f02bd55fdfc261e0c10fb11c6013babab10f46cf3fc54791d600b
|
Provenance
The following attestation bundles were made for qrz_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on qso-graph/qrz-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qrz_mcp-0.1.0-py3-none-any.whl -
Subject digest:
74247d58e436c2b5ce369e6daa078995c54768d7e3caf71d62d79a1b49a41613 - Sigstore transparency entry: 1034263141
- Sigstore integration time:
-
Permalink:
qso-graph/qrz-mcp@19e245e6c97fb5af76916cc6b84690dfc9b756fb -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/qso-graph
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@19e245e6c97fb5af76916cc6b84690dfc9b756fb -
Trigger Event:
push
-
Statement type: