EveryDev.ai
Subscribe
Home
Tools

7,054+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3692
  • Coding2804
  • Infrastructure1176
  • MCP1007
  • Projects967
  • Research797
  • Analytics620
  • Marketing569
  • Design567
  • Testing519
  • Security481
  • Data473
  • Communication350
  • Integration332
  • Prompts319
  • Extensions273
  • Voice241
  • DevOps216
  • Commerce199
  • Web148
  • Learning146
  • Finance45
AI Tools by Topic
  • AI Coding Assistants
  • AI Code Review Tools
  • Agent Frameworks
  • AI Workflow Automation
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • Newsletter
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
  • Newsletter Archive
Get Started
  • Submit a Tool
  • Rate Tools
  • Start a Discussion
  • Write a Blog
  • Share a Build
  • Users
  • About
  • Contact Us
  • Advertise
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Search & AI
  • llms.txt
  • Add to favorites on Google
Theme
Terms of ServicePrivacy Policy
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. mq
    mq icon

    mq

    Data Processing
    Featured

    A jq-like command-line tool written in Rust that lets you query, filter, map, and transform Markdown documents using a familiar syntax.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT License. Download, use, modify, and distribute without restriction.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Data ProcessingDocumentationCommand Line Assistants

    Alternatives

    Glowggetprofiler-md
    Developer
    harehareSaitama, JapanEst. 2023

    Updated Dec 2026

    About mq

    mq is an open-source command-line tool created by Takahiro Sato (harehare) that brings jq-style querying to Markdown files. Written in Rust for sub-millisecond performance, it lets developers slice, filter, map, and transform structured Markdown content from the terminal. The project is under active development and released under the MIT License.

    What It Is

    mq treats Markdown documents as structured data — the same way jq treats JSON — and exposes a query language for extracting headings, code blocks, links, lists, tables, and arbitrary sections. You pipe a Markdown file into mq, write a query expression, and get back filtered or transformed Markdown, HTML, JSON, plain text, or other formats. The tool is especially positioned for LLM workflows, where Markdown is the dominant input and output format for language models.

    Core Query Capabilities

    The query language supports a rich set of selectors and transformations:

    • Node selectors: .h, .h(1), .h(1..3), .code("rust"), .link.url, .[][]
    • Filtering: select(contains("name")), select(.code.lang != "js")
    • Aggregation: -A flag to aggregate multiple files; pluck(), section::section(), section::by_level()
    • Output formats: markdown, HTML, JSON, table, grep, raw, none
    • In-place updates: -U / --update flag to rewrite the source file
    • Multi-format input: CSV, JSON, YAML, TOML, XML, HCL, CBOR, and more via auto-detected or forced -I flag

    Ecosystem and Subcommands

    mq ships with a growing set of official subcommands that compose via Unix pipes:

    • mq-conv — converts PDF, DOCX, XLSX, and other formats into clean Markdown
    • mq-crawler — web crawler that outputs structured Markdown from websites
    • mq-tui — terminal Markdown viewer with syntax highlighting
    • mq-check — type inference and checking for mq queries
    • mq-lsp — Language Server Protocol implementation for IDE completion and hover
    • mq-task — task runner that executes code blocks in Markdown files by section title

    Custom subcommands can be added by placing any mq-<name> executable in ~/.local/bin/ or PATH.

    Installation and Platform Support

    mq supports multiple installation paths:

    • Quick install script: curl -sSL https://mqlang.org/install.sh | bash
    • Cargo: cargo install mq-run from crates.io
    • Homebrew: brew install mq (macOS and Linux)
    • Pre-built binaries: macOS (Apple Silicon), Linux x86_64/arm64, Windows (MSVC) via GitHub Releases
    • Docker: ghcr.io/harehare/mq:0.6.0
    • GitHub Actions: official harehare/setup-mq@v1 action

    IDE support includes a VSCode extension on the Visual Studio Marketplace and Open VSX Registry, a Neovim plugin, and a Zed extension. Language bindings for Elixir, Python, Ruby, Java, and Go are documented in the official book. A WebAssembly build (mq-web on npm) enables browser-side use, and an online playground at mqlang.org/playground requires no installation.

    Update: v0.6.0

    The latest release is v0.6.0, published on 2026-06-07. The GitHub repository shows active CI and audit workflows, a codecov integration, and CodSpeed performance benchmarking. The project was created in February 2025 and has accumulated 653 stars and 9 forks as of the latest data. The README notes the project is "under active development," signaling continued feature work and potential breaking changes.

    mq - 1

    Collections

    Popular collections

    • UI Design Skills for Coding Agents

      Collection by @mayachen

      Featured
      Remix
    • Find the Ways Your AI App Can Fail Before Launch

      Collection by @samirhaddad

      Featured
      Remix
    • Give Your AI Agent the Meaning Behind Your Database

      Collection by @danielokafor

      Featured
      Remix
    • See What Your Agent Is Doing

      Collection by @evtuff

      Remix

    Add mq to one of your collections.

    View all collections

    Community Discussions

    Be the first to start a conversation about mq

    Share your experience with mq, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT License. Download, use, modify, and distribute without restriction.

    • Full CLI with all query, filter, and transform capabilities
    • REPL support
    • VSCode extension
    • LSP support
    • WebAssembly browser build

    Capabilities

    Key Features

    • jq-like query syntax for Markdown
    • Slice and filter Markdown nodes
    • Map and transform Markdown content
    • Command-line REPL for interactive queries
    • VSCode extension and LSP support
    • Experimental debugger (mq-dbg)
    • External subcommand extensibility
    • Multi-format input (CSV, JSON, YAML, TOML, XML, HCL, CBOR)
    • Multiple output formats (markdown, HTML, JSON, table, grep, raw)
    • In-place file update mode
    • Parallel processing for multiple files
    • WebAssembly build for browser use
    • GitHub Actions integration
    • Language bindings for Python, Ruby, Java, Go, Elixir
    • mq-conv: convert PDF/DOCX/XLSX to Markdown
    • mq-crawler: web crawler outputting Markdown
    • mq-tui: terminal Markdown viewer
    • mq-lsp: Language Server Protocol support
    • mq-task: Markdown-based task runner
    • Optimization levels for AST transformations

    Integrations

    VSCode
    Neovim
    Zed
    GitHub Actions
    Docker
    Homebrew
    Cargo/crates.io
    npm (mq-web WebAssembly)
    Open VSX Registry
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate mq and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    harehare

    harehare (Takahiro Sato) builds mq, a jq-like Markdown query tool written in Rust. The project delivers a full ecosystem including a CLI, LSP server, VSCode extension, WebAssembly build, and multiple subcommands for converting, crawling, and viewing Markdown. Development is active and open-source under the MIT License.

    Founded 2023
    Saitama, Japan
    1 employees

    Used by

    Open-source community
    Users of TextUSM
    Read more about harehare
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Glow icon

    Glow

    A terminal-based markdown reader and TUI for the CLI that renders markdown with styling, paging, and local file discovery.

    gget icon

    gget

    Free, open-source command-line tool and Python package for querying genomic reference databases with single-line commands.

    profiler-md icon

    profiler-md

    Command-line tool and API that converts performance profiles, heap snapshots, and traces into human and LLM friendly Markdown.

    Browse all tools

    Related Topics

    Data Processing

    AI-enhanced ETL (Extract, Transform, Load) tools and data pipelines that automate the processing, cleaning, and transformation of large datasets with intelligent optimizations.

    253 tools

    Documentation

    AI-driven tools that automatically generate, maintain, and organize technical documentation, user guides, and project artifacts with context-aware content and intelligent updating.

    145 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    512 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    46views