harehare/mq
A jq-like Markdown query language for command-line processing observed · 2026-09-03
Health v2 · maintenance only
83/100
- Activity 100
- Release rhythm 87
- Longevity 39
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6.5
- age_days: 555
- days_rel: 7
- days_push: 0
- n_releases_24m: 79
Adoption not part of the score
1023 stars · 21 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mq is a jq-like command-line tool and query language for slicing, filtering, and transforming Markdown via its AST, written in Rust as a single native binary. It includes a REPL, LSP support, a debugger, and companion tools such as an MCP server for AI assistants.
Use cases
- extract all headings from markdown files
- filter and transform markdown documents from the command line
- prepare structured markdown input for LLM prompts
- batch process documentation files
- convert html to markdown
- query markdown like jq queries json
When to choose
- you already know jq and want the same workflow for Markdown
- you need fast, structural (AST-based) Markdown manipulation without regex
- you process Markdown for LLM pipelines or documentation at scale
When to avoid
- you need rich-text or WYSIWYG Markdown editing rather than programmatic querying
- your documents are not Markdown and you don't want format conversion
- you need a fully stable, long-term-supported tool given active development
Facets
cli-tool · maturity active
parser cli interpreter markdown mcp llm-inference developer-tools developer-tools large-language-models documentation cli windows rust cross-platform jq-like query-language markdown-ast repl lsp scripting-language html-to-markdown markdown command-line natural-language-processing linux macos
4 sources
- readme: https://github.com/harehare/mq · fetched 2026-09-03 · 766300f9341b
- homepage: https://mqlang.org · fetched 2026-08-29 · 6b0e70fca31d
- site_page: https://mqlang.org/book · fetched 2026-08-29 · a7f6c744e00c
- site_page: https://mqlang.org/book/start/external_subcommands · fetched 2026-08-29 · cd73a5c10bb6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| harehare/mq | main | 83 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem