Skip to main content

TEDDI Tool

PyPI Python License: MIT CI Docs

CLI and FastMCP server for the ETSI TEDDI terminology database.

Features

  • CLI — teddi search-term / teddi list-bodies with table, JSON, ISON, and TOON output
  • MCP server — search_teddi, get_term_info, and list_technical_bodies tools 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:

License

MIT

Metadata

Release files for teddi-tool 2026.11.1

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.1
File Size Uploaded Provenance Actions
teddi_tool-2026.11.1.tar.gz 156.2 kB With provenance Details for teddi_tool-2026.11.1.tar.gz

Built distribution (wheel)

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

Total release size: 173.9 kB

Release files / teddi_tool-2026.11.1.tar.gz

Download URL teddi_tool-2026.11.1.tar.gz
Size 156.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3d0c0d20d220ac025e8f988f945ee732b72d68e99cee5ed52da2c034578faa92
BLAKE2b-256 checksum
How to use checksums
5b5e231aaa8d1ba14106b4639b73d25f5e214e43325fe418b1e3a97dffca73b4
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 log

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

Download URL teddi_tool-2026.11.1-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5f33bfeca0ef9de1851383708aaf966fa60d1e774d9b050d15507d08a8aaed4
BLAKE2b-256 checksum
How to use checksums
e633a3abf4cb4a353e4657e90ad3f6ad67cd8643a635537bc1826b571c8ac47d
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 log

Security for teddi-tool 2026.11.1

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