splitLABSCO SUMMARY
Two operations, and both work on paths rather than pasted text.
That is the point of it: the JSON you most want split is exactly the JSON too big to paste into a conversation. There is no partial mode — split takes a whole file, merge takes a whole folder.
What it is
A small Node server giving an assistant two file-level JSON operations: splitting one file into files of N objects each, and merging the JSON files in a folder into a single file.
What you get
split— break a JSON file into a chosen number of objects per file; you provide the file pathmerge— combine the JSON files in a folder into one; you provide the folder path- Both driven in plain language, for example "split the JSON file at /path/merged.json, 5 objects per file"
- Work done against files on disk, so a dataset too large to paste is still in reach
Requirements
Node. Run it with npx json-mcp-server@latest, or install globally with npm install -g json-mcp-server@latest and use json-mcp-server as the command. Paths are not optional — split needs a file path and merge needs a folder path.
Setup effort
One command — npx json-mcp-server@latest
USE CASES
Making an oversized JSON file workable
Split it into chunks of a size the rest of your tooling can actually load.
Reassembling exported data
Merge a folder of per-batch JSON exports back into one file.
Preparing test fixtures
Cut a large sample into equal pieces so each test run gets its own slice.
Doing it without writing a script
Ask for the operation in the chat and give the path; no throwaway Node script to maintain.
2 tools
Listed in project docs. Your client may show a different list.
mergeBEFORE YOU INSTALL
What to know first
Tools you get
2 tools named in the project's documentation.
Requires
npx on PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
npx json-mcp-server@latestMCP Clients
VS Code
{
"servers": {
"json-mcp-server": {
"command": "npx",
"args": [
"json-mcp-server@latest"
]
}
}
}