Skip to main content

MCP server for HamQTH.com — callsign lookup, DX spots, RBN, QSO verification

Project description

hamqth-mcp

MCP server for HamQTH.com — free callsign lookup, DXCC resolution, biography, and recent activity through any MCP-compatible AI assistant.

Part of the qso-graph project. Depends on adif-mcp 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

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?"

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hamqth_mcp-0.2.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hamqth_mcp-0.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file hamqth_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: hamqth_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hamqth_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5a5cf7c5fe3fb56eea84eafd5892e3e07c86149ef0a07b77dc4a4a8d9a679b46
MD5 0a02a9623419df0f437b776ad09eb0d7
BLAKE2b-256 401dd9c5167d97062a5bf9133900298fdfa35ceeaa6480c50a392fd9e5da2d30

See more details on using hashes here.

Provenance

The following attestation bundles were made for hamqth_mcp-0.2.0.tar.gz:

Publisher: publish.yml on qso-graph/hamqth-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hamqth_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hamqth_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hamqth_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bee6d1579fdf1bd10261d7dd80f6cc3256816a3f1a21c974804a12f95e9cdc1
MD5 b8ef7502b521a2473922eecc9c34b626
BLAKE2b-256 b9bd338283ac3c83bfbc3d440b5495ed668e710a650aaf50ab7653ea52a7ca17

See more details on using hashes here.

Provenance

The following attestation bundles were made for hamqth_mcp-0.2.0-py3-none-any.whl:

Publisher: publish.yml on qso-graph/hamqth-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page