Skip to main content
Glama
qso-graph

qrz-mcp

by qso-graph

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

pip install qrz-mcp

Related MCP server: hamqth-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

qrz_download

Logbook

API key

Download full logbook as ADIF

get_version_info

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 — set up whichever you need:

# Install qso-graph-auth if you haven't
pip install qso-graph-auth

# Create a persona
qso-auth persona create ki7mt --callsign KI7MT

# Enable QRZ provider
qso-auth persona provider ki7mt qrz --username KI7MT

# Set password (for XML API: qrz_lookup, qrz_dxcc)
qso-auth persona secret ki7mt qrz

# Set API key (for Logbook API: qrz_logbook_status, qrz_logbook_fetch)
qso-auth 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

Available Tools

6 tools
get_version_infoA

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.

Returns: service_name, service_version (PyPI), and spec_version (QRZ API).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses the returned fields (service_name, service_version, spec_version) and the purpose of each. No annotations exist, but the description fully covers behavior and side effects (none).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Succinct with a clear structure: first line states purpose, second explains usage context, third lists return fields. Every sentence adds value, no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Completely describes the tool's function, usage, and output. With no parameters and an output schema (implied), no additional information is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, and schema coverage is 100%, so baseline is 3. The description adds value by detailing the return fields and their significance, justifying a 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Explicitly states it retrieves version information for the qrz-mcp service and the upstream QRZ API. Clearly distinguishes from sibling tools (data lookup, logbook operations) by focusing on version alignment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance: use to confirm fleet alignment and detect drift across MCP deployments. Implicitly indicates not for data retrieval, differentiating from sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

qrz_downloadA

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
personaYesPersona name configured in adif-mcp.
bandNoFilter by band (e.g., '20m').
modeNoFilter by mode (e.g., 'FT8').
start_dateNoDate range start (YYYY-MM-DD).
end_dateNoDate range end (YYYY-MM-DD).

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description discloses key behaviors: returns .adi file content, transparently paginates, and is rate-limited. This informs the agent about how the tool operates and potential constraints. Lacks mention of side effects or auth requirements, but these are covered by the required persona parameter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences: first states action and output format, second explains usage, third discloses pagination and rate limits. Every sentence adds value, no repetition. Front-loaded with the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers output format, pagination, and rate limiting. It does not address error conditions or the role of the 'persona' parameter, but the output schema exists and required parameter is clear. For a relatively straightforward download tool, this is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already documents parameters. The tool description adds no extra parameter meaning beyond what is in the schema. For example, 'band' and 'mode' are explained in schema, and description does not clarify default behavior or interaction between filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool downloads the complete QRZ logbook as raw ADIF text, using specific verbs and resource. It distinguishes from siblings by emphasizing 'complete' and 'raw ADIF', though no explicit comparison is given.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like qrz_logbook_fetch or qrz_logbook_status. The description does not mention use cases, prerequisites, or exclusions, leaving the agent to infer from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

qrz_dxccA

Resolve a DXCC entity from a callsign or numeric entity code.

ParametersJSON Schema
NameRequiredDescriptionDefault
personaYesPersona name configured in adif-mcp.
queryYesCallsign (e.g., VP8PJ) or DXCC code (e.g., 291).

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears full responsibility. It only states the purpose without disclosing behavioral traits such as error handling, result format, or whether the operation is safe (e.g., read-only).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no wasted words, efficiently conveying the tool's core function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity and presence of an output schema, the description is minimally adequate but lacks context on how it fits with sibling tools, error cases, or result interpretation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear parameter descriptions. The tool description adds no additional meaning beyond what the schema already provides, so baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description uses specific verb 'Resolve' and resource 'DXCC entity', clearly stating the tool's function. It distinguishes from sibling tools like qrz_lookup and others by focusing on DXCC entity resolution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for DXCC entity lookup but provides no explicit guidance on when to use this tool versus alternatives like qrz_lookup, nor any conditions or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

qrz_logbook_fetchA

Query QSOs from a QRZ logbook with optional filters.

Transparently paginates to collect up to limit records.

ParametersJSON Schema
NameRequiredDescriptionDefault
personaYesPersona name configured in adif-mcp.
bandNoFilter by band (e.g., '20m').
modeNoFilter by mode (e.g., 'FT8').
callsignNoFilter by contacted station.
dxccNoFilter by DXCC entity code.
start_dateNoDate range start (YYYY-MM-DD).
end_dateNoDate range end (YYYY-MM-DD).
confirmed_onlyNoOnly return confirmed QSOs.
limitNoMaximum records to return (default 250).

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose behavioral traits. It mentions pagination behavior ('Transparently paginates to collect up to `limit` records'), which is helpful. However, it does not disclose read-only nature, authentication requirements beyond requiring 'persona', rate limits, or error handling. For a query tool, more transparency about side effects and constraints would be beneficial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with purpose and immediately followed by a key behavioral detail (pagination). Every word adds value; no fluff or repetition. It is a model of conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 9 parameters (1 required) and an output schema. The description covers the core purpose and pagination behavior, but lacks explanation of the required 'persona' parameter (what is a persona?), does not mention output format or fields, and provides no examples or use-case context. For a complex filtering tool, the description leaves gaps in completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameters are already documented in the schema. The description adds context about the 'limit' parameter by explaining pagination behavior ('Transparently paginates...'). For other parameters, the description adds no additional meaning beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queries QSOs from a QRZ logbook with optional filters. The verb 'Query' and resource 'QSOs from a QRZ logbook' are specific. It distinguishes itself from siblings like qrz_lookup (individual call lookup) and qrz_download (ADIF download) by focusing on logbook QSO retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions transparent pagination up to a limit, which gives some usage context. However, it does not explicitly state when to use this tool versus alternatives (e.g., qrz_lookup for single callsign queries, qrz_download for full log downloads). No when-not-to-use guidance or alternative suggestions are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

qrz_logbook_statusA

Get QRZ logbook statistics (QSO count, DXCC total, date range).

ParametersJSON Schema
NameRequiredDescriptionDefault
personaYesPersona name configured in adif-mcp.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose behavioral traits. It only indicates a read operation ('Get') but omits details like authentication, rate limits, or potential errors. The output schema exists but is not mentioned in the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, compact sentence that front-loads the core action and outputs. Every word serves a purpose with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one parameter and an output schema, the description covers the essential functionality. It implicitly requires a configured persona (via schema) but does not elaborate on setup. The output schema compensates for missing return value details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the schema describes the 'persona' parameter sufficiently. The description does not add additional meaning beyond the schema, so it meets the baseline for a covered parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves QRZ logbook statistics, listing specific data types (QSO count, DXCC total, date range). This distinguishes it from siblings like qrz_logbook_fetch (which likely fetches individual entries) and qrz_dxcc (DXCC info).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for aggregate statistics but does not explicitly state when to choose this over alternatives (e.g., qrz_logbook_fetch for raw entries). No context on prerequisites or exclusions is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

qrz_lookupA

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
personaYesPersona name configured in adif-mcp.
callsignYesCallsign to look up (e.g., W1AW).

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description lists the fields returned and implies a read operation, but it does not explicitly state that the tool is read-only or non-destructive. Without annotations, the description should confirm idempotency. The subscription note hints at partial behavior, but it's unclear what happens with a missing subscription.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: one for the core function and one for the subscription requirement. No superfluous content. The key information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description adequately covers the tool's purpose and the subscription dependency. The presence of an output schema reduces the need to explain return values. Missing minor details like case sensitivity or error handling, but overall sufficient for a lookup tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (both parameters have descriptions), so the baseline is 3. The description does not add deeper meaning to the parameters; it only restates what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool looks up a callsign on QRZ.com and enumerates the returned data (name, grid, DXCC, etc.). The verb 'look up' and resource 'callsign' are specific, and the tool is distinct from siblings like qrz_download or qrz_dxcc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions the prerequisite of a QRZ XML Subscription for full fields, which provides some usage context. However, it does not explicitly state when to use this tool versus alternatives (e.g., qrz_dxcc for DXCC info) or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv0.3.3
    • First observedget_version_info
    • First observedqrz_download
    • First observedqrz_dxcc
    • First observedqrz_logbook_fetch
    • First observedqrz_logbook_status
    • First observedqrz_lookup

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: version info, logbook download, DXCC entity resolution, filtered QSO queries, logbook statistics, and callsign lookup. No overlapping functionality.

Naming Consistency4/5

All tools start with 'qrz_' prefix and use descriptive names, but there is some inconsistency in verb usage (e.g., 'get_version_info' vs 'qrz_download' vs 'qrz_dxcc'). However, the pattern is generally clear and predictable.

Tool Count5/5

Six tools cover the core operations for a QRZ integration (lookup, logbook management, version checking) without being excessive. The scope is well-defined.

Completeness4/5

The set covers essential operations: callsign lookup, DXCC resolution, logbook retrieval and download, and status. Missing write operations like adding QSOs, but that may be out of scope given QRZ's API constraints.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An 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.
    5
    GPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for HamQTH.com — callsign lookup, DX cluster spots, Reverse Beacon Network, DXCC resolution, and more through any MCP-compatible AI assistant.
    8
    GPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    MCP 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.
    8
    1
    GPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for Summits on the Air (SOTA) — live spots, activation alerts, summit info, and nearby summits through any MCP-compatible AI assistant.
    5
    GPL 3.0

Latest Blog Posts

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/qso-graph/qrz-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server