JSON contract registry and validator for structured LLM and agent outputs.
Connect Runs on your machine
claude mcp add json-contracts -e JSON_CONTRACTS_DIR=<JSON_CONTRACTS_DIR> -- npx -y [email protected]
{
"mcpServers": {
"json-contracts": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"JSON_CONTRACTS_DIR": "<JSON_CONTRACTS_DIR>"
}
}
}
}
{
"mcpServers": {
"json-contracts": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"JSON_CONTRACTS_DIR": "<JSON_CONTRACTS_DIR>"
}
}
}
}
{
"servers": {
"json-contracts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"JSON_CONTRACTS_DIR": "<JSON_CONTRACTS_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
JSON_CONTRACTS_DIROptional | Folder containing JSON contract files. Defaults to ./json-contracts. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 5 May 2026 |
| Last updated | 5 May 2026 |
| Registry name | io.github.json-contracts/json-contracts |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
