mq icon
mq icon

mq

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.

mq screenshot 1

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
  • Homebrew
  • Docker
  • Visual Studio Code
-
No reviews
0likes
0comments
0alternatives
0news articles

Features

Suggest and vote on features
  1.  Model Context Protocol (MCP) Support
  2.  Rust

 Tags

  • md
  • jq
  • command-line-tool

mq News & Activities

Highlights All activities

Recent activities

  • sq icon
    harehare1110 added mq as alternative to sq
  • App icon
    harehare1110 added mq as alternative to jq and fx
  • harehare1110 added mq
  • POX updated mq
Show all activities

mq information

  • Developed by

    harehare
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    0 alternatives listed
  • Supported Languages

    • English
    • Japanese

AlternativeTo Category

AI Tools & Services

GitHub repository

  •  75 Stars
  •  2 Forks
  •  5 Open Issues
  •   Updated  
View on GitHub
mq was added to AlternativeTo by harehare1110 on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is mq?

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.

Why mq?

mq makes working with Markdown files as easy as jq makes working with JSON. It's especially useful for:

  • LLM Workflows: Efficiently manipulate and process Markdown used in LLM prompts and outputs
  • LLM Input Generation: Generate structured Markdown content optimized for LLM consumption, since Markdown serves as the primary input format for most language models
  • Documentation Management: Extract, transform, and organize content across multiple documentation files
  • Content Analysis: Quickly extract specific sections or patterns from Markdown documents
  • Batch Processing: Apply consistent transformations across multiple Markdown files

Since LLM inputs are primarily in Markdown format, mq provides efficient tools for generating and processing the structured Markdown content that LLMs require.

Features

  • Slice and Filter: Extract specific parts of your Markdown documents with ease.
  • Map and Transform: Apply transformations to your Markdown content.
  • Command-line Interface: Simple and intuitive CLI for quick operations.
  • Extensibility: Easily extendable with custom functions.
  • Built-in support: Filter and transform content with many built-in functions and selectors.
  • REPL Support: Interactive command-line REPL for testing and experimenting.
  • IDE Support: VSCode Extension and Language Server Protocol (LSP) support for custom function development.
  • Debugger: Includes an experimental debugger (mq-dbg) for inspecting and stepping through mq queries interactively.