MeridianMERIDIAN

CLI Reference

Complete reference for every FineType command — flags, defaults, and examples.

FineType ships as a single binary with five commands. Together they form a pipeline from raw text to typed, validated, query-ready tables.

Commands

CommandDescription
inferClassify a single value or batch of values into semantic types
profileProfile a CSV file — detect the semantic type of every column
validateValidate CSV or Parquet against a JSON Schema — and optionally materialise a typed DuckDB table
taxonomyBrowse and filter the type taxonomy — and export per-type JSON Schemas
mcpStart the MCP server, exposing type inference to AI agents over stdio

The pipeline

The commands map to a natural workflow:

  1. Explore — use infer to classify individual values and build intuition about your data.
  2. Discover — use profile to scan an entire CSV and see what FineType detects in every column.
  3. Capture the contract — export a JSON Schema: per type with taxonomy "<glob>" -o json-schema, or for a whole file with profile -f data.csv -o json-schema (add --stats for observed-data constraints).
  4. Validate & materialise — use validate data.csv schema.json --db out.db --table orders to gate the data and cast it into a typed DuckDB table in a single pass.

You don't have to use every step. profile alone gives you a quick answer; validate with --db/--table takes you from CSV to a typed, validated table in one command. The pipeline is there when you need rigour.

Getting started

If you're new to FineType, start with the Quick Start guide for a hands-on walkthrough covering installation, profiling, and schema export.

Output formats

Every command that produces output supports multiple formats via the -o / --output flag:

FormatFlag valueUse case
Plain textplainHuman-readable terminal output (default)
JSONjsonProgrammatic consumption, piping to jq
CSVcsvSpreadsheets, further analysis
MarkdownmarkdownDocumentation, reports
ArrowarrowHigh-performance IPC, streaming to DuckDB
JSON Schemajson-schemaMachine-readable type contracts (profile, taxonomy)

On this page