Itu Zones Mcp

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

ITU zones as the IARU publishes them for amateur use, in ADIF's DXCC and subdivision codes

概览

AI 生成的概览

让助手查询 IARU 业余无线电用途的 ITU 分区、其 ADIF DXCC 与分区代码,以及某实体覆盖哪些分区。

功能
提供 IARU 为业余无线电公布的 90 个 ITU 分区,每个分区以 ADIF 的 DXCC 与分区代码给出前缀、分区和边界表述。工具包括:itu_zones_lookup 查询单个分区,itu_zones_codes_for 查询覆盖某 DXCC 实体或其分区的分区,itu_zones_search 按前缀或措辞检索,itu_zones_valid_on 判断日期有效性,itu_zones_source_info 返回所有者、版本、条款与文件哈希。回答会注明来源。
适用场景
适合处理需要识别 ITU 分区的业余无线电奖项、比赛或日志数据,或把 ADIF DXCC 实体与分区映射到分区时使用。它是只读参考查询,不是日志或通联工具。
运行要求
通过 stdio 在本地运行,通常用 uvx 启动,因此需要带 uv/uvx 的 Python 环境。无需网络、账号、API 密钥或环境变量;分区数据随包提供。
安装前请注意
仅做只读查询,不涉及凭据、付款或数据写入。该包的 GPL-3.0 许可只覆盖其代码,不覆盖 IARU 的数据;README 说明当来源不一致时以所有者列表为准。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Itu Zones Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

itu-zones-mcp

[PyPI] [MCP Registry]

Source: the IARU's HF Managers Handbook, chapter 9.8, "Definition of ITU-Zones when used by radio amateurs" (IARU Region 1, v8.2; the chapter's pages are dated November 2000). The zone border-lines for amateur use are kept there under IARU Region 1 recommendation REC/99/LH/C4.2; the list was drafted by G3HTA from the ITU's CIRAF zones and approved by all three IARU regions. The 90 ITU zones are the IARU's: this package serves facts from that chapter, each citing its page and zone, and links to the handbook rather than copying it. Our GPL-3.0 licence covers our code, not the IARU'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 ITU zones as the IARU publishes them for amateur use: the 90 zones of chapter 9.8, "Definition of ITU-Zones when used by radio amateurs", of the IARU Region 1 HF Managers Handbook (v8.2), used by the IARU HF Championship and ITU-zone awards. Each zone's prefixes are given in ADIF's own DXCC and subdivision codes, with the IARU's own wording where it splits an area by a line.

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 itu-zones-mcp            # run it; nothing to install

Tools

ToolDescriptionKey Parameters
itu_zones_lookupOne zone: every prefix, subdivision and boundary the IARU lists, with the citationcode
itu_zones_codes_forWhich zones cover an ADIF DXCC entity, or one of its subdivisionsdxcc, subdivision
itu_zones_searchFind zones by prefix or wordingtext, limit
itu_zones_valid_onWhether a zone was valid on a date (ITU zones have no validity window)code, on_date
itu_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

itu-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": {    "itu-zones": {      "command": "uvx",      "args": ["itu-zones-mcp"]    }  }}
Claude Code

Add to .claude/settings.json:

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

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

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

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

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

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

json
{  "mcpServers": {    "itu-zones": {      "command": "uvx",      "args": ["itu-zones-mcp"]    }  }}

Ask questions

"Which ITU zone is Arizona in?"

"What does ITU zone 75 cover?"

"Which ITU zones does Antarctica span?"

MCP Inspector

bash
itu-zones-mcp --transport streamable-http --port 8017

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

Development

bash
git clone https://github.com/qso-graph/itu-zones-mcp.gitcd itu-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

itu-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,提交 4c59d69

工具

0
工具元数据尚未被收录。

版本历史

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