by harehare
A jq-like Markdown query language for command-line processing
# Add to your Claude Code skills
git clone https://github.com/harehare/mqGuides for using mcp servers skills like mq.
mq is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by harehare. A jq-like Markdown query language for command-line processing. It has 1,094 GitHub stars.
mq's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/harehare/mq" and add it to your Claude Code skills directory (see the Installation section above).
mq is primarily written in Rust. It is open-source under harehare on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mq against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Visit the site 🌐 — Read the book 📖 — Playground 🎮
Query. Filter. Transform Markdown.
mq is a command-line tool that processes Markdown using a syntax similar to jq.
It's written in Rust, allowing you to easily slice, filter, map, and transform structured data.

[!IMPORTANT] This project is under active development.
mq makes working with Markdown files as easy as jq makes working with JSON. It's especially useful for:
Since LLM inputs are primarily in Markdown format, mq provides efficient tools for generating and processing the structured Markdown content that LLMs require.
mq-dbg) for inspecting and stepping through mq queries interactively.mq- in ~/.local/bin/.curl -sSL https://mqlang.org/install.sh | bash
Downloads the latest mq binary for your platform, installs it to ~/.local/bin/, and updates your shell profile to add mq to your PATH.
On Windows (PowerShell):
powershell -c "irm https://mqlang.org/install.ps1 | iex"
| Method | Command |
|---|---|
| Homebrew (macOS/Linux) | brew install mq |
| MacPorts (macOS) | sudo port install mq |
| Scoop (Windows) | scoop bucket add mq https://github.com/harehare/scoop-mq && scoop install mq/mq |
| Arch (yay) | yay -S mq-bin |
| Cargo (crates.io) | cargo install mq-run |
| Docker | docker run --rm ghcr.io/harehare/mq:latest |
# Install from Github
cargo install --git https://github.com/harehare/mq.git mq-run --tag v0.10.2
# Latest Development Version
cargo install --git https://github.com/harehare/mq.git mq-run --bin mq
# Install the debugger
cargo install --git https://github.com/harehare/mq.git mq-run --bin mq-dbg --features="debugger"
# Install using binstall
cargo binstall [email protected]
Pre-built binaries for macOS, Linux, and Windows are also available on the GitHub releases page.
| Integration | Link |
|---|---|
| VS Code | |
| Chrome | |
| Neovim | |
| Zed | |
| JetBrains IDEs | |
| Obsidian | |
| Helix | |
| GitHub Actions |
steps:
- uses: actions/checkout@v7
- uses: harehare/setup-mq@v1
- run: mq '.code' README.md
mq is a Rust + TypeScript monorepo.
| Name