Skip to content
MCP server

jsonloupe

Open huge JSON locally and give agents its shape, queries and exact values, not the blob

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, Web
Runs
Locally
Version
1.9.2
Listing updated
2 days ago

About jsonloupe

jsonloupe is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pasting a multi-megabyte JSON file into a chat wastes context and can silently corrupt large IDs. This server loads the file once into a local process and lets an agent ask about it in small steps: inspect its shape, profile fields, run queries, sample bounded slices, compare two documents, export exact results, or draft a spreadsheet mapping.

The site describes a 12-tool server and says the document stays in the server process. Numbers beyond 2^53 and precise decimals keep every digit, and queries use a JSONPath subset with filters and aggregation pipes. The README adds that a playbook of saved checks can gate an agent through run_checks, and gate CI through a jsonloupe check command.

It installs from npm and runs over stdio; the same engine also powers a browser app at jsonloupe.dev that the site says uploads nothing and is MIT licensed. Aimed at developers handling large API responses and exports.

Install

Run in a terminal

claude mcp add jsonloupe -- npx -y jsonloupe

Add to claude_desktop_config.json

{
  "mcpServers": {
    "jsonloupe": {
      "command": "npx",
      "args": [
        "-y",
        "jsonloupe"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "jsonloupe": {
      "command": "npx",
      "args": [
        "-y",
        "jsonloupe"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "jsonloupe": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "jsonloupe"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "jsonloupe": {
      "command": "npx",
      "args": [
        "-y",
        "jsonloupe"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "jsonloupe": {
      "command": "npx",
      "args": [
        "-y",
        "jsonloupe"
      ]
    }
  }
}

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

run_checks
Gates a document on the checks saved in a playbook file.

What it does

Shape-first inspection
Agents see the structure before pulling any values.
Exact numbers
Int64 IDs and precise decimals keep every digit.
Local querying
JSONPath-style filters, grouping and counts run locally.
Document comparison
Semantic diff aligns arrays by identity so reordering is not noise.
Compressed input
Opens Zstd, Base64-Zstd and PostgreSQL bytea blobs.
Checks and playbooks
Saved queries act as pass/fail checks, usable in CI.
Spreadsheet mapping
Nested JSON becomes linked tables exportable as Excel or CSV.

Good for

  • Let an agent explore a huge API response without loading it all
  • Verify that large IDs survive without rounding
  • Diff two exports while ignoring reordering
  • Turn nested JSON into linked spreadsheet tables
  • Run pass/fail checks on a JSON file in CI

Pricing

Open source

Free, MIT licensed

Prices change. Check jsonloupe.dev before you buy.

jsonloupe FAQ

How do I install it?

Run claude mcp add jsonloupe -- npx -y -p jsonloupe jsonloupe-mcp, as shown on the site.

Does my data leave my machine?

The site says documents are parsed locally with no backend, account or telemetry; optional English-to-query translation sends only the document shape to a model you configure.

What licence is it under?

The site shows MIT.

How many tools does it expose?

The site says 12.

Is jsonloupe free?

Yes. jsonloupe is open source, so you can use and self-host it for free.

How do I add jsonloupe to Claude Code?

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

What are the best alternatives to jsonloupe?

The closest alternatives to jsonloupe are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to jsonloupe

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools