Skip to main content

TEDDI Tool

TEDDI Tool — search the ETSI TEDDI terminology database from the terminal or over MCP

PyPI Python License: MIT CI Docs

Search the ETSI TEDDI terminology database from the terminal or expose it to AI agents as an MCP server. One async client, one parser and one output layer serve both interfaces.

uv tool install teddi-tool
teddi search-term "QoS" --pattern exactmatch

Features

  • CLI — search-term (term, scope, pattern, technical-body filter) and list-bodies, with table, JSON, ISON and TOON output.
  • MCP server — search_teddi, get_term_info and list_technical_bodies tools over stdio; no extra service to deploy.
  • All TEDDI technical bodies — filters are matched case-insensitively and validated against the code list published by the TEDDI search form (fetched live, cached for 90 days, so new codes need no release).
  • Local HTTP cache — hishel/SQLite store (2-hour search TTL, 90-day technical-body menu TTL), so repeated lookups do not hit ETSI; both TTLs are configurable.
  • Typed core — dataclasses and StrEnum enums with full annotations, plus a TeddiSource protocol that keeps the client mockable.
  • Async-first — an async httpx2 core shared by the CLI and MCP server.

Requirements

Python 3.13 or newer. TEDDI itself is a public ETSI web application; no account or API key is required.

Installation

# with uv (recommended)
uv tool install teddi-tool

# or with pipx
pipx install teddi-tool

From a checkout (requires mise):

git clone https://github.com/jr2804/teddi-tool.git
cd teddi-tool
mise install     # pinned toolchain: ruff, ty, rumdl, pyreorder, ...
mise dev         # uv sync -U --dev --all-extras --all-groups

Usage

teddi search-term "QoS"                              # rich table (default)
teddi search-term "QoS" --pattern exactmatch         # exact match
teddi search-term "QoS" --scope definitions -o json  # definitions only, JSON
teddi search-term "test" -t "3gpp,stq"               # filter technical bodies
teddi list-bodies                                    # valid TB codes from TEDDI
teddi-mcp                                            # MCP server on stdio

Scope values: abbreviations, definitions, both (default). Pattern values: alloccurrences (default), exactmatch, startingwith, endingwith. Output formats: table, json, ison, toon. Cache lifetimes are tuned with --cache-ttl/--menu-cache-ttl (seconds). Every option can also be set through the TEDDI_TOOL_ environment variables of the same name — TEDDI_TOOL_SCOPE, TEDDI_TOOL_PATTERN, TEDDI_TOOL_TECHNICAL_BODIES, TEDDI_TOOL_OUTPUT, TEDDI_TOOL_CACHE_TTL and TEDDI_TOOL_MENU_CACHE_TTL.

teddi-tool and teddi are the same CLI; teddi-cli is an alias kept for existing scripts, and teddi-mcp/teddi server start the MCP server directly.

MCP client configuration

{
  "mcpServers": {
    "teddi": {
      "command": "teddi-mcp",
      "env": {
        "TEDDI_TOOL_CACHE_TTL": "3600",
        "TEDDI_TOOL_MENU_CACHE_TTL": "604800"
      }
    }
  }
}

The env block is optional; it tunes the search-response and technical-body menu cache lifetimes in seconds.

Documentation

  • Usage — CLI options, output formats, MCP tools
  • API reference — models, client, parser
  • Development — setup, project layout, tasks and release process

Contributing

Issues and pull requests are welcome; see docs/contributing.md and the Code of Conduct.

License

MIT — see LICENSE.

Metadata

Release files for teddi-tool 2026.11.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teddi-tool 2026.11.6
File Size Uploaded Provenance Actions
teddi_tool-2026.11.6.tar.gz 1.5 MB With provenance Details for teddi_tool-2026.11.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teddi-tool 2026.11.6
File Interpreter ABI Platform Actions
teddi_tool-2026.11.6-py3-none-any.whl Python 3 none any Details for teddi_tool-2026.11.6-py3-none-any.whl

Total release size: 1.5 MB

Release files / teddi_tool-2026.11.6.tar.gz

Download URL teddi_tool-2026.11.6.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
b1d17eebd7f232853e5558461d50a6ca1d65481a4684f3acea85118c2f4cfe62
BLAKE2b-256 checksum
How to use checksums
eb51ff34ce3885e937b927b13d6ea13cf16ab159d76e60550bee7ea990910d94
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 13, 2026.

Transparency log

Release files / teddi_tool-2026.11.6-py3-none-any.whl

Download URL teddi_tool-2026.11.6-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a4f07ae28b1155a70e1f5ef245355bb88f6ffcc654f9984cefd9cecfe2224a2
BLAKE2b-256 checksum
How to use checksums
b9eca8bc012ef75c138b8d482f9a016d4cde0fbc5be5aad43045a63cab42706e
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 13, 2026.

Transparency log

Security for teddi-tool 2026.11.6

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.

Select from 2 files

Attestation for teddi_tool-2026.11.6.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 13, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page