mcpbeat Sign in

AISchemaGate and DataContractGate MCP Server

by nightmoose Your server? Claim it
local only

AISchemaGate and DataContractGate runs on your own machine — the client starts it, so there is no endpoint to ping. 288 installs a week from npm. Last commit 29 Oct 2026.

AISchemaGate validates and repairs structured LLM output against a contract, plus DataContractGate.

Installs per day peak 194 · avg 23 · +433% w/w
a month agotoday
288
Installs / week
npm · @nightmoose/contractgate-mcp-server
4
Stars
1 open issue
29 Oct 2026
Last commit
6 releases in 90 days
MIT
License
Rust

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a database query by concatenation src/storage/usage.rs:166
        ON CONFLICT (org_id, period) DO UPDATE
          SET events = org_monthly_usage.events + EXCLUDED.events,
Secret passed into the image build dashboard/Dockerfile:14
ARG NEXT_PUBLIC_API_KEY=""

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

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 contractgate -e 'CONTRACTGATE_API_KEY=<CONTRACTGATE_API_KEY>' -- npx -y @nightmoose/contractgate-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "contractgate": {
      "command": "npx",
      "args": [
        "-y",
        "@nightmoose/contractgate-mcp-server"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "<CONTRACTGATE_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.contractgate]
command = "npx"
args = ["-y", "@nightmoose/contractgate-mcp-server"]
env = { CONTRACTGATE_API_KEY = "<CONTRACTGATE_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "contractgate": {
      "command": "npx",
      "args": [
        "-y",
        "@nightmoose/contractgate-mcp-server"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "<CONTRACTGATE_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "contractgate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nightmoose/contractgate-mcp-server"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "<CONTRACTGATE_API_KEY>"
      }
    }
  }
}

Put your own value in place of <CONTRACTGATE_API_KEY> (DataContractGate API key (cg_live_...). Create one at https://app.datacontractgate.com/account). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: CONTRACTGATE_BASE_URL (Gateway base URL. Defaults to https://api.datacontractgate.com).

Alternatives to AISchemaGate and DataContractGate

same job, measured the same way
JSON Contracts
by json-contracts

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

49 installs/wk local only
JsonMend
by workers-mike-tusa-jsonmend

Repair broken JSON from LLM output and validate it against a JSON Schema.

2 tools answering
JSON Repair MCP
by grupoanesthy-spec

Repairs malformed JSON from LLM output, validated against a schema. Paid per call via Stripe.

41 installs/wk local only
Agentcast
by mukundakatta

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

38 installs/wk local only
GenPark JSON Schema Contract Validator
by alphaparkinc

Zero-dependency JSON schema subset validator ensuring LLM structured outputs strictly conform to con

local only
RichProof
by workers-mike-tusa-richproof

Validate JSON-LD structured data against the Schema.org vocabulary. Free; never fetches URLs.

1 tools answering
Talonic
by talonicdev

Extract structured, schema-validated data from PDFs, scans, images, spreadsheets, and forms.

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

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

62 installs/wk local only

AISchemaGate and DataContractGate — questions

Answers built from our own checks of this server.

Why is there no uptime for AISchemaGate and DataContractGate?
AISchemaGate and DataContractGate 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 @nightmoose/contractgate-mcp-server was installed 288 times last week.
How do I connect AISchemaGate and DataContractGate?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @nightmoose/contractgate-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use AISchemaGate and DataContractGate?
The npm package @nightmoose/contractgate-mcp-server was installed 288 times in the last week. Week over week that is +433%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is AISchemaGate and DataContractGate open source?
Yes — it is published under the MIT licence, written in Rust, 4 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.