MCP server for HamQTH.com — callsign lookup, DX spots, RBN, QSO verification
Project description
hamqth-mcp
MCP server for HamQTH.com — callsign lookup, DX cluster spots, Reverse Beacon Network, DXCC resolution, and more through any MCP-compatible AI assistant.
Part of the qso-graph project. Authenticated tools use qso-graph-auth for persona and credential management.
Install
pip install hamqth-mcp
Tools
| Tool | Auth | Description |
|---|---|---|
hamqth_lookup |
Yes | Callsign lookup (name, grid, DXCC, coordinates, QSL preferences) |
hamqth_dxcc |
No | Resolve DXCC entity from callsign or ADIF code |
hamqth_bio |
Yes | Fetch operator biography |
hamqth_activity |
Yes | Recent DX cluster, RBN, and logbook activity |
hamqth_dx_spots |
No | Live DX cluster spots — filter by band and/or callsign |
hamqth_rbn |
No | Reverse Beacon Network decodes — filter by band, mode, continent, callsign |
hamqth_verify_qso |
No | Verify a QSO via HamQTH SAVP protocol |
Quick Start
1. Create a free HamQTH account
Sign up at hamqth.com — it's free, no subscription required.
2. Set up credentials
hamqth-mcp uses adif-mcp personas for credential management:
# Install adif-mcp if you haven't
pip install adif-mcp
# Create a persona and add HamQTH credentials
adif-mcp persona create ki7mt --callsign KI7MT
adif-mcp persona provider ki7mt hamqth --username KI7MT
adif-mcp persona secret ki7mt hamqth
3. Configure your MCP client
hamqth-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": {
"hamqth": {
"command": "hamqth-mcp"
}
}
}
Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"hamqth": {
"command": "hamqth-mcp"
}
}
}
ChatGPT Desktop
{
"mcpServers": {
"hamqth": {
"command": "hamqth-mcp"
}
}
}
Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"hamqth": {
"command": "hamqth-mcp"
}
}
}
VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"hamqth": {
"command": "hamqth-mcp"
}
}
}
Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
{
"mcpServers": {
"hamqth": {
"command": "hamqth-mcp"
}
}
}
4. Ask questions
"Look up the callsign OK2CQR"
"What DXCC entity is VP8PJ?"
"Show me the biography for OK2CQR"
"What's the recent activity for KI7MT?"
"Show me DX spots for 3Y0K"
"What RBN decodes are there for 3Y0K on CW?"
"Show me 20m DX spots"
"Verify my QSO with OK2CQR on 20m on March 5"
Testing Without Credentials
The DXCC tool (hamqth_dxcc) works without any credentials — it uses a public endpoint.
For testing all tools without a HamQTH account:
HAMQTH_MCP_MOCK=1 hamqth-mcp
MCP Inspector
hamqth-mcp --transport streamable-http --port 8005
Then open the MCP Inspector at http://localhost:8005.
Development
git clone https://github.com/qso-graph/hamqth-mcp.git
cd hamqth-mcp
pip install -e .
License
GPL-3.0-or-later
Project details
Release history Release notifications | RSS feed
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 hamqth_mcp-0.4.0.tar.gz.
File metadata
- Download URL: hamqth_mcp-0.4.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cec412ed6314c7e237ff763ce5f6c41c8c876689391fb9ba7ba083aa18b3bde9
|
|
| MD5 |
32e7409cec16e489b5eecbedf9c97930
|
|
| BLAKE2b-256 |
cb95d4fef0c322e04ff51af0907d3482af656baaa5f20a8656bdc3a5b6fa91fa
|
Provenance
The following attestation bundles were made for hamqth_mcp-0.4.0.tar.gz:
Publisher:
publish.yml on qso-graph/hamqth-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hamqth_mcp-0.4.0.tar.gz -
Subject digest:
cec412ed6314c7e237ff763ce5f6c41c8c876689391fb9ba7ba083aa18b3bde9 - Sigstore transparency entry: 1093227285
- Sigstore integration time:
-
Permalink:
qso-graph/hamqth-mcp@ce88272a6ff631c67a1c885bcfa2df329a0cd466 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/qso-graph
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ce88272a6ff631c67a1c885bcfa2df329a0cd466 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hamqth_mcp-0.4.0-py3-none-any.whl.
File metadata
- Download URL: hamqth_mcp-0.4.0-py3-none-any.whl
- Upload date:
- Size: 11.2 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 |
a541476a8ff5c06cd24775091cd12c22eb79347841633077c7cf8efee399e364
|
|
| MD5 |
a41d8d5d3fbefb32259db8803cb99c2e
|
|
| BLAKE2b-256 |
05a73d984087fb9c2e5b05d6de5dd190a5b8f134872a62dacb38a1ad86b80110
|
Provenance
The following attestation bundles were made for hamqth_mcp-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on qso-graph/hamqth-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hamqth_mcp-0.4.0-py3-none-any.whl -
Subject digest:
a541476a8ff5c06cd24775091cd12c22eb79347841633077c7cf8efee399e364 - Sigstore transparency entry: 1093227287
- Sigstore integration time:
-
Permalink:
qso-graph/hamqth-mcp@ce88272a6ff631c67a1c885bcfa2df329a0cd466 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/qso-graph
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ce88272a6ff631c67a1c885bcfa2df329a0cd466 -
Trigger Event:
push
-
Statement type: