
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
概览
提供 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 密钥或环境变量;分区数据随包提供。
安装
在 SourceWeft 中
- 打开 控制台中的 Cq Zones Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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 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
Tools
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):
Claude Code
Add to .claude/settings.json:
ChatGPT Desktop
Cursor
Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
VS Code / GitHub Copilot
Add to .vscode/mcp.json in your workspace:
Gemini CLI
Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):
Ask questions
"Which CQ zone is Quebec in?"
"What does CQ zone 23 cover?"
"Which CQ zones does Canada span?"
MCP Inspector
Then open the MCP Inspector at http://localhost:8016.
Development
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- v0.1.0最新Oct 7, 2026
