Qrz Mcp

io.github.qso-graph由 GitHub 账号 qso-graph 发布v0.6.3更新于 Nov 8, 2026

QRZ.com MCP server. Callsign lookup, DXCC resolution, logbook queries via QRZ XML API.

已验证STDIO仅桌面位置与生活数据与分析

概览

AI 生成的概览

面向 QRZ.com 的本地 MCP 服务器,让助手查询业余无线电呼号、解析 DXCC 实体,并查询或下载 QRZ 日志簿。

可以做什么
  • 在 QRZ.com 上查询呼号,获取姓名、网格、DXCC、执照等级、QSL 信息和图片
  • 根据呼号或数字实体代码解析 DXCC 实体
  • 读取日志簿统计,如 QSO 数量、DXCC 总数和日期范围
  • 按条件筛选并分页查询日志簿中的 QSO,可按最旧或最新优先
  • 将完整日志簿下载为原始 ADIF 文本,便于导入日志软件
  • 报告服务版本与上游 QRZ API 版本,便于多部署间比对
适用场景
适合业余无线电和通联记录场景:希望助手直接回答呼号问题、识别 DXCC 实体,或汇总与导出 QRZ 日志簿中的通联记录,而无需手动查询。
运行要求
通过 uvx 在本地运行(Python)。凭据由 qso-graph-auth 的 persona 管理:XML API 需要 QRZ 用户名和密码,日志簿 API 需要 QRZ 用户名和 API 密钥;每次调用工具需传入 persona 名称。完整查询字段、DXCC 和日志簿访问需要付费的 QRZ XML 订阅。需要访问 QRZ.com 的网络连接。
安装前请注意
服务器会处理 QRZ 账户凭据(密码和 API 密钥),由 qso-graph-auth 保存;README 建议在提示中输入而非作为命令行参数传入。查询和日志簿操作会把呼号和账户数据发送到 QRZ.com。日志簿下载会返回你的完整通联记录。QRZ 有未公开的速率限制,可能触发 24 小时 IP 封禁,服务器为此做了限流。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Qrz Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

qrz-mcp

[PyPI] [MCP Registry]

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

bash
uvx qrz-mcp            # run it; nothing to install

Tools

ToolAPIAuthDescription
qrz_lookupXMLSession keyCallsign lookup (name, grid, DXCC, license class, QSL info, image)
qrz_dxccXMLSession keyDXCC entity resolution from callsign or entity code
qrz_logbook_statusLogbookAPI keyLogbook stats (QSO count, DXCC total, date range)
qrz_logbook_fetchLogbookAPI keyQuery QSOs with filters and transparent pagination
qrz_downloadLogbookAPI keyDownload full logbook as ADIF
get_version_info—NoneService 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:

ProviderToolsCredentials
qrzqrz_lookup, qrz_dxccusername + password
qrz_logbookqrz_logbook_status, qrz_logbook_fetch, qrz_downloadusername + API key
bash
# Install qso-graph-auth if you haven'tuv 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 qrzqso-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_logbookqso-graph-auth creds set ki7mt qrz_logbook      # asks for your username, then your API key
# Verifyqso-graph-auth creds doctor

Pass the persona name (ki7mt above) as the persona argument on every tool call.

Omit --password / --api-key to 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):

json
{  "mcpServers": {    "qrz": {      "command": "uvx",      "args": ["qrz-mcp"]    }  }}
Claude Code

Add to .claude/settings.json:

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:

json
{  "mcpServers": {    "qrz": {      "command": "uvx",      "args": ["qrz-mcp"]    }  }}
Cursor

Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):

json
{  "mcpServers": {    "qrz": {      "command": "uvx",      "args": ["qrz-mcp"]    }  }}
VS Code / GitHub Copilot

Add to .vscode/mcp.json in your workspace:

json
{  "servers": {    "qrz": {      "command": "uvx",      "args": ["qrz-mcp"]    }  }}
Gemini CLI

Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):

json
{  "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:

  • 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 6 tools without QRZ credentials:

bash
QRZ_MCP_MOCK=1 qrz-mcp

MCP Inspector

bash
qrz-mcp --transport streamable-http --port 8002

Then open the MCP Inspector at http://localhost:8002.

Development

bash
git clone https://github.com/qso-graph/qrz-mcp.gitcd qrz-mcpuv sync --group devuv run pytest

QRZ Subscription Tiers

FeatureFreeXML Data ($35.95/yr)
Callsign lookups/day100Unlimited
Fields returnedName + address onlyAll (grid, lat/lon, DXCC, class, QSL, image)
Logbook APINoYes
DXCC lookupNoYes

License

GPL-3.0-or-later

来源:README.md,提交 c6c5a99

工具

6

get_version_info

Get Version Info

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.

无需输入参数。

qrz_lookup

Qrz Lookup

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.

输入参数persona必填callsign必填

qrz_dxcc

Qrz Dxcc

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

输入参数query必填persona必填

qrz_logbook_status

Qrz Logbook Status

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

输入参数persona必填

qrz_download

Qrz Download

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.

输入参数bandmodepersona必填end_datestart_date

qrz_logbook_fetch

Qrz Logbook Fetch

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).

输入参数banddxccmodelimitpersona必填callsignend_datestart_datenewest_firstconfirmed_only

版本历史

12
  1. v0.6.2Oct 29, 2026
  2. v0.5.0Oct 26, 2026
  3. v0.4.4Oct 26, 2026
  4. v0.4.2Oct 26, 2026
  5. v0.4.1Oct 14, 2026
  6. v0.4.0Oct 12, 2026
  7. v0.3.9Oct 11, 2026
  8. v0.3.8Oct 7, 2026
  9. v0.3.7Oct 6, 2026
  10. v0.3.6Oct 4, 2026
  11. v0.3.5Sep 29, 2026
  12. v0.2.0Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分