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 分