# mq

> A jq-like Markdown query language for command-line processing

- **URL**: https://www.freshcrate.ai/projects/mq
- **Author**: harehare
- **Category**: MCP Servers
- **Latest version**: `v0.5.31` (2026-05-26)
- **License**: MIT
- **Source**: https://github.com/harehare/mq
- **Homepage**: https://mqlang.org
- **Language**: Rust
- **GitHub**: 399 stars, 8 forks
- **Registry**: github (`harehare/mq`)
- **Tags**: `cli`, `interpreter`, `jq`, `language-server`, `markdown`, `mcp`, `md`, `query`, `rust`

## Description

A jq-like Markdown query language for command-line processing

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.5.31` | 2026-05-26 | High | ## What's Changed  ### ✨ New Features  * ✨ feat(cli): add aliases "arg" and "define" for --args flag by @harehare in https://github.com/harehare/mq/pull/1753 * ✨ feat(lang): add byte string literal syntax b"..." by @harehare in https://github.com/harehare/mq/pull/1755 * ✨ feat(cli): add json/toml/yaml/xml/csv/tsv/psv as explicit -I input formats by @harehare in https://github.com/harehare/mq/pull/1757 * ✨ feat(cli): add --args flag and ARGS dict for jq-compatible argument passing by @hare |
| `v0.5.30` | 2026-05-17 | High | ## What's Changed  ### ✨ Features & Enhancements  * ✨ feat: add sum function and corresponding tests by @harehare in https://github.com/harehare/mq/pull/1714 * ✨ feat: add mean and geomean functions with corresponding tests by @harehare in https://github.com/harehare/mq/pull/1715 * ✨ feat: add n-gram function with corresponding tests by @harehare in https://github.com/harehare/mq/pull/1716 * ✨ feat: implement paren-free function calls and update documentation by @harehare in https://githu |
| `v0.5.29` | 2026-05-08 | High | ## What's Changed  ### ✨ New Features  * **feat(playground):** add hover provider using mq.hover API by @harehare in https://github.com/harehare/mq/pull/1663 * **feat(cli):** add `modules` subcommand for built-in module discovery by @harehare in https://github.com/harehare/mq/pull/1672 * **feat(playground):** integrate vim mode with custom Ex commands for file management by @harehare in https://github.com/harehare/mq/pull/1681 * **feat(mq-macros):** add proc-macro crate and refactor built |
| `v0.5.28` | 2026-04-30 | High | ## What's Changed  ### ✨ Features  * ✨ feat: add is_not_regex_match functionality and related token support by @harehare in https://github.com/harehare/mq/pull/1641 * ✨ feat(lang): add selector call syntax for filtered matching by @harehare in https://github.com/harehare/mq/pull/1646 * ✨ feat(repl): add rich completions and improved UX by @harehare in https://github.com/harehare/mq/pull/1647 * ✨ feat(lexer): add \uXXXX four-digit Unicode escape sequence support by @harehare in https://git |
| `v0.5.27` | 2026-04-23 | High | ## What's Changed  ### ✨ Features  * ✨ feat(mq-lang): add math builtin functions ln, log10, sqrt, exp and fix pow by @harehare in https://github.com/harehare/mq/pull/1602 * ✨ feat(mq-web-api): add OpenTelemetry tracing support via otel feature by @harehare in https://github.com/harehare/mq/pull/1601 * ✨ feat(parser): support chained postfix operations by @harehare in https://github.com/harehare/mq/pull/1606 * ✨ feat(mq-run): add table output format support in CLI and dependencies by @hare |
| `v0.5.26` | 2026-04-14 | Medium | ## ✨ Features  * ✨ feat(builtin): add from_html builtin function by @harehare in https://github.com/harehare/mq/pull/1556 * ✨ feat(yaml): add to_front_matter function and update YAML tests by @harehare in https://github.com/harehare/mq/pull/1561 * ✨ feat(mq-lang): add _diff builtin and enhance assert_eq with colored diff output by @harehare in https://github.com/harehare/mq/pull/1567 * ✨ feat(mq-test): add standalone test runner binary by @harehare in https://github.com/harehare/mq/pull/157 |
| `v0.5.25` | 2026-04-06 | Medium | ## What's Changed  ### ✨ New Features  * ✨ feat(toml): replace mq-based TOML parser with native Rust implementation by @harehare in https://github.com/harehare/mq/pull/1524 * ✨ feat(playground): add settings dialog with vim mode and theme support by @harehare in https://github.com/harehare/mq/pull/1528 * ✨ feat(playground): add babel plugin for React compiler support by @harehare in https://github.com/harehare/mq/pull/1529 * ✨ feat(mq-lang): Add task selector by @harehare in https://githu |
| `v0.5.24` | 2026-03-28 | Medium | ## What's Changed  * ⚡ perf(web-api): offload CPU-bound handlers to blocking thread pool by @harehare in https://github.com/harehare/mq/pull/1495 * ✨  feat(lang): support negative index for get on array, string, and markdown by @harehare in https://github.com/harehare/mq/pull/1496 * ✨ feat(vscode): add GitHub Releases binary download as install option by @harehare in https://github.com/harehare/mq/pull/1508 * ✨ feat(web-api): add API versioning and health check endpoint by @harehare in http |
| `v0.5.23` | 2026-03-24 | Medium | ## What's Changed  * ✨ feat(mq-lang): replace custom YAML parser with yaml-rust2 native implementation by @harehare in https://github.com/harehare/mq/pull/1486 * ✨ feat(mq-lang): support bracket slice on QualifiedAccess and [:N] syntax by @harehare in https://github.com/harehare/mq/pull/1487 * ✨ feat(section): improve section module with bodies, by_level, and auto-expand by @harehare in https://github.com/harehare/mq/pull/1488 * ✨ feat(cli): auto-expand table dicts to markdown nodes in CLI |
| `v0.5.21` | 2026-03-22 | Low | ## What's Changed  * ✨ feat(mq-check): add dead code detection and improve type inference by @harehare in https://github.com/harehare/mq/pull/1481 * ✨  feat(crawler): add headless_wait option for Chromium mode by @harehare in https://github.com/harehare/mq/pull/1473 * ✨  feat(mq-check): add slugify and percentile functions to builtin registry by @harehare in https://github.com/harehare/mq/pull/1474 * ✨ feat(lang): convert array to newline-separated string for markdown output by @harehare in |

## Citation

- HTML: https://www.freshcrate.ai/projects/mq
- Markdown: https://www.freshcrate.ai/projects/mq.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/mq/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
