Cq Zones Mcp

io.github.qso-graphv0.1.0更新於 Oct 7, 2026

CQ zones as CQ publishes them (WAZ Zone Definitions), in ADIF's DXCC and subdivision codes

已驗證STDIO僅桌面Data & AnalyticsKnowledge & Memory

概覽

AI 產生的概覽

提供 CQ 分區參考資料,讓助理查詢 CQ WAZ 分區、其 DXCC 實體與細分區域,以及某實體涵蓋哪些分區。

功能
對 CQ 的 WAZ Zone Definitions(2018-04-01)提供唯讀查詢:40 個 CQ 分區及其名稱、實體、細分區域與邊界,皆採用 ADIF 的 DXCC 與細分代碼。工具包括 cq_zones_lookup(查詢單一分區)、cq_zones_codes_for(查詢涵蓋某 DXCC 實體或細分區域的分區)、cq_zones_search(依名稱、前綴或措辭搜尋)、cq_zones_valid_on(日期有效性),以及來源與版本資訊。每個回答都會註明其來源分區。
適用情境
適合涉及 CQ 分區的業餘無線電工作,例如 Worked All Zones 獎項或 CQ World Wide DX Contest,也適合將 DXCC 實體與細分區域對應到分區。它是一個小型、自成一體的參考伺服器,而非通用工具。
執行需求
以 stdio 程序在本機執行,通常用 uvx cq-zones-mcp 啟動,因此需要 Python 執行環境與 uv/uvx。不需要網路存取、身分驗證、API 金鑰或環境變數;分區資料隨套件提供。
安裝前請注意
僅為唯讀參考查詢,不涉及憑證、付款、錢包或寫入操作。分區資料屬於 CQ,本套件的 GPL-3.0 授權僅涵蓋其自身程式碼,不涵蓋 CQ 的資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cq Zones Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

cq-zones-mcp

[PyPI] [MCP Registry]

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 licence covers our code, not CQ's data.

Checked against: AD1C's country files (Jim Reisert, AD1C), ADIF 3.1.7'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

bash
uvx cq-zones-mcp            # run it; nothing to install

Tools

ToolDescriptionKey Parameters
cq_zones_lookupOne zone: its name and every entity, subdivision and boundary CQ lists, with the citationcode
cq_zones_codes_forWhich zones cover an ADIF DXCC entity, or one of its subdivisionsdxcc, subdivision
cq_zones_searchFind zones by name, prefix or wordingtext, limit
cq_zones_valid_onWhether a zone was valid on a date (CQ zones have no validity window)code, on_date
cq_zones_source_infoOwner, edition, terms, and the owner's file's URL and SHA-256—
get_version_infoService 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):

json
{  "mcpServers": {    "cq-zones": {      "command": "uvx",      "args": ["cq-zones-mcp"]    }  }}
Claude Code

Add to .claude/settings.json:

json
{  "mcpServers": {    "cq-zones": {      "command": "uvx",      "args": ["cq-zones-mcp"]    }  }}
ChatGPT Desktop
json
{  "mcpServers": {    "cq-zones": {      "command": "uvx",      "args": ["cq-zones-mcp"]    }  }}
Cursor

Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):

json
{  "mcpServers": {    "cq-zones": {      "command": "uvx",      "args": ["cq-zones-mcp"]    }  }}
VS Code / GitHub Copilot

Add to .vscode/mcp.json in your workspace:

json
{  "servers": {    "cq-zones": {      "command": "uvx",      "args": ["cq-zones-mcp"]    }  }}
Gemini CLI

Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):

json
{  "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

bash
cq-zones-mcp --transport streamable-http --port 8016

Then open the MCP Inspector at http://localhost:8016.

Development

bash
git clone https://github.com/qso-graph/cq-zones-mcp.gitcd cq-zones-mcpuv sync --group devuv run pytest

scripts/fetch_published.py fetches the owner's document(s) into published/ (not committed) and checks their SHA-256s; 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 licence 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.

來源:README.md,提交 f7acfa9

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.0最新Oct 7, 2026