Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Jq

FreeNot checked

An MCP server that exposes a single tool, jq, for running jq filters against JSON files on disk.

GitHubEmbed

About

An MCP server that exposes a single tool, jq, for running jq filters against JSON files on disk.

README

npm version npm downloads

An MCP server that exposes a single tool, jq, for running jq filters against JSON files on disk.

Use

Add to your MCP client config:

{
  "mcpServers": {
    "jq-mcp": {
      "command": "npx",
      "args": ["jq-mcp@latest"]
    }
  }
}

The jq tool takes file and query and returns the stdout of jq <query> <file>. By default it can read files under the server's working directory and /tmp.

Advanced: custom allowlist

Set ALLOWED_PATHS (comma-separated directories) in the server's env to override the default <cwd>,/tmp:

"env": { "ALLOWED_PATHS": "/path/to/allow,/another/path" }

Path matching normalizes the input before comparing, so:

  • .. segments cannot escape an allowed directory.
  • Sibling directories that share a string prefix (e.g. /foo/bar-evil vs /foo/bar) are rejected — the check is path-boundary aware, not a naive startsWith.

Develop

npm test     # node:test suite
npm run build

from github.com/kolodny/jq-mcp

Install Jq in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install jq-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add jq-mcp -- npx -y jq-mcp

FAQ

Is Jq MCP free?

Yes, Jq MCP is free — one-click install via Unyly at no cost.

Does Jq need an API key?

No, Jq runs without API keys or environment variables.

Is Jq hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Jq in Claude Desktop, Claude Code or Cursor?

Open Jq on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Jq with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs