TEDDI Tool
CLI and FastMCP server for the ETSI TEDDI terminology database.
Features
- CLI —
teddi search-term/teddi list-bodieswith table, JSON, ISON, and TOON output - MCP server —
search_teddi,get_term_info, andlist_technical_bodiestools for AI agents - HTTP caching — hishel/SQLite cache with a two-hour TTL
- Type-safe — Pydantic models and full annotations
- Async-first — one async client shared by both interfaces
Installation
uv tool install teddi-tool # or: pipx install teddi-tool
From source:
git clone https://github.com/jr2804/teddi-tool.git
cd teddi-tool
mise dev
Usage
teddi search-term "QoS" --pattern exactmatch
teddi search-term "QoS" --scope definitions --output json
teddi search-term "test" --technical-bodies "3gpp,etsi"
teddi list-bodies
teddi-mcp # MCP server on stdio
teddi-tool and teddi are the same CLI; teddi-cli is an alias kept for
existing scripts.
MCP client configuration
{
"mcpServers": {
"teddi": {
"command": "teddi-mcp"
}
}
}
Architecture
| Module | Responsibility |
|---|---|
src/teddi_tool/models.py |
Pydantic models and enums |
src/teddi_tool/client.py |
TeddiClient and the TeddiSource protocol |
src/teddi_tool/http_client.py |
Cached httpx client factory |
src/teddi_tool/parser.py |
TEDDI HTML parsing |
src/teddi_tool/search_utils.py |
Shared search/output helpers |
src/teddi_tool/cli/ |
Cyclopts CLI |
src/teddi_tool/server.py |
FastMCP server |
Development
mise dev # install tools and sync dev dependencies
mise test # pytest with coverage
mise all # test, lint, spell, format, docs
See docs/development.md for setup and release notes.
Area contracts live next to the code:
src/teddi_tool/AGENTS.md— client, parser, CLI/MCP surfacetests/AGENTS.md— test conventions.agents/ONBOARDING.md— entry points and commands
License
MIT
Metadata
Release files for teddi-tool 2026.11.2
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 |
|---|---|---|---|---|
| teddi_tool-2026.11.2.tar.gz | 156.3 kB | With provenance | Details for teddi_tool-2026.11.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| teddi_tool-2026.11.2-py3-none-any.whl | Python 3 | none | any | Details for teddi_tool-2026.11.2-py3-none-any.whl |
Total release size: 174.1 kB
Release files / teddi_tool-2026.11.2.tar.gz
| Download URL | teddi_tool-2026.11.2.tar.gz |
|---|---|
| Size | 156.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef723cf64a392617bd3472bd755c5d06caa366aa6a13871a71f0d4432a6d2aea
|
|
BLAKE2b-256 checksum How to use checksums |
5d70abca9fbccf670fc647d7d416826f53475dc9b7b3224c04a48dafc48dadb1
|
| 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 11, 2026.
Transparency logRelease files / teddi_tool-2026.11.2-py3-none-any.whl
| Download URL | teddi_tool-2026.11.2-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7ee375dd511a94b71f2f4b178ab5698c904193a6f4182ea0e288dc3ec3fe203
|
|
BLAKE2b-256 checksum How to use checksums |
495fed8f625438fc7e964b6346d24e7c4562c4a783179bd4c0faf956e93b7167
|
| 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 11, 2026.
Transparency logSecurity for teddi-tool 2026.11.2
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 teddi_tool-2026.11.2.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 11, 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.