doc3gpp
A Python library and CLI for collecting and searching 3GPP meeting calendars, TDocs, work items, specifications, RAN5 testcase status snapshots, and public ETSI LISTSERV email archives. Store source metadata in SQL, extract Word and presentation content, and use the same services through the CLI, web UI, HTTP API, or MCP tools.
What's New
- Nov 14: Revision TDoc discovery: Recursively discover meeting revision files.
- Nov 12–13: LISTSERV email archives support: Discover public ETSI lists, sync message listings, parse individual messages, and search stored content. See the LISTSERV guide.
- Oct 22–Nov 5: Richer TDoc extraction: Extract multi-file CR, WID, LS, and discussion archives, including Word and presentation files; inspect ZIP inventories and matched-document provenance. See TDoc parsing.
- Oct 19–28: Faster parsing: Bounded parallel preparation and shared Office conversion workers accelerate TDoc and specification-document processing. See pools and background jobs.
- Sep 22–27: Unified search: Use text, semantic, hybrid, or filter-only search with source-aware results and configurable OpenAI-compatible embeddings. See querying and semantic search configuration.
- Sep 23–25: Specification support: Parse versioned documents, browse their contents, and search section- and table-aware chunks. See specification-document parsing.
- Sep 13: Agent and schema tools: Connect over local MCP stdio, install the packaged agent skill, and inspect resource schemas via CLI, HTTP, or MCP. See MCP connections and schema commands.
- Sep 11–12: RAN5 testcases support: Sync, list, and inspect testcase status snapshots using the CLI, web UI, or MCP. See testcase commands.
Install
Requires Python 3.10+ and uv.
uv tool install 'doc3gpp[cli,extract]'
# Or install all runtime extras: CLI, extraction, semantic search, and web/MCP.
uv tool install 'doc3gpp[all]'
If doc3gpp is not on your PATH, run uv tool update-shell and restart your shell.
uv add doc3gpp adds the core SDK to a Python project
(Python example); CLI dependencies require [cli].
Use [extract] for .docx/.pptx extraction and [semantic] for SQLite vector
search. Legacy .doc/.ppt conversion also requires LibreOffice.
See configuration and dependencies.
Quick start
doc3gpp config init --target user
doc3gpp db init --scope all
doc3gpp db check --scope all
doc3gpp meeting sync --tsg R5
doc3gpp meeting list --tsg R5 --limit 10
# Choose a meeting_id from the list above.
doc3gpp tdoc sync --meeting-id <meeting_id>
doc3gpp tdoc list --meeting-id <meeting_id> --limit 10
doc3gpp tdoc parse --meeting-id <meeting_id> --yes
doc3gpp tdoc search --text 'handover' --limit 10
Sync and parse commands contact upstream sources. Some CLI reads also perform best-effort auto-sync; disable it for offline use:
doc3gpp config set sync.auto_sync false
For local MCP or the web server on a fresh installation, run
uv tool install 'doc3gpp[cli,web]'. If the CLI is already installed, use
uv tool install --reinstall 'doc3gpp[all]' to install all runtime extras.
Run doc3gpp mcp for stdio, or doc3gpp server start for the UI at
http://127.0.0.1:13999/ and MCP at
http://127.0.0.1:13999/mcp/.
There is no built-in authentication: keep the HTTP server on a trusted local
machine. See MCP connections for client configuration.
Agent Skill and MCP
Install the doc3gpp skill for
supported agents in the current project with Node.js (npx):
npx --yes skills add https://github.com/jerrywang121/doc3gpp/tree/main/src/doc3gpp/data/skills/doc3gpp --skill doc3gpp -y
Configure your MCP client to use either local stdio or HTTP. These examples use
mcpServers JSON; client configuration keys and file locations vary, so adapt
them to your client.
stdio
{
"mcpServers": {
"doc3gpp": {
"command": "doc3gpp",
"args": ["mcp"]
}
}
}
HTTP (Streamable HTTP)
Start the server with doc3gpp server start --no-open, then configure an
HTTP-capable MCP client to connect to the default endpoint:
{
"mcpServers": {
"doc3gpp": {
"type": "http",
"url": "http://127.0.0.1:13999/mcp/"
}
}
}
For transport details and security requirements, see MCP connections.
Documentation
| Guide | Purpose |
|---|---|
| Documentation index | Find the right guide; current vs historical documentation |
| CLI reference | Commands, flags, filters, and output contracts |
| Configuration | Discovery, precedence, settings, dependencies, and secrets |
| Processes | Sync, parse, cache, chunk, index, query, pools, and jobs |
| Web server | Running the server, UI, HTTP routes, and job monitoring |
| MCP | Client connection, transports, tools, and troubleshooting |
| Architecture | Layers, composition, databases, and content ownership |
| 3GPP knowledge | Upstream URLs, naming, and field semantics |
| Code map | Implementation entry points for SDK users and contributors |
| Conventions | Development, testing, and documentation rules |
| Known constraints / TODO | Current limitations and engineering backlog |
Development
python -m venv .venv
source .venv/bin/activate
uv sync --extra dev --extra extract --extra semantic
ruff check .
./scripts/test_sqlite.sh
Tests are offline by default. See testing conventions for optional dependencies, parallel execution, and opt-in online tests.
License
MIT.
Metadata
Release files for doc3gpp 0.3.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doc3gpp-0.3.13.tar.gz | 3.3 MB | With provenance | Details for doc3gpp-0.3.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doc3gpp-0.3.13-py3-none-any.whl | Python 3 | none | any | Details for doc3gpp-0.3.13-py3-none-any.whl |
Total release size: 4.1 MB
Release files / doc3gpp-0.3.13.tar.gz
| Download URL | doc3gpp-0.3.13.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61b645d4b6655747461dbcb141d311a325c7870595dd05bd2b48f847c16e7d73
|
|
BLAKE2b-256 checksum How to use checksums |
268e74b36f2250d1cec22eefde884ccc73076641d6f6ff6ae00650246adb6880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / doc3gpp-0.3.13-py3-none-any.whl
| Download URL | doc3gpp-0.3.13-py3-none-any.whl |
|---|---|
| Size | 728.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4f5b8e30edba0d1870d362a6420e3ada07bd6abe5d6ccad8e371fe37e5adf44
|
|
BLAKE2b-256 checksum How to use checksums |
8b67adea9df5908fcdbb4801451bc3ca9d1ea031af31c8564934c5920d07b7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for doc3gpp 0.3.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for doc3gpp-0.3.13.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.