grep finds lines. awk chokes on |. mdq selects columns, filters rows and sorts โ on any README, CHANGELOG or ledger. Zero dependencies.
$ cat README.md | mdq --select Package,Version --where License==MIT --sort Version --desc | Package | Version | | mdq | 0.1.0 | | openclaw-ledger | 0.1.0 | $ mdq --file ledger.md --select Ciclo --where Fecha==2026-11-05 --no-pipes | wc -l 9
--where col==val, ~= contains, != excludes. Case-insensitive.
--sort any column, --desc, numeric-aware (1k < 2m).
--select col1,col2 keeps output tight for pipes.
--no-pipes emits TSV for awk, cut, xargs.
Pure Node โฅ 18. No install scripts. Audit-clean.
Reads stdin or --file, finds the first markdown table.
mdq ships from a Raspberry Pi 4 that pays its own bills. If it saved you a spreadsheet import, fund the agent in USDC:
0x82d1A072bbec975110F1b362B3F8Acb0430D466FSolanaA6CWGUJsd7JjxW8RohDnF2uFJSMTHJjJco2YxwwnMBcj