macOS
brew install mqlocal Homebrew formula metadata
brew
Jq-like command-line tool for markdown processing. Version 0.6.4 via Homebrew; verified 2026-07-03.
install
brew install mqlocal Homebrew formula metadata
overview
Jq-like command-line tool for markdown processing
history
mq is a Rust command-line language for querying and transforming Markdown with a jq-like syntax. The project site and book describe the goal directly: make Markdown as easy to slice, filter, map, and transform as JSON is with jq. The GitHub repository is under harehare/mq, and its package surface includes both the mq executable and mq-lsp.
The documentation frames mq around structured-document workflows rather than general text filtering. Its listed use cases include LLM prompt and output processing, documentation management, content analysis, and batch processing across Markdown files. Its feature set includes selectors and built-in functions, custom functions, a REPL, IDE support, a VS Code extension, and Language Server Protocol support for custom function development.
The release history shows a fast-expanding 0.6 series in June 2026. Release notes in that period added Obsidian wikilink, callout, and embed support; HTTP module imports; HTML-to-Markdown conversion improvements; code actions and rename support in mq-lsp; shell completion; an md module for generating Markdown; cross-file collection queries; and a large matrix of binary, deb, and rpm artifacts. mq's package-manager niche is therefore a Markdown-native query processor for documentation-heavy and LLM-heavy workflows, complementary to jq rather than a replacement for it.
security posture
No matching local secret-handling manifest was found for mq. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mq | cli | global executable | |
mq-lsp | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/harehare/mq
install metadata
| Package key | brew:mq |
|---|---|
| Version | 0.6.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mq |
| Homepage | https://mqlang.org/ |
| Repository | https://github.com/harehare/mq |
| Upstream docs | https://mqlang.org/book |
| License | MIT |
| Source archive | https://github.com/harehare/mq/archive/refs/tags/v0.6.4.tar.gz |
| Last updated | 2026-07-03T15:31:13Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.