json-mcp-server

ciresnave/json-mcp-server

3.2

If you are the rightful owner of json-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The JSON MCP Server is a high-performance Rust-based server designed for efficient JSON file operations, optimized for interactions with large language models (LLMs).

The JSON MCP Server is a robust and efficient server built using Rust, specifically designed to handle JSON file operations with a focus on large language model (LLM) interactions. It supports reading, writing, querying, and manipulating JSON files, even those with extremely large datasets. The server is optimized for performance, offering advanced querying capabilities through JSONPath, and is compliant with the Model Context Protocol (MCP). It ensures memory efficiency through smart pagination and streaming, making it suitable for handling large files without memory overflow. The server also provides detailed error messages and usage examples to facilitate optimal interaction with LLMs. Additionally, it includes a comprehensive help system and supports various output formats for JSONPath queries, making it a versatile tool for developers working with JSON data.

Features

  • Efficient JSON file operations with support for large datasets
  • Advanced JSONPath querying capabilities
  • Multiple JSON writing modes with flexible merge strategies
  • Memory-efficient pagination and streaming
  • Comprehensive help system with detailed examples

Usages

usage with VS Code

{
  "mcp.servers": {
    "json-mcp-server": {
      "path": "json-mcp-server"
    }
  }
}

usage with Claude Desktop

{
  "mcpServers": {
    "json-mcp-server": {
      "command": "json-mcp-server",
      "args": []
    }
  }
}

Tools

  1. json-read

    Read JSON files with optional JSONPath filtering and pagination

  2. json-write

    Write or update JSON files with multiple merge strategies

  3. json-query

    Execute complex JSONPath queries with various output formats

  4. json-validate

    Validate JSON structure and syntax with detailed diagnostics

  5. json-help

    Interactive help system with comprehensive examples and troubleshooting