# JSON-MCP-Server

> MCP Server

This repository provides a JSON Model Context Protocol (MCP) server, enabling LLMs to query and manipulate JSON data using tools like `query` and `filter` with extended operations for diverse data transformations.

## Overview

- **Category:** Developer Tools
- **Language:** JavaScript
- **Stars:** 90
- **Forks:** 5
- **Owner:** GongRzhe
- **GitHub:** https://github.com/GongRzhe/JSON-MCP-Server
- **Created:** 2024-12-24T14:43:55+00:00
- **Updated:** 2025-03-28T23:31:19+00:00
- **Source:** https://model-context-protocol.com/servers/json-mcp-server-data-query-manipulation

## Setup

## Setup

```bash
# Using npx with specific version (recommended)
npx @gongrzhe/server-json-mcp@1.0.3

# Install specific version globally
npm install -g @gongrzhe/server-json-mcp@1.0.3

# Run after global installation
server-json-mcp
```

To use this server with the Claude Desktop app, add the following configuration to your `claude_desktop_config.json`:

```json
{
  "json": {
    "command": "npx",
    "args": [
      "@gongrzhe/server-json-mcp@1.0.3"
    ]
  }
}
```

Alternatively, you can use the node command directly if you have the package installed:

```json
{
  "json": {
    "command": "node",
    "args": [
      "path/to/build/index.js"
    ]
  }
}
```

To build from source:
1. Clone the repository
2. Install dependencies:
   ```bash
   npm install
   ```
3. Build the project:
   ```bash
   npm run build
   ```

## Tools

## Available Tools

		1. query (Query JSON data using JSONPath syntax with extended operations)
		2. filter (Filter JSON data using conditions)
