itu-t-documents
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., "@itu-t-documents search ITU-T SG12 documents on Question 5 from the June 2026 meeting"
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.
ITU-T Documents
Download and query ITU-T meeting documents (contributions, temporary documents, collective letters, reports) via API, CLI and MCP.
The documents of the ITU-T study groups live in the ITU-T Document Management System (DMS). Their metadata is public — the number, the title, the sources, the questions — but most of the files behind it are protected by the TIES access control and need an account.
itu-t-documents reads that metadata, keeps it in a local SQLite database and
downloads the documents on demand. Everything it has seen stays on disk, so
the second question about a meeting is answered without a request to
www.itu.int and without a login.
What it does
Every document type — contributions (
C), temporary documents (TD), collective letters (COL) and reports (R), with their number, title, sources, questions and posting date.The structure of the ITU-T — the study periods, the study groups, 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.
Complete listings — a listing is read per sub-type and compared with the number of documents the ITU-T reports, so a truncated listing is never stored as if it were complete.
TIES authentication — the SAML handshake against
auth.itu.intandlogin.itu.intis performed automatically, once per session.Local caches — the raw HTTP responses are cached with hishel, the metadata in a SQLite database and the downloaded documents on disk.
Three interfaces — one command line tool, one Python API and one MCP server for AI agents, all on top of the same caches.
Related MCP server: 3GPP Evidence Graph
Install
The package needs Python 3.13 or newer. The free-threaded build of CPython 3.14 is supported as well.
From a clone:
git clone https://github.com/jr2804/itu-t-documents.git
cd itu-t-documents
mise dev # syncs the environment with every extra and group
uv run itu-t-documents --helpmise dev runs uv sync -U --dev --all-extras --all-groups; without
mise the plain uv sync --dev --all-extras --all-groups does the same. From a clone, every command in this README is
run with uv run in front of it.
Every push to main is a release: the workflow tags the commit with the next
CalVer version, builds the artifacts and publishes them
to PyPI as itu-t-documents. The first release is cut by the next push to
main, and from then on the published version installs with:
uv tool install itu-t-documentsQuick start
List the meetings of a study group — no account needed:
itu-t-documents meetings --study-group 12270119 Geneva, 19 January - 27 January 2027
261015 E-Meeting, 15 October 2026
260609 Geneva, 09 June - 17 June 2026
250909 Geneva, 09 September - 18 September 2025
250325 E-Meeting, 25 March 2025
250114 Geneva, 14 January - 23 January 2025Fetch the documents of one of them into the local database:
itu-t-documents sync --study-group 12 --meeting 260609260609: 276 documents
276 documents stored in /home/you/.cache/itu-t-documents/metadata.dbSearch what was stored — this never touches the network:
itu-t-documents documents --study-group 12 --question 5 --limit 3T25-SG12-260609-TD-GEN-0467 TD Q7,6,5,4,10 Executive Summary of the Working Party 1/12 Meeting Chair WP1/12
T25-SG12-260609-TD-GEN-0466 TD Q7,6,5,4,10 Draft agenda for WP1/12: Terminals and multimedia subjective Chair WP1/12
T25-SG12-260609-TD-GEN-0433 TD Q5 Status report of Question 5/12: Telephonometric methodologie Rapporteur Q5/12Download a document. This is the one step that needs a TIES account:
itu-t-documents download --document T25-SG12-COL-0001 --format MSW --language FThe file is written into the file cache and its path is printed. Add
--output-file ~/report.docx to write it somewhere else.
How it works
flowchart TD
PKG["itu-t-documents<br/>command line · Python API · MCP server"]
HTTP["HTTP client<br/>hishel response cache"]
PARSE["Scrapers<br/>lxml"]
META[("Metadata store<br/>metadata.db")]
FILES[("File cache<br/>files/")]
DMS["ITU-T DMS<br/>www.itu.int"]
TIES["TIES login<br/>auth.itu.int / login.itu.int"]
PKG -->|"requests"| HTTP
HTTP <-->|"listing, detail page"| DMS
HTTP -->|"parses"| PARSE
PARSE -->|"metadata"| META
META -->|"answers"| PKG
PKG -->|"downloads"| TIES
TIES -->|"session cookie"| DMS
DMS -->|"document file"| FILES
FILES -->|"served from disk"| PKG
classDef face fill:#f2f4f7,stroke:#5b6472,color:#1f2430
classDef local fill:#fdece2,stroke:#c2410c,color:#4a1d05
classDef ties fill:#e6f4ea,stroke:#2f7a45,color:#12331f
classDef remote fill:#e8eef7,stroke:#3f6fa8,color:#12263f
class PKG face
class HTTP,PARSE,META,FILES local
class TIES ties
class DMS remoteFour facts make the package behave the way it does:
Only the download needs an account. The meetings, the questions, the structure of a study group and the metadata of every document are public.
The HTTP cache follows the rules of RFC 9111. It honours the caching headers of the ITU-T, so a page is fetched again when the site says it changed.
A listing is never stored half. The number of documents the ITU-T reports is compared with the number that was parsed; an incomplete listing is refused instead of being stored silently.
The caches do not expire. A document that was downloaded once is served from the disk, and a question about a meeting that was synchronised is answered from the database.
The URL layout, the numbering scheme and the authentication chain of the DMS are written up in the reference.
The three interfaces
Command line
Command | What it does |
| print a short introduction to the package |
| list the study periods the ITU-T knows |
| list the study groups of a period |
| the plenary, the working groups, the questions and the other groups of a study group |
| search the working groups, the questions and the other groups |
| list the meetings of a study group |
| list the questions under study, with their working group and their rapporteurs |
| fetch the documents of a meeting into the local database |
| search the documents in the local database |
| download a document |
| check whether the TIES credentials are configured and usable |
| run the MCP server over stdio |
The options:
Option | Commands | Meaning | Default |
|
| the study group, e.g. |
|
|
| the study period, e.g. | the current period, |
|
| the study period to search in, e.g. | every period |
|
| a meeting, given by its DMS code, e.g. | every meeting |
|
| the document type to fetch: |
|
|
| the document type to search for: | every type |
|
| a question number, e.g. | every question |
|
| a submitting organisation; the match is partial | every source |
|
| the maximum number of results | no limit |
|
| the text to look for, e.g. | required |
|
| the DMS identifier | required |
|
|
|
|
|
|
|
|
|
| a path to write the document to | the file cache |
The study group, the study period, the meeting and the output file can also be set in the environment:
export ITU_T_DOCUMENTS_STUDY_GROUP=12
export ITU_T_DOCUMENTS_STUDY_PERIOD=2025-2028
export ITU_T_DOCUMENTS_MEETING=261015
export ITU_T_DOCUMENTS_OUTPUT_FILE=~/Documents/ituEvery command and every option is documented in the guide to the command line.
Python API
from itu_t_documents import DocType, ItuDocuments, MeetingId, StudyPeriod
with ItuDocuments() as api:
period = StudyPeriod.from_year(2025)
# Fetch the documents of a meeting and store them locally
api.sync_meeting(12, MeetingId.from_code("260609"), period, (DocType.CONTRIBUTION, DocType.TEMPORARY_DOCUMENT))
# All temporary documents of Q5/12
for document in api.documents_for_question(study_group=12, question=5, doc_type=DocType.TEMPORARY_DOCUMENT):
print(document.document_id, document.title)
# The most prolific sources of the last three meetings
for source in api.top_sources(study_group=12, meetings=("270119", "261015", "260609")):
print(source.count, source.source)The structure of the ITU-T lives in its own object:
from itu_t_documents import ItuCatalogue, StudyPeriod
with ItuCatalogue() as catalogue:
period = StudyPeriod.from_year(2025)
[group.code for group in catalogue.study_groups(period)]
# ['SG02', 'SG03', 'SG05', 'SG11', 'SG12', 'SG13', 'SG15', 'SG17', 'SG20', 'SG21']
structure = catalogue.structure(12, period)
structure.question(5).title
# 'Telephonometric methodologies for handset and headset terminals Continuation of Q5/12'
structure.question(99)
# UnknownEntityError: SG12 has no question Q99/12See the guide to the Python API for the models, the metadata store, the file cache and the errors.
MCP server
itu-t-documents mcpThe server speaks the Model Context Protocol over stdio. It opens no port and holds no state of its own — everything it knows is in the local database of the package.
Tool | Answers |
| "When does SG12 meet?" |
| "Which questions are under study?" |
| "Show me all TDs of Q5/12 at meeting XYZ" |
| "Which contributions were made by company XYZ in study group 12?" |
| "Which source submitted the most documents (TD + C) to the last three meetings?" |
| "Show me the contributions of Huawei in 2025" |
| "Download the collective letter of SG12 in French" |
| "Which study periods are there?" |
| "Which study groups does the ITU-T have?" |
| "Which working groups does SG13 have?" |
| "Which working group deals with speech?" |
Register it with an agent:
claude mcp add itu-t-documents -- itu-t-documents mcpSee the guide to the MCP server.
Document identifiers
Every document is addressed by study period, study group, document type and an increasing number. Temporary documents carry the meeting and a sub-type:
Type | Identifier | Example |
Contribution |
|
|
Temporary document |
|
|
Collective letter |
|
|
Report |
|
|
T25 is the study period 2025-2028, SG12 the study group, 261015 the
meeting (15 October 2026) and 0520 the number of the document. Contributions,
collective letters and reports are numbered across the whole study period, so
their identifier carries no meeting. The numbers are not consecutive — a
withdrawn document leaves a hole — and the number of a temporary document runs
per sub-type over the whole study period.
A document is published in the format it was submitted in, so the format and
the language of a download have to match what the DMS offers for that
document. T25-SG12-COL-0001, for example, is available as MSW in six
languages; the package picks the rendition that matches and prefers the
original over a revision.
TIES credentials
Downloading a document needs a TIES account. The credentials are read from the environment:
export ITU_TIES_USERNAME="you@example.org"
export ITU_TIES_PASSWORD="secret"or from ~/.config/itu-t-documents/config.toml:
[credentials]
username = "you@example.org"
password = "secret"
[general]
cache_dir = "~/.cache/itu-t-documents"
timeout = 30A third, lowest priority source is a
secretspec provider, which is installed
with the optional extra uv sync --extra secretspec. Without the extra, or
without a matching provider, it is ignored silently.
Check that the account works with:
itu-t-documents authTIES login succeeded.A TIES account is valid for the whole ITU-T, but its membership covers only
the study groups it belongs to. The metadata of a document is public and is
read without a login, but the file is not: a document outside the membership
answers 401 Unauthorized with a page that blames invalid credentials, which
is not what happened. The package reports that as a missing membership:
$ itu-t-documents download --document T25-SG13-C-0001 --format MSW
T25-SG13-C-0001 is not accessible with these credentials; the membership of
the TIES account does not cover SG13.The configuration file, the secretspec provider and every way to store a password are described in getting started.
Caches
Everything the package has seen stays on disk:
Path | Content |
| The SQLite metadata store |
| The raw HTTP responses (hishel) |
| The downloaded documents |
The cache directory is set with ITU_CACHE_DIR or the general.cache_dir key
of the configuration file.
What it does not do
It only reads. The package never writes to the ITU-T.
It does not judge the documents. It reports the metadata the DMS publishes.
It cannot see what the account may not see. A document outside the membership of the account is refused, and the ITU-T answers such a request with
401 Unauthorized.It does not know the structure of the ITU-T by heart. The study groups, the working groups and the questions change from period to period, so they are read from the ITU-T, and an entity that does not exist is refused instead of returning an empty result that looks like an answer.
Documentation
The full documentation lives in docs/ and is built with
zensical.
Page | What it holds |
installing the package, the TIES account, the first steps, troubleshooting | |
every command and every option | |
the API, the models, the catalogue, the caches, the errors | |
the tools and the questions they answer | |
the study periods, the study groups, the working groups, the questions | |
the URL layout and the numbering scheme, as they were measured | |
the generated reference of every public class and function |
For AI agents
The repository ships a skill that teaches an agent the package: the CLI, the Python API and the MCP server, the vocabulary of the ITU-T and the errors a user hits.
bun x skills add https://github.com/jr2804/itu-t-documentsIt lives in skills/itu-t-documents/ and
is verified with
skill-check.
Contributing
Contributions are welcome. Open an issue before a large change, so the approach can be discussed, and send a pull request for the rest.
git clone https://github.com/jr2804/itu-t-documents.git
cd itu-t-documents
mise dev # installs the tools and syncs the environment
mise test # pytest with the 100% coverage gate
mise lint # ruff
mise all # test, lint, spell, format, format-md and docs in one passThe contributing guide describes the setup, the quality gates and the conventions of the project, and the code of conduct says how to behave in it.
Development
Command | What it does |
| sync the development dependencies |
| pytest with the 100% coverage gate |
| ruff, with the fixes applied |
| ty, the static type checker |
| codespell over the source and the tests |
| reorder, format and sort the imports |
| reformat the Markdown with rumdl |
| build the documentation site |
| print the version the build backend resolves |
| test, lint, spell, format, format-md and docs, in one pass |
The version of the package is a CalVer version —
YYYY.MM.N, e.g. 2026.11.1 — and it is derived from the git tag, never
written into pyproject.toml. Every push to main is a release; the
procedure is documented in docs/release.md.
Built with
Layer | Tool | Purpose |
Package manager | Fast installs, deterministic lockfile | |
Task runner | DAG-based tasks, tool version management | |
Linter + formatter | Single-binary code quality | |
Type checker | Strict type checking | |
Testing | Test framework with 100% coverage gate | |
CLI | Type-driven CLI parsing and shell completion | |
HTTP | HTTP client with the TIES session | |
HTTP cache | RFC 9111 compliant response cache | |
Database | Typed SQLite metadata store | |
Settings | Layered configuration | |
Parsing | HTML parser for the ITU-T pages | |
MCP | Model Context Protocol server | |
Spell check | Code and doc spell checking | |
Documentation | MkDocs Material with executable examples | |
Versioning | Git tag-based versioning | |
Hooks | Automated quality gate |
License
MIT — see LICENSE for details.
Generated from copier-uv-plus.
Available Tools
11 toolscontributions_by_sourceContributions By SourceA
Show the contributions submitted by an organisation.
Use this to answer "which contributions were made by company XYZ in study group 12?".
Inputs: source (required), study_group, study_period. Returns: result
documents_for_questionDocuments For QuestionA
Show the documents handled in a question of an ITU-T study group.
Use this to answer "show me all TDs of Q5/12 at meeting XYZ": pass the question number, the study group and the DMS code of the meeting.
Inputs: question (required), meeting, doc_type, study_group, +1 more. Returns: result
download_documentDownload DocumentA
Download a document from the ITU-T document management system.
The document has to be available as the requested format and language. Downloading needs TIES credentials; a document that was downloaded before is served from the local cache.
Inputs: document_id (required), language, file_format, output_path. Returns: object
list_meetingsList MeetingsC
List the meetings of an ITU-T study group.
Inputs: study_group, study_period. Returns: result
list_periodsList PeriodsA
List the study periods of the ITU-T.
Use this to find the study period a document belongs to. A period is named by its years, e.g. "2025-2028", and by its DMS code, e.g. "T25".
Inputs: no named parameters. Returns: result
list_questionsList QuestionsB
List the questions under study of an ITU-T study group.
Inputs: study_group, study_period. Returns: result
list_structureList StructureA
Show the structure of an ITU-T study group.
The structure holds the plenary, the working groups, the questions under study and the other groups of the study group — regional groups, focus groups and the joint coordination activities.
Inputs: study_group, study_period. Returns: object
list_study_groupsList Study GroupsA
List the study groups of a study period.
The study groups change from period to period, so they are read from the ITU-T. Use this before a search to find the study group that holds the documents of interest.
Inputs: study_period. Returns: result
search_documentsSearch DocumentsC
Search the documents of an ITU-T study group.
Inputs: limit, source, meeting, doc_type, +3 more. Returns: result
search_structureSearch StructureA
Search the working groups, questions and other groups of the ITU-T.
Use this to find the group that handles a topic, e.g. "speech" or "multimedia".
Inputs: text (required), study_period. Returns: result
top_sourcesTop SourcesA
Show the sources that submitted the most documents.
Use this to answer "which source submitted the most documents (TD + C) to the last three meetings?".
Inputs: limit, study_group, study_period, last_meetings. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Most tools have clearly distinct purposes, but a few retrieval tools overlap conceptually: search_documents, documents_for_question, contributions_by_source, and top_sources all return document-related results with different filters. list_questions and search_structure can also both surface question information, though their descriptions distinguish listing from topic-based search.
The set uses snake_case consistently, but verb conventions are mixed: many tools start with list_, search_, or download_, while others are noun phrases such as documents_for_question, contributions_by_source, and top_sources. It remains readable but does not follow a single predictable verb_noun pattern.
With 11 tools, the server is well-scoped for navigating ITU-T study periods, groups, meetings, questions, documents, and structure. Each tool appears to earn its place without excessive redundancy.
The surface covers the main discovery and retrieval workflows: periods, study groups, meetings, questions, structure, document search, contribution lookup, top sources, and downloading. Minor gaps exist, such as direct document metadata retrieval or listing documents by meeting without going through a question, but core workflows are supported.
Maintenance
Related MCP Connectors
License-checked research archive and technical-spec search for AI agents. Pay per call via x402.
Securely search and manage workspace context files for AI agents and teams.
Provides metadata information to AI agents through the search API.
Web search and page fetch for AI agents. Results come from a shared cache; cached calls cost less.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to search and retrieve information from 3GPP specification documents, including full-text search and specific lookup for LTE and 5G NAS cause values. It comes with pre-processed data for major specifications covering NAS, RRC, and protocol conformance testing.35MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to retrieve and explore evidence from 3GPP meeting documents through MCP, including temporal knowledge graph queries, document section navigation, and citation-backed answers.-

corpus.333.ecoofficial
FlicenseNot gradedqualityBmaintenanceEnables agents to search, retrieve, and list open-licensed documents with verifiable provenance, attaching sha256, DOI, and OpenTimestamps proof to every response.683 npm-- AlicenseAqualityBmaintenanceEnables AI agents to search, retrieve, and manage official Telegram documentation, helping them implement accurate Telegram features and verify API capabilities.10MIT