hamqth-mcp
A HamQTH.com MCP server for amateur-radio lookups, live spot feeds, and QSO verification, usable from any MCP-compatible AI assistant.
Callsign lookup (
hamqth_lookup, requires persona auth): name, grid, DXCC, coordinates, and QSL preferencesDXCC resolution (
hamqth_dxcc, public): resolve an entity from a callsign or ADIF entity codeOperator biography (
hamqth_bio, requires auth): fetch a station's bio textActivity summary (
hamqth_activity, requires auth): recent DX cluster, RBN, and logbook activityLive DX spots (
hamqth_dx_spots, public): filter by band and/or callsign, up to 200 spotsRBN decodes (
hamqth_rbn, public): filter by band, mode, continent, skimmer continent, age, or callQSO verification (
hamqth_verify_qso, public): check a contact via the SAVP protocol using call/date/bandVersion attestation (
get_version_info): compare service and upstream API versions across deployments
Authenticated tools use qso-graph-auth personas, and HAMQTH_MCP_MOCK=1 allows credential-free testing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hamqth-mcp Look up the callsign OK2CQR"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
uvx hamqth-mcp # run it; nothing to installRelated MCP server: io.github.qso-graph/pota-mcp
Tools
Tool | Auth | Description |
| Yes | Callsign lookup (name, grid, DXCC, coordinates, QSL preferences) |
| No | Resolve DXCC entity from callsign or ADIF code |
| Yes | Fetch operator biography |
| Yes | Recent DX cluster, RBN, and logbook activity |
| No | Live DX cluster spots—filter by band and/or callsign |
| No | Reverse Beacon Network decodes—filter by band, mode, continent, callsign |
| No | Verify a QSO via HamQTH SAVP protocol |
| No | Service version + upstream HamQTH API version (fleet identity attestation) |
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 qso-graph-auth personas for credential management:
# Install qso-graph-auth if you haven't
uv tool install qso-graph-auth
# A persona (your callsign and the dates it covers), then HamQTH for it
qso-graph-auth persona add --name ki7mt --callsign KI7MT --start 2020-01-01
qso-graph-auth provider enable ki7mt hamqth
qso-graph-auth creds set ki7mt hamqth # asks for your username, then your password (hidden)All three steps are needed: without provider enable, the server reports that the persona has no hamqth ref.
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": "uvx",
"args": ["hamqth-mcp"]
}
}
}Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"hamqth": {
"command": "uvx",
"args": ["hamqth-mcp"]
}
}
}ChatGPT Desktop
{
"mcpServers": {
"hamqth": {
"command": "uvx",
"args": ["hamqth-mcp"]
}
}
}Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"hamqth": {
"command": "uvx",
"args": ["hamqth-mcp"]
}
}
}VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"hamqth": {
"command": "uvx",
"args": ["hamqth-mcp"]
}
}
}Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
{
"mcpServers": {
"hamqth": {
"command": "uvx",
"args": ["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-mcpMCP Inspector
hamqth-mcp --transport streamable-http --port 8005Then open the MCP Inspector at http://localhost:8005.
Development
git clone https://github.com/qso-graph/hamqth-mcp.git
cd hamqth-mcp
uv sync --group dev
uv run pytestKnown Quirks
Sessions: HamQTH's XML sessions expire after an hour. The server signs in again after 55 minutes, so a long-running session never sees an expired one.
License
GPL-3.0-or-later
Available Tools
8 toolsget_version_infoGet Version InfoARead-onlyIdempotent
Get hamqth-mcp service version and upstream HamQTH API version.
Returns the running PyPI version of hamqth-mcp and the HamQTH.com 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.
Inputs: no named parameters. Returns: object
hamqth_activityHamqth ActivityBRead-onlyIdempotent
Get recent DX cluster, RBN, and logbook activity for a callsign.
Inputs: persona (required), callsign (required). Returns: object
hamqth_bioHamqth BioCRead-onlyIdempotent
Fetch an operator's biography from HamQTH.
Inputs: persona (required), callsign (required). Returns: object
hamqth_dxccHamqth DxccBRead-onlyIdempotent
Resolve a DXCC entity from a callsign or ADIF entity code.
Public endpoint — no authentication required.
Inputs: query (required). Returns: object
hamqth_dx_spotsHamqth Dx SpotsARead-onlyIdempotent
Live DX cluster spots from HamQTH (public, no auth required).
Spots update every ~15 seconds. Max 200 spots per request.
Inputs: band, call, limit. Returns: object
hamqth_lookupHamqth LookupARead-onlyIdempotent
Look up a callsign on HamQTH (free, no subscription required).
Returns name, grid, DXCC, coordinates, QSL preferences, and more. Field availability depends on what the operator has published.
Inputs: persona (required), callsign (required). Returns: object
hamqth_rbnHamqth RbnBRead-onlyIdempotent
Reverse Beacon Network spots from HamQTH (public, no auth required).
Inputs: age, band, call, cont, +2 more. Returns: object
hamqth_verify_qsoHamqth Verify QsoARead-onlyIdempotent
Verify a QSO via HamQTH SAVP protocol (public, no auth required).
Checks if a QSO exists in HamQTH's database for both parties.
Inputs: band (required), date (required), mycall (required), hiscall (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes, but hamqth_activity overlaps with both hamqth_dx_spots and hamqth_rbn because it aggregates DX cluster and RBN data. Descriptions clarify per-callsign activity versus live feeds, so the ambiguity is moderate rather than severe.
Seven of eight tools use a consistent hamqth_ snake_case prefix. get_version_info breaks the prefix pattern and verb/noun style varies, but the names are still predictable and readable.
Eight tools are well-scoped for a read-only HamQTH lookup and spot service. Each tool corresponds to a meaningful API capability, with no evident padding.
The set covers lookup, bio, DXCC, spots, RBN, activity, QSO verification, and version info. For a read-only data service this provides a complete workflow without obvious dead ends.
Maintenance
Related MCP Connectors
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server for OnceAsk, the AI-native current-address layer for people and agents.
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for QRZ.com — callsign lookups, DXCC entity resolution, and logbook queries through any MCP-compatible AI assistant.6171 PyPI4GPL 3.0
- AlicenseAqualityAmaintenanceMCP server for Parks on the Air (POTA) providing live activator spots, park details, activator/hunter stats, and scheduled activations through any MCP-compatible AI assistant.1178 PyPI3GPL 3.0
- AlicenseBqualityAmaintenanceMCP server for Summits on the Air (SOTA) — live spots, activation alerts, summit info, and nearby summits through any MCP-compatible AI assistant.580 PyPI1GPL 3.0
- AlicenseAqualityAmaintenanceMCP server for ARRL Logbook of The World (LoTW) that enables querying confirmations, uploaded QSOs, DXCC credits, and user activity through any MCP-compatible AI assistant. Part of the qso-graph project, it is read-only and requires LoTW credentials for authenticated tools.675 PyPI1GPL 3.0