
JSON MCP
โ 14from VadimNastoyashchy
MCP server empowers LLMs to interact with JSON files efficiently. With JSON MCP, you can split, merge, etc.
JSON MCP
The Model Context Protocol (MCP) server empowers LLMs to efficiently interact with JSON files. With JSON MCP, you can split, merge, and find specific data, validate within JSON files based on defined conditions.
๐ Key Features
โ
Fast and lightweight
โ
LLM-friendly functionality
๐ฅ Demo
Below is a demo showcasing the split functionality:

๐ง Use Cases (Tools)
1. split
Split a JSON file into a specified number of objects.
Note: The file path must be provided.
Prompt Example:
Split JSON file from /Users/json-mcp/tests/merged.json
5 objects per file2. merge
Merge JSON files into a one JSON file
Note: The folder path should be provided
Prompt Example:
Merge json files from /Users/json-mcp/testsโ๏ธ Configuration
VS Code Manual Configuration
To configure the JSON MCP server manually in VS Code, update the User Settings (JSON) file:
{
"mcp": {
"servers": {
"json-mcp-server": {
"command": "npx",
"args": ["json-mcp-server@latest"]
}
}
}
}Installation in VS Code
You can install the JSON MCP server using the VS Code CLI:
# For VS Code
code --add-mcp '{"name":"json-mcp-server","command":"npx","args": ["json-mcp-server@latest"]}'After installation, the JSON MCP server will be available for use with your GitHub Copilot agent in VS Code.
Claude Desktop
To install json-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @VadimNastoyashchy/json-mcp --client claudeโ๏ธ Installation Server
Install globally
npm install -g json-mcp-server@latestRun after global installation
json-mcp-serverUsing npx with latest version (recommended)
npx json-mcp-server@latestnpx -y @smithery/cli install @VadimNastoyashchy/json-mcp --client claudeNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ