L'Agora
MCPLocal

AISchemaGate and DataContractGate

io.github.nightmoose/contractgate

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

Repository
github.com/nightmoose/contractgate
Website
app.datacontractgate.com/mcp-reference.md
Version
0.4.3
Author
nightmoose (namespace verified by the registry)
Source
Official MCP registry (updated Nov 27, 2026)

How to install it

Variables to fill in: CONTRACTGATE_API_KEY, CONTRACTGATE_BASE_URL.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add contractgate -e CONTRACTGATE_API_KEY=YOUR_CONTRACTGATE_API_KEY -e CONTRACTGATE_BASE_URL=YOUR_CONTRACTGATE_BASE_URL -- npx -y @nightmoose/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "contractgate": {
      "command": "npx",
      "args": [
        "-y",
        "@nightmoose/[email protected]"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "YOUR_CONTRACTGATE_API_KEY",
        "CONTRACTGATE_BASE_URL": "YOUR_CONTRACTGATE_BASE_URL"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "contractgate": {
      "command": "npx",
      "args": [
        "-y",
        "@nightmoose/[email protected]"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "YOUR_CONTRACTGATE_API_KEY",
        "CONTRACTGATE_BASE_URL": "YOUR_CONTRACTGATE_BASE_URL"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "contractgate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nightmoose/[email protected]"
      ],
      "env": {
        "CONTRACTGATE_API_KEY": "YOUR_CONTRACTGATE_API_KEY",
        "CONTRACTGATE_BASE_URL": "YOUR_CONTRACTGATE_BASE_URL"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.nightmoose/contractgate on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.nightmoose/contractgate on L’Agora](https://lagora.dev/badge/io.github.nightmoose/contractgate.svg?lang=en)](https://lagora.dev/en/entry/io.github.nightmoose/contractgate)

HTML

<a href="https://lagora.dev/en/entry/io.github.nightmoose/contractgate"><img src="https://lagora.dev/badge/io.github.nightmoose/contractgate.svg?lang=en" alt="io.github.nightmoose/contractgate on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry