mcpbeat Sign in

JSON Contracts MCP Server

by json-contracts Your server? Claim it
local only

JSON Contracts runs on your own machine — the client starts it, so there is no endpoint to ping. 53 installs a week from npm. Last commit 5 May 2026.

JSON contract registry and validator for structured LLM and agent outputs.

Installs per day peak 12 · avg 7 · -51% w/w
a month agotoday
53
Installs / week
npm · json-contracts
1
Stars
0 open issues
5 May 2026
Last commit
0 releases in 90 days
License
TypeScript

Nothing serious here today

Today is the operative word: we check JSON Contracts every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add json-contracts -- npx -y json-contracts
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "json-contracts": {
      "args": [
        "-y",
        "json-contracts"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.json-contracts]
command = "npx"
args = ["-y", "json-contracts"]
.cursor/mcp.json
{
  "mcpServers": {
    "json-contracts": {
      "args": [
        "-y",
        "json-contracts"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "json-contracts": {
      "args": [
        "-y",
        "json-contracts"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: JSON_CONTRACTS_DIR (Folder containing JSON contract files. Defaults to ./json-contracts.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to JSON Contracts

same job, measured the same way
Agentcast
by mukundakatta

Structured-output enforcer: extract and validate JSON from messy LLM text.

36 installs/wk local only
Qc Validator
by mdfifty50-boop

Output quality control and validation for AI agents

36 installs/wk local only
Streamparse
by mukundakatta

Parse partial / truncated / messy JSON for LLM tool calls and structured outputs.

34 installs/wk local only
Structured Data Validator
by agenson-horrowitz

Validate, transform, and normalize structured data for AI agents.

78 installs/wk local only
Structured Output MCP Traced Agent
by getvda

Structured Output MCP Traced Agent

2 tools answering
Structured Output Agent C2ddcc
by getvda

Traced Structured Output Agent (Groq)

2 tools answering
Structured Output MCP Agent Instructor
by getvda

Structured Output MCP Agent (Instructor)

2 tools answering
Structured Output Agent
by getvda

Structured Output MCP Agent

2 tools answering

JSON Contracts — questions

Answers built from our own checks of this server.

Why is there no uptime for JSON Contracts?
JSON Contracts runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package json-contracts was installed 53 times last week.
How do I connect JSON Contracts?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls json-contracts straight from npm; nothing to host, nothing to sign up for.
How many people use JSON Contracts?
The npm package json-contracts was installed 53 times in the last week. Week over week that is -51%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is JSON Contracts open source?
We cannot say either way: written in TypeScript and 1 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.