jq
MCP server from 007/jq-mcp-server
claude mcp add --transport stdio 007-jq-mcp-server docker run -i ghcr.io/007/jq-mcp-server:latest
How to use
This MCP server provides a dedicated tool named jq that lets you execute jq expressions against JSON content through the MCP protocol. The server runs in a container and exposes a JSON-RPC style interface over standard input/output, enabling clients to request an evaluation of a jq expression against supplied JSON data. To use it, send a request with the tool name (jq) and provide the parameters: expression (the jq filter) and content (the JSON string to operate on). The server will return the resulting JSON output produced by jq.
Available tool:
- jq: Execute a jq expression on JSON data. Parameters:
- expression (required): The jq expression to apply (e.g., .name, .items[0].value, etc.).
- content (required): A JSON string to process. For example: "{"name":"example", "value":42}". The server executes the expression against this content and returns the result.
How to install
Prerequisites:
- Docker installed on your machine (for container usage).
- Optional: Go tooling if you prefer to build from source and run locally.
Using the pre-built container image:
-
Pull and run the container: docker run -i ghcr.io/007/jq-mcp-server:latest
-
Interact via MCP client: send a JSON-RPC style request to the process’s stdin and read the response from stdout. The tool available is named jq, with parameters expression and content.
Building from source (optional):
- Clone the repository: git clone https://github.com/007/jq-mcp-server.git
- Build the container or binary as described in the repository (commonly a build script like build.sh): ./build.sh
- Run locally (if built as a Go binary): go run main.go
Prerequisites for local development:
- Go toolchain (1.18+ typically).
- jq should not be required at runtime since this server embeds or downloads it during container build.
Additional notes
Tips and considerations:
- The server runs inside a minimal, scratch-based container for a small attack surface. It uses a non-root UID by default, aligning with good security practices.
- Content must be provided as a JSON string in the content parameter; ensure proper escaping when forming the request payload.
- This server is an independent MCP implementation and is not affiliated with the official jq project.
- Supports multi-architecture builds (amd64 and arm64) via the container image.
- If you need to customize behavior, refer to the repository’s build scripts and Dockerfile for how jq is wired into the Go binary and container image.
Related MCP Servers
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go