talira

Like awk, sed, cut, join and sort for CSV, TSV and JSON

open sourceBSD-2-ClausefreeMCP

Miller (mlr) is a command-line tool for querying, shaping and reformatting data files in CSV, TSV, JSON, JSON Lines, YAML, DCF and other formats, working on named fields rather than columns of text. Compact verbs that mirror Unix tools (sort, head, cut, join, uniq, stats) chain together with then, and a built-in programming language handles anything they don't, so it converts between formats, cleans and reshapes files for loading elsewhere, summarizes query output and explores data interactively, streaming large files and using several cores. It also ships an MCP server and an agent skill so AI agents can run it.

Problems it solves

  • convert a CSV file to JSON on the command line
  • sort, filter and cut columns of a CSV by name instead of position
  • join two CSV files from the shell
  • summarize a CSV with counts and averages without opening a spreadsheet
  • awk for CSV files that understands headers and quoted fields

Features

  • CSV, TSV, JSON, JSON Lines, YAML and DCF
  • verbs chained with then (sort, head, cut, join, stats)
  • built-in DSL for computed fields
  • format conversion and pretty-printing
  • streaming and multicore processing
  • REPL
  • MCP server and agent skill

Capabilities

Has a command line toolplan not known
Has an MCP serverplan not known

Alternatives

The same job

These do what Miller does.

  1. jq Command-line JSON processor
  2. yq A portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor
  3. VisiData Terminal spreadsheet multitool for exploring and arranging tabular data
  4. Nushell A new type of shell

Compare Miller with the top 3