Skip to main content

AISchemaGate and DataContractGate

io.github.nightmoose/contractgate

v0.4.1Updated Oct 28, 2026stdio · npm

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

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add contractgate -e 'CONTRACTGATE_API_KEY=<your-contractgate-api-key>' -- npx -y @nightmoose/[email protected]

Configuration

2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • CONTRACTGATE_API_KEY
    Env var· required· secret
    DataContractGate API key (cg_live_...). Create one at https://app.datacontractgate.com/account
  • CONTRACTGATE_BASE_URL
    Env var· optional
    Gateway base URL. Defaults to https://api.datacontractgate.com

Listed in the official MCP Registry since Oct 28, 2026. Mirrored daily; last checked Nov 26, 2026.