- Home
- MCP servers
- JSON
JSON
- javascript
13
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"vadimnastoyashchy-json-mcp": {
"command": "json-mcp-server",
"args": []
}
}
}The JSON MCP server lets you efficiently interact with JSON data through an LLM, enabling you to split, merge, locate specific data, and validate JSON content against defined conditions. It’s lightweight, fast, and designed to be easy for your AI workflows to process JSON files directly.
How to use
You use the JSON MCP server by running it locally or via an executable command, then connecting your MCP client (such as an LLM-integrated tool) to perform tasks like splitting a large JSON into smaller objects, merging multiple JSON files into one, or querying for specific data within a JSON structure. Your client issues requests that trigger the server’s split, merge, find, and validate operations, and you receive structured JSON results suitable for further processing in your AI workflows.
How to install
Prerequisites: you need Node.js and npm installed on your machine. You will either install the MCP server globally or run it on demand with npx.
# Install the JSON MCP server globally
npm install -g json-mcp-server@latest
# Run after global installation
json-mcp-server
# Or use npx to run the latest version without installing globally
npx json-mcp-server@latest
Additional notes
Two primary ways to run the server are shown: a global installation command and an npx-based run command. You can also configure the server in development environments like VS Code or Claude Desktop where the CLI or GUI can start the MCP server using the same underlying npm/npx commands.
If you are configuring in an editor, you can supply the same runtime via the editor’s MCP integration, using the command npx with the argument json-mcp-server@latest to start the server.
Available tools
split
Split a JSON file into a specified number of objects, requiring a file path to locate the source JSON.
merge
Merge multiple JSON files from a folder into a single JSON file.
find
Find specific data within a JSON structure based on defined criteria.
validate
Validate JSON content against defined conditions or schemas.