Skip to main content

hamqth-mcp

PyPI MCP Registry

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
get_version_info 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 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

Metadata

Release files for hamqth-mcp 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hamqth-mcp 0.4.2
File Size Uploaded
hamqth_mcp-0.4.2.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hamqth-mcp 0.4.2
File Interpreter ABI Platform
hamqth_mcp-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / hamqth_mcp-0.4.2.tar.gz

Download URL hamqth_mcp-0.4.2.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5693d6157adcae21e5b855edd449cd695819e0b17f5ba452f5f7a45d37c69e65
BLAKE2b-256 checksum
How to use checksums
0cb77861f74a1c20cc8e18322587e9b14aeb347956787450e661e90100440f97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / hamqth_mcp-0.4.2-py3-none-any.whl

Download URL hamqth_mcp-0.4.2-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c6df7c382e1a924c1ad2723935f45d39e6ce91e08bb1eaf9de0f83303cfe6af
BLAKE2b-256 checksum
How to use checksums
f3acadebc1f4a70fa62b69802f3c46987fa24261320f0fd241049b571aa4cccc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page