HTS MCP
Skip to Content
CLIStatus

Status

status

Show a comprehensive database status overview covering all data tables and pipeline state.

Usage

uv run hts status

Example Output

HTS MCP Database Status ======================= Tariffs: 12,769 Date range: 1989-01-01 to 2050-12-31 Embeddings: Available hts8_full: 12,769 hts8_short: 12,769 hts6_full: 5,714 hts6_short: 5,714 hts4_full: 961 chapter_full: 98 Enrichments: 5,714 HTS6 codes enriched References: 2,439 cross-references Chapters: 98 Sections: 22 Headings: 961

Details

This command checks:

  • Tariffs: Row count and effective date range
  • Embeddings: Availability and per-level/variant breakdown
  • Enrichments: HTS6 enrichment count
  • References: Cross-reference count
  • Resources: Policy resource count with verified/unverified split
  • Graph: Candidate and classified edge counts

Use this command to verify the pipeline state before running queries or to diagnose missing data.