qrz-mcp
Use qrz-mcp to perform QRZ.com callsign/DXCC lookups and inspect/download QRZ logbook data via MCP.
Look up a callsign for name, grid, DXCC, license class, QSL info, and image; full fields require a QRZ XML subscription.
Resolve a DXCC entity from a callsign or numeric DXCC code.
Get logbook statistics: QSO count, DXCC total, and date range.
Query logbook QSOs with filters for band, mode, DXCC, callsign, date range, and confirmed-only; supports limits, newest-first ordering, and transparent pagination.
Download the complete logbook as raw ADIF text, optionally filtered by band, mode, or date range.
Check qrz-mcp service version and upstream QRZ API spec version for fleet alignment.
Manage credentials through qso-graph-auth personas using either QRZ XML credentials or a logbook API key.
Benefit from built-in rate limiting, response caching, and a credential-free mock mode.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@qrz-mcp look up callsign KI7MT"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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. Uses qso-graph-auth for credential management.
Install
uvx qrz-mcp # run it; nothing to installRelated MCP server: hamqth-mcp
Tools
Tool | API | Auth | Description |
| XML | Session key | Callsign lookup (name, grid, DXCC, license class, QSL info, image) |
| XML | Session key | DXCC entity resolution from callsign or entity code |
| Logbook | API key | Logbook stats (QSO count, DXCC total, date range) |
| Logbook | API key | Query QSOs with filters and transparent pagination |
| Logbook | API key | Download full logbook as ADIF |
| — | None | Service version + upstream QRZ API version (fleet identity attestation) |
Quick Start
1. Set up credentials
qrz-mcp uses qso-graph-auth personas for credential management. QRZ has two separate auth mechanisms, exposed as two providers—set up whichever you need:
Provider | Tools | Credentials |
|
| username + password |
|
| username + API key |
# Install qso-graph-auth if you haven't
uv tool install qso-graph-auth
# Create a persona (--start is required)
qso-graph-auth persona add --name ki7mt --callsign KI7MT --start 2018-01-01
# XML API (qrz_lookup, qrz_dxcc)
qso-graph-auth provider enable ki7mt qrz
qso-graph-auth creds set ki7mt qrz # asks for your username, then your password (hidden)
# Logbook API (qrz_logbook_status, qrz_logbook_fetch, qrz_download)
qso-graph-auth provider enable ki7mt qrz_logbook
qso-graph-auth creds set ki7mt qrz_logbook # asks for your username, then your API key
# Verify
qso-graph-auth creds doctorPass the persona name (ki7mt above) as the persona argument on every tool call.
Omit
--password/--api-keyto be prompted instead—passing secrets as CLI arguments leaves them in your shell history.
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": "uvx",
"args": ["qrz-mcp"]
}
}
}Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"qrz": {
"command": "uvx",
"args": ["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": "uvx",
"args": ["qrz-mcp"]
}
}
}Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"qrz": {
"command": "uvx",
"args": ["qrz-mcp"]
}
}
}VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"qrz": {
"command": "uvx",
"args": ["qrz-mcp"]
}
}
}Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
{
"mcpServers": {
"qrz": {
"command": "uvx",
"args": ["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:
500 ms minimum delay between all API calls
Token bucket: 35 requests/minute
60 s freeze on authentication failures
3600 s 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 6 tools without QRZ credentials:
QRZ_MCP_MOCK=1 qrz-mcpMCP Inspector
qrz-mcp --transport streamable-http --port 8002Then open the MCP Inspector at http://localhost:8002.
Development
git clone https://github.com/qso-graph/qrz-mcp.git
cd qrz-mcp
uv sync --group dev
uv run pytestQRZ 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
Available Tools
6 toolsget_version_infoGet Version InfoARead-onlyIdempotent
Get qrz-mcp service version and upstream QRZ API version.
Returns the running PyPI version of qrz-mcp and the QRZ.com XML + Logbook API contract in use. Use this to confirm fleet alignment across MCP deployments — agents can compare service_version and spec_version across servers to detect drift without going outside the MCP protocol.
Inputs: no named parameters. Returns: object
qrz_downloadQrz DownloadARead-onlyIdempotent
Download your complete QRZ logbook as raw ADIF text.
Returns the .adi file content — save to disk for import into your logger. Transparently paginates to collect all records. Rate-limited to avoid API bans.
Inputs: persona (required), band, mode, end_date, +1 more. Returns: object
qrz_dxccQrz DxccBRead-onlyIdempotent
Resolve a DXCC entity from a callsign or numeric entity code.
Inputs: query (required), persona (required). Returns: object
qrz_logbook_fetchQrz Logbook FetchARead-onlyIdempotent
Query QSOs from a QRZ logbook with optional filters.
Transparently paginates to collect up to limit records. QRZ returns
records oldest first, so by default limit keeps the OLDEST matches. Set
newest_first for the most recent QSOs instead (for example, "my last 10
contacts" is limit=10 with newest_first=true).
Inputs: persona (required), band, dxcc, mode, +6 more. Returns: object
qrz_logbook_statusQrz Logbook StatusARead-onlyIdempotent
Get QRZ logbook statistics (QSO count, DXCC total, date range).
Inputs: persona (required). Returns: object
qrz_lookupQrz LookupARead-onlyIdempotent
Look up a callsign on QRZ.com (name, grid, DXCC, license class, QSL info, image).
Requires a QRZ XML Subscription ($35.95/yr) for full fields.
Inputs: persona (required), callsign (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The tools mostly target distinct actions: version metadata, callsign lookup, DXCC resolution, logbook status, bulk logbook download, and filtered QSO fetch. The main overlap is between qrz_download and qrz_logbook_fetch, since both retrieve logbook data, though one is a full ADIF export and the other is a filtered query.
Most domain tools use a qrz_ prefix, but get_version_info breaks the pattern with get_. The suffixes also mix verbs and nouns (lookup, dxcc, status, download, fetch), making the convention readable but not fully consistent.
Six tools are well-scoped for a QRZ callsign and logbook service. Each tool covers a distinct capability without obvious redundancy or excessive surface area.
The surface covers version info, callsign lookup, DXCC resolution, logbook stats, bulk download, and filtered QSO retrieval. It is read-only and lacks logbook write operations such as adding or updating QSOs, but core read workflows are well covered.
Maintenance
Related MCP Connectors
Amateur radio MCP server with band plans, EIRP, cable loss, antenna gains, and more
MCP server for OnceAsk, the AI-native current-address layer for people and agents.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityAmaintenanceAn MCP server for eQSL.cc that allows users to download incoming electronic QSL cards, verify specific contacts, and check Authenticity Guaranteed status. It enables natural language interaction with amateur radio logs and confirmation records through any MCP-compatible AI assistant.681 PyPIGPL 3.0
- AlicenseAqualityAmaintenanceMCP server for HamQTH.com — callsign lookup, DX cluster spots, Reverse Beacon Network, DXCC resolution, and more through any MCP-compatible AI assistant.885 PyPIGPL 3.0
- AlicenseAqualityAmaintenanceMCP server for Parks on the Air (POTA) providing live activator spots, park details, activator/hunter stats, and scheduled activations through any MCP-compatible AI assistant.1180 PyPI3GPL 3.0
- AlicenseBqualityAmaintenanceMCP server for Summits on the Air (SOTA) — live spots, activation alerts, summit info, and nearby summits through any MCP-compatible AI assistant.582 PyPI1GPL 3.0