# jsonshim

> jsonshim is an MCP server. Recovers malformed LLM JSON. MCP build: 218/300 on MALFORMED-300 (library build 282/300). It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://toolkitlabs.org/tools/jsonshim-mcp/
- **MCP Registry name:** org.toolkitlabs/jsonshim
- **Listing updated:** 2026-11-13

## About

Recovers malformed LLM JSON. MCP build: 218/300 on MALFORMED-300 (library build 282/300).

## Install

### Claude Code (Terminal)

```sh
claude mcp add jsonshim -- npx -y jsonshim-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "jsonshim": {
      "command": "npx",
      "args": [
        "-y",
        "jsonshim-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "jsonshim": {
      "command": "npx",
      "args": [
        "-y",
        "jsonshim-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "jsonshim": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "jsonshim-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "jsonshim": {
      "command": "npx",
      "args": [
        "-y",
        "jsonshim-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "jsonshim": {
      "command": "npx",
      "args": [
        "-y",
        "jsonshim-mcp"
      ]
    }
  }
}
```

## FAQ

### How do I add jsonshim to Claude Code?

Run this command in your terminal: claude mcp add jsonshim -- npx -y jsonshim-mcp

---
Source: https://ai-powered.com/mcp/jsonshim
