Skip to content

Overview

The documents of ITU-T study group meetings are published in the ITU-T Document Management System (DMS). Most of them are protected by the TIES access control and need an account.

itu-t-documents reads the metadata of every document type — contributions (C), temporary documents (TD), collective letters (COL) and reports (R) — keeps it in a local database, and downloads the documents on demand. It is a Python library, a command line tool and an MCP server for AI agents.

Three interfaces

Interface For
The command line working in a shell, scripting a study group
The Python API embedding the package in your own tool
The MCP server letting an AI agent answer the questions of a user

All three read the same local caches, so a document that was downloaded once is available to all of them without another login.

A first look

# The meetings of study group 12
itu-t-documents meetings --study-group 12

# The documents of one of them, into the local database
itu-t-documents sync --study-group 12 --meeting 260609

# What was handled in question 5
itu-t-documents documents --study-group 12 --question 5

# The document itself
itu-t-documents download --document T25-SG12-C-0192 --format MSW

The metadata is public; only the download needs a TIES account — or a copy of the file that is already in the cache.

What it knows

  • Every document type with its number, title, sources, questions and posting date.
  • The structure of the ITU-T — the study periods, the study groups of a period, the working groups, the questions under study and their rapporteurs. The structure changes from period to period, so it is read from the ITU-T and never hard coded; see the catalogue.
  • The access level of every document. Contributions and reports are TIES documents, temporary documents are internal to a study group, and collective letters sit on a public path. A download still needs a TIES account unless the file is already in the cache, because the package authenticates before it asks the DMS for the file.

The caches

Everything the package has seen stays on disk, so a second run needs no network and no account. The metadata store, the HTTP cache and the downloaded files live in ~/.cache/itu-t-documents; Getting started lists the files and shows how they fit together.

The documentation

Guide

  • Getting started — install the package, give it a TIES account, fetch the documents of a meeting, and what to do when something goes wrong.
  • The command line — every command and every option of itu-t-documents.
  • The Python API — the same things from Python: the API, the models, the catalogue, the metadata store, the file cache and the errors.
  • The MCP server — the tools for an AI agent and the questions they answer.
  • The catalogue of the ITU-T — the study periods, the study groups, the working groups and the questions under study.

Reference

  • API reference — the generated reference of every public class and function.
  • The ITU-T Document Management System — the URL layout, the numbering scheme and the authentication chain of the ITU-T, as they were reverse engineered from the live pages.

Development

  • Contributing — how to set the project up and what the quality gates are.
  • Releasing — the version scheme and how a release is cut.

About