MCP server for ARRL Logbook of The World — QSO query, QSL status, DXCC credit
Project description
lotw-mcp
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
pip install lotw-mcp
Tools
| Tool | Auth | Description |
|---|---|---|
lotw_confirmations |
Yes | Query confirmed QSLs with band/mode/call/date filters |
lotw_qsos |
Yes | Query all uploaded QSOs (confirmed and unconfirmed) |
lotw_dxcc_credits |
Yes | DXCC award credits from LoTW confirmations |
lotw_user_activity |
No | Check if a callsign uses LoTW and when they last uploaded |
Quick Start
1. Set up credentials
lotw-mcp uses adif-mcp personas for credential management:
pip install adif-mcp
adif-mcp persona create ki7mt --callsign KI7MT
adif-mcp persona provider ki7mt lotw --username KI7MT
adif-mcp persona secret ki7mt lotw
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):
{
"mcpServers": {
"lotw": {
"command": "lotw-mcp"
}
}
}
Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"lotw": {
"command": "lotw-mcp"
}
}
}
ChatGPT Desktop
{
"mcpServers": {
"lotw": {
"command": "lotw-mcp"
}
}
}
Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"lotw": {
"command": "lotw-mcp"
}
}
}
VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"lotw": {
"command": "lotw-mcp"
}
}
}
Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
{
"mcpServers": {
"lotw": {
"command": "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:
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
lotw-mcp --transport streamable-http --port 8004
Development
git clone https://github.com/qso-graph/lotw-mcp.git
cd lotw-mcp
pip install -e .
License
GPL-3.0-or-later
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lotw_mcp-0.1.2.tar.gz.
File metadata
- Download URL: lotw_mcp-0.1.2.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16e0dc70392842b43c1c457e2434b5991c19bc99efeaf6fdceaeb63310355436
|
|
| MD5 |
03e5fdfc3e985f83aa1b7a2787835056
|
|
| BLAKE2b-256 |
fe49b9d32c75a77992e42afb00bfc2bc7557c45b2a04623cf8aa127171708c08
|
Provenance
The following attestation bundles were made for lotw_mcp-0.1.2.tar.gz:
Publisher:
publish.yml on qso-graph/lotw-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lotw_mcp-0.1.2.tar.gz -
Subject digest:
16e0dc70392842b43c1c457e2434b5991c19bc99efeaf6fdceaeb63310355436 - Sigstore transparency entry: 1040376020
- Sigstore integration time:
-
Permalink:
qso-graph/lotw-mcp@7f15928a8df49d960dbf055a6958bdb1bb00d769 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/qso-graph
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7f15928a8df49d960dbf055a6958bdb1bb00d769 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lotw_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lotw_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00bf69416ffb14b9e0621d743bb6a9f0437e6695f237491c5029035054d928d6
|
|
| MD5 |
a3cc2fb99e2045430d3f3ccc0edf23a4
|
|
| BLAKE2b-256 |
74452534b93454952d06479b7d85bc31efe6fd01da1bf20c249810e3c681035c
|
Provenance
The following attestation bundles were made for lotw_mcp-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on qso-graph/lotw-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lotw_mcp-0.1.2-py3-none-any.whl -
Subject digest:
00bf69416ffb14b9e0621d743bb6a9f0437e6695f237491c5029035054d928d6 - Sigstore transparency entry: 1040376123
- Sigstore integration time:
-
Permalink:
qso-graph/lotw-mcp@7f15928a8df49d960dbf055a6958bdb1bb00d769 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/qso-graph
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7f15928a8df49d960dbf055a6958bdb1bb00d769 -
Trigger Event:
push
-
Statement type: