io.github.qso-graph/cq-zones-mcp
This server provides reference facts about CQ zones (CQ WAZ list, 2018 edition) through read-only tools, with no network or authentication required.
Look up a CQ zone by number (1–40), including its name, listed entities, subdivisions, boundaries, ADIF codes, and citation.
Find CQ zones by name, prefix, area wording, or attributes, with an optional result limit.
Determine which CQ zones cover an ADIF DXCC entity or a specific subdivision, including CQ's own boundary wording where an entity is split.
Check whether a CQ zone was valid on a given date (all listed zones are treated as valid because CQ gives no validity window).
Retrieve source information: owner, edition, terms, source file URL, and SHA-256.
Retrieve server version and the CQ list edition being served.
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., "@io.github.qso-graph/cq-zones-mcp Which CQ zone is Quebec in?"
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.
cq-zones-mcp
Source: CQ's WAZ Zone Definitions ("Updated and correct as of April 1, 2018"), © CQ Communications, Inc. and the World Wide Radio Operators Foundation (WWROF). The 40 CQ zones are CQ's: this package serves facts from CQ's list, each citing the zone it comes from, and links to CQ's page rather than copying it. Our GPL-3.0-or-later license covers our code, not CQ's data.
Checked against: AD1C's country files (Jim Reisert, AD1C), ADIF 3.1.8's subdivision zones, and ARRL's DXCC list. The tests fetch AD1C's and ARRL's files from their sites to validate the facts; neither is included here. where they differ, the owner's list wins (see docs/TRANSCRIPTION.md).
MCP server for CQ zones as CQ publishes them: the 40 zones of CQ's WAZ Zone Definitions (2018-04-01), the zones used by CQ's Worked All Zones award and the CQ World Wide DX Contest. Each zone's entities and subdivisions are given in ADIF's own DXCC and subdivision codes, with CQ's own wording where it splits an area.
Part of the qso-graph project. No network, no authentication: the facts from the owner's list ship with the package, and every answer names its source.
Install
uvx cq-zones-mcp # run it; nothing to installRelated MCP server: qrz-mcp
Tools
Tool | Description | Key Parameters |
| One zone: its name and every entity, subdivision and boundary CQ lists, with the citation | code |
| Which zones cover an ADIF DXCC entity, or one of its subdivisions | dxcc, subdivision |
| Find zones by name, prefix or wording | text, limit |
| Whether a zone was valid on a date (CQ zones have no validity window) | code, on_date |
| Owner, edition, terms, and the owner's file's URL and SHA-256 | — |
| Service version + the owner's edition served (fleet identity attestation) | — |
Quick Start
No credentials needed—just install and configure your MCP client.
Configure your MCP client
cq-zones-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": {
"cq-zones": {
"command": "uvx",
"args": ["cq-zones-mcp"]
}
}
}Claude Code
Add to .claude/settings.json:
{
"mcpServers": {
"cq-zones": {
"command": "uvx",
"args": ["cq-zones-mcp"]
}
}
}ChatGPT Desktop
{
"mcpServers": {
"cq-zones": {
"command": "uvx",
"args": ["cq-zones-mcp"]
}
}
}Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"cq-zones": {
"command": "uvx",
"args": ["cq-zones-mcp"]
}
}
}VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"cq-zones": {
"command": "uvx",
"args": ["cq-zones-mcp"]
}
}
}Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
{
"mcpServers": {
"cq-zones": {
"command": "uvx",
"args": ["cq-zones-mcp"]
}
}
}Ask questions
"Which CQ zone is Quebec in?"
"What does CQ zone 23 cover?"
"Which CQ zones does Canada span?"
MCP Inspector
cq-zones-mcp --transport streamable-http --port 8016Then open the MCP Inspector at http://localhost:8016.
Development
git clone https://github.com/qso-graph/cq-zones-mcp.git
cd cq-zones-mcp
uv sync --group dev
uv run pytestscripts/fetch_published.py fetches the owner's documents into published/ (not committed) and checks their SHA-256 hashes; uv run pytest --live runs the tests that need them. scripts/build.py regenerates derived/ and load.sql, a PostgreSQL load for QSO Graph's reference data (load QG ADIF's adif schema first).
License
cq-zones-mcp's own code is GPL-3.0-or-later. See LICENSE. The data it serves is the owner's, credited at the top of this page: our license doesn't cover it, and we claim no rights in it. The owner's document itself is not included; data/SOURCE.json records its URL and SHA-256 so anyone can check the facts against it. Files we built from the facts (data/derived/) are ours and labelled as ours. How the owner's text was read is recorded in docs/TRANSCRIPTION.md. See NOTICE.
Available Tools
6 toolscq_zones_codes_forCq Zones Codes ForARead-onlyIdempotent
Which CQ zones cover an ADIF DXCC entity, or one of its subdivisions.
Where CQ splits an entity (VE2 Quebec at the 50th parallel), each zone is returned with CQ's boundary wording.
Inputs: dxcc (required), subdivision. Returns: object
cq_zones_lookupCq Zones LookupARead-onlyIdempotent
One CQ zone: its name and every entity, subdivision and boundary CQ lists for it, with ADIF codes and the citation.
Inputs: code (required). Returns: object
cq_zones_searchCq Zones SearchARead-onlyIdempotent
Find codes whose name, prefixes, area wording or attributes contain every word of text.
Inputs: text (required), limit. Returns: object
cq_zones_source_infoCq Zones Source InfoARead-onlyIdempotent
Who owns this list, which edition is served, its terms, and the owner's files' URLs and SHA-256s.
Inputs: no named parameters. Returns: object
cq_zones_valid_onCq Zones Valid OnARead-onlyIdempotent
Whether a CQ zone was valid on a date.
CQ's list gives no validity window, so every zone it lists is valid; the tool exists so every owner-list server answers the same questions.
Inputs: code (required), on_date (required). Returns: object
get_version_infoGet Version InfoARead-onlyIdempotent
Get cq-zones-mcp's version and the edition of CQ's list it serves.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Lookup, search, codes_for, and valid_on are clearly distinct operations targeting different queries. The only mild overlap is between get_version_info and cq_zones_source_info, since both return server/list metadata, though their descriptions distinguish version from ownership/terms.
Five of six tools use a consistent cq_zones_ prefix with a verb/noun tail (lookup, search, codes_for, valid_on, source_info). get_version_info breaks the pattern by using a bare get_ verb and no cq_zones_ prefix, a minor but visible deviation.
Six tools is well-scoped for a focused reference-data server. Each tool serves a distinct query need without excess, comfortably within the ideal 3-15 range.
The domain is a static CQ zone reference list, so mutation tools are unnecessary. Lookup by zone, search by text, reverse lookup by entity/subdivision, date validity, and source/version metadata cover the read surface fully with no dead ends.
Maintenance
Related MCP Connectors
Ziplore: US ZIP to county, FIPS, time zone, Census demographics; radius and city ZIPs. Free, no key.
Ziplore: US ZIP to county, FIPS, time zone, Census demographics; radius and city ZIPs. Free, no key.
Ziplore: US ZIP to county, FIPS, time zone, Census demographics; radius and city ZIPs. Free, no key.
Free, keyless postal/ZIP code lookup: place name(s), state/region, and coordinates.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables exploration of geographical data including countries, cities, states/provinces, and regions through a SQLite database. Supports searches by name, location coordinates, currency, and regional groupings with comprehensive statistical queries.157-
- AlicenseAqualityAmaintenanceMCP server for QRZ.com — callsign lookups, DXCC entity resolution, and logbook queries through any MCP-compatible AI assistant.6269 PyPI4GPL 3.0
- AlicenseAqualityAmaintenanceProvides safe, typed access to Amateur Radio logging data with ADIF validation, parsing, spec search, and geospatial utilities for Maidenhead locators.8522 PyPI5GPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables searching 13M+ GeoNames places by name, country, feature class, or bounding box, retrieving full place records, walking administrative hierarchies up and down, reverse geocoding coordinates, finding postal codes, and looking up country facts and reference data. Runs over STDIO or Streamable HTTP with caching, per-account rate limiting, and typed failure reasons.135 npm2Apache 2.0