Lotw Mcp

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

ARRL Logbook of The World MCP server. QSO query, QSL status, DXCC credit tracking.

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

概览

AI 生成的概览

面向 ARRL Logbook of The World 的只读 MCP 服务器,让助手查询 QSO、QSL 确认、DXCC 积分和呼号活跃情况。

可以做什么
  • 按波段、模式、呼号和日期筛选查询已确认的 QSL 记录
  • 查询全部已上传的 QSO,包括已确认和未确认
  • 查询 LoTW 确认记录中的 DXCC 奖项积分
  • 以原始 ADIF 文本下载完整日志,可只取已确认的 QSL
  • 查询某呼号是否使用 LoTW 以及最近上传时间
  • 报告服务版本与上游 LoTW 架构版本
适用场景
适合在 LoTW 上记录通联的业余无线电爱好者,让助手回答关于确认数量、未确认 QSO、DXCC 积分进度或某台站是否活跃于 LoTW 的问题。
运行要求
通过 uvx 在本地运行 Python 包(需要 uv)。需要凭据的工具要求先安装 qso-graph-auth,创建含呼号和日期范围的 persona,启用 lotw 提供方,并在其中保存 LoTW 用户名和密码。呼号活跃查询无需凭据。需要访问 LoTW 的网络连接。
安装前请注意
通过 qso-graph-auth 保存 LoTW 用户名和密码,应将该存储视为敏感信息。设计上为只读,不支持上传。大型查询可能耗时 30 至 60 秒。呼号活跃查询使用本地缓存的公开 CSV,每周刷新,结果可能滞后。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

lotw-mcp

[PyPI] [MCP Registry]

MCP server for ARRL Logbook of The World (LoTW) — query confirmations, uploaded QSOs, DXCC credits, and user activity through any MCP-compatible AI assistant.

Part of the qso-graph project. Read-only — uploads require TQSL digital signatures and are out of scope.

Install

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

Tools

ToolAuthDescription
lotw_confirmationsYesQuery confirmed QSLs with band/mode/call/date filters
lotw_qsosYesQuery all uploaded QSOs (confirmed and unconfirmed)
lotw_dxcc_creditsYesDXCC award credits from LoTW confirmations
lotw_downloadYesDownload QSOs as ADIF file
lotw_user_activityNoCheck if a callsign uses LoTW and when they last uploaded
get_version_infoNoService version + upstream LoTW schema version (fleet identity attestation)

Quick Start

1. Set up credentials

lotw-mcp uses qso-graph-auth personas for credential management:

bash
# Install qso-graph-auth if you haven'tuv tool install qso-graph-auth
# A persona (your callsign and the dates it covers), then LoTW for itqso-graph-auth persona add --name ki7mt --callsign KI7MT --start 2020-01-01qso-graph-auth provider enable ki7mt lotwqso-graph-auth creds set ki7mt lotw      # asks for your username, then your password (hidden)

All three steps are needed: without provider enable, the server reports that the persona has no lotw ref.

Note: The LoTW login is usually your callsign but not always. Pre-Sept 2019 accounts may require lowercase passwords. Avoid special characters in passwords.

2. Configure your MCP client

Claude Desktop

Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):

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

Add to .claude/settings.json:

json
{  "mcpServers": {    "lotw": {      "command": "uvx",      "args": ["lotw-mcp"]    }  }}
ChatGPT Desktop
json
{  "mcpServers": {    "lotw": {      "command": "uvx",      "args": ["lotw-mcp"]    }  }}
Cursor

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

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

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

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

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

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

3. Ask questions

"How many LoTW confirmations did I get this month?"

"Show me all unconfirmed 20m FT8 QSOs uploaded to LoTW in the last 90 days"

"What DXCC credits do I have on 40m CW?"

"Does JA1ABC use LoTW? When did they last upload?"

Public Tool

lotw_user_activity works without any credentials. It uses the public LoTW user activity CSV, cached locally for 7 days.

Testing Without Credentials

Set the mock environment variable:

bash
LOTW_MCP_MOCK=1 lotw-mcp

Performance Notes

LoTW can be slow (30-60s for large queries). lotw-mcp uses 120s timeouts. Use date filters (since, start_date) to limit result sets.

MCP Inspector

bash
lotw-mcp --transport streamable-http --port 8004

Development

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

License

GPL-3.0-or-later

来源:README.md,提交 c22d459

工具

6

get_version_info

Get Version Info

Get lotw-mcp service version and upstream LoTW schema version. Returns the running PyPI version of lotw-mcp and the ARRL LoTW ADIF/CSV export schema 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.

无需输入参数。

lotw_confirmations

Lotw Confirmations

Query confirmed QSL records from LoTW.

输入参数banddxccmodesincedetailpersona必填callsign

lotw_qsos

Lotw Qsos

Query all uploaded QSOs from LoTW (confirmed and unconfirmed).

输入参数bandmodesincepersona必填end_datestart_date

lotw_dxcc_credits

Lotw Dxcc Credits

Query DXCC award credits from LoTW confirmations.

输入参数entitypersona必填

lotw_download

Lotw Download

Download your complete LoTW log as raw ADIF text. Returns the .adi file content — save to disk for import into your logger. Set qsl_only=True for confirmed QSLs only. Omit 'since' for full history. Warning: large logs may take 30-60 seconds (LoTW is slow).

输入参数bandmodesincepersona必填qsl_only

lotw_user_activity

Lotw User Activity

Check if a callsign uses LoTW and when they last uploaded. Public endpoint — no authentication required. Uses a locally cached copy of the LoTW user activity CSV (refreshed weekly).

输入参数callsign必填

版本历史

11
  1. v0.6.2最新Oct 29, 2026
  2. v0.5.0Oct 26, 2026
  3. v0.4.3Oct 26, 2026
  4. v0.4.1Oct 26, 2026
  5. v0.4.0Oct 12, 2026
  6. v0.3.8Oct 11, 2026
  7. v0.3.7Oct 7, 2026
  8. v0.3.6Oct 6, 2026
  9. v0.3.5Oct 4, 2026
  10. v0.3.4Sep 29, 2026
  11. v0.2.0Sep 16, 2026

评分

已满足适用检查项的 90%

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

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

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

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