jsonskim-mcp
v0.2.0
Published
MCP server for jsonskim - JSON structure extraction for LLMs
Maintainers
Readme
jsonskim-mcp
MCP (Model Context Protocol) server for jsonskim - JSON structure extraction for LLMs.
Installation
Claude Desktop / Cursor / MCP-compatible clients
Add to your config file:
- Claude Desktop:
claude_desktop_config.json - Cursor:
.cursor/mcp.json
{
"mcpServers": {
"jsonskim": {
"command": "npx",
"args": ["-y", "jsonskim-mcp"]
}
}
}Config file locations:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Global Install
npm install -g jsonskim-mcpTools
jsonskim_extract
Extract JSON structure by collapsing arrays and truncating strings.
Parameters:
| Name | Type | Default | Description |
|------|------|---------|-------------|
| json_input | string | - | JSON string to process |
| file_path | string | - | Path to JSON file (alternative) |
| array_limit | number | 1 | Array items to retain |
| string_limit | number | 64 | Max string length |
| compact | boolean | false | Compact output |
jsonskim_analyze
Analyze JSON and return structure statistics.
Parameters:
json_inputorfile_path
Returns: Analysis report with depth, counts, and collapsed schema.
Example
In Claude:
Use jsonskim_extract on this:
{"users": [{"id": 1}, {"id": 2}], "total": 2}
Output:
{
"users": [{"id": 1}],
"total": 2
}Requirements
- Node.js >= 18
- jsonskim binary (bundled or in PATH)
License
MIT
