# Pydanticcontract MCP

> Pydanticcontract MCP is a paid MCP server for developer tools. Hosted MCP server that validates Pydantic AI structured output and issues audit receipts. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Repository:** https://github.com/clauxel/pydantic-contract-mcp
- **MCP Registry name:** com.clauxel.pydanticcontract/pydanticcontract-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Pydantic Contract is a hosted remote server that checks whether structured output from Pydantic AI agents matches the expected schema. Clients connect over Streamable HTTP and call tools that validate a payload, diff two schemas, suggest fixes for failing output, and produce a receipt that records the result.

Beyond single checks, the service keeps usage logs and returns structured evidence that teams can attach to agent runs or CI pipelines, which helps when outputs need a traceable record. Access uses a bearer token issued from the product website, and production calls require that token.

It suits developers building agents on Pydantic AI who want contract checks outside their own code, and platform or QA teams that need an auditable trail of structured output in automated workflows.

## Features

- **Structured output validation:** Checks agent output against a Pydantic schema and returns a verdict.
- **Schema diffing:** Compares two schema versions to show what changed between them.
- **Repair hints:** Suggests how to correct output that fails validation.
- **Contract receipts:** Produces a structured record of each check for later review.
- **Usage logs:** Keeps a log of calls to support auditing and monitoring.
- **Remote MCP access:** Reachable from any MCP client that supports Streamable HTTP.

## Good for

- Validate structured responses from a Pydantic AI agent before passing them downstream
- Gate CI pipelines on schema compatibility when a data model changes
- Generate audit evidence for automated agent decisions
- Get concrete fix suggestions for malformed agent output

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http pydanticcontract-mcp https://pydanticcontract.clauxel.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "type": "http",
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://pydanticcontract.clauxel.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "type": "http",
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://pydanticcontract.clauxel.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add pydanticcontract-mcp --url https://pydanticcontract.clauxel.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.pydanticcontract-mcp]
url = "https://pydanticcontract.clauxel.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "httpUrl": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http pydanticcontract-mcp https://pydanticcontract.clauxel.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "serverUrl": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "url": "https://pydanticcontract.clauxel.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "type": "streamableHttp",
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "pydanticcontract-mcp": {
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://pydanticcontract.clauxel.com/mcp
```

Enter a Name (for example "Pydanticcontract MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pydanticcontract-mcp": {
      "type": "http",
      "url": "https://pydanticcontract.clauxel.com/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 4 tools reads data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `contract_validate` (name suggests: reads): Validates structured output against a contract.
- `schema_diff`: Compares two schemas and reports differences.
- `repair_hint`: Suggests fixes for invalid output.
- `contract_receipt`: Produces a receipt recording a contract check.

## FAQ

### How do I connect to the server?

Add the MCP endpoint to an MCP client that supports Streamable HTTP remote servers and send JSON-RPC requests with a bearer token.

### Is Pydanticcontract MCP free to use?

It is a paid hosted service; production calls require a bearer token issued from the product website, where the plans are listed.

### Which tools does Pydanticcontract MCP expose?

contract_validate, schema_diff, repair_hint and contract_receipt.

### Is the source code public?

The repository is a public documentation and directory reference; it does not contain the private production source code.

### How do I add Pydanticcontract MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http pydanticcontract-mcp https://pydanticcontract.clauxel.com/mcp

### What are the best alternatives to Pydanticcontract MCP?

The closest alternatives to Pydanticcontract MCP are RungLab DevTools MCP, JSON Contracts, Clianythingharness MCP, MCP Kinetic Gain and Agothe Agent Contract Preflight.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [RungLab DevTools MCP](https://ai-powered.com/mcp/runglab-devtools-mcp): RungLab DevTools MCP is a free MCP server for security.
- [JSON Contracts](https://ai-powered.com/mcp/json-contracts): JSON Contracts is an open-source MCP server for legal and government.
- [Clianythingharness MCP](https://ai-powered.com/mcp/clianythingharness-mcp): Clianythingharness MCP is a paid MCP server for developer tools.
- [MCP Kinetic Gain](https://ai-powered.com/mcp/mcp-kinetic-gain): MCP Kinetic Gain is an open-source MCP server for ai models and llm tooling.
- [Agothe Agent Contract Preflight](https://ai-powered.com/mcp/agothe-agent-contract-preflight): Agothe Agent Contract Preflight is an MCP server for legal and government.
- [MCP Schema Audit](https://ai-powered.com/mcp/mcp-schema-audit): MCP Schema Audit is a freemium MCP server for developer tools.
- [Chromedevtoolsmcp MCP](https://ai-powered.com/mcp/chromedevtoolsmcp-mcp): Chromedevtoolsmcp MCP is a paid MCP server for developer tools.
- [Futureagievals MCP](https://ai-powered.com/mcp/futureagievals-mcp): Futureagievals MCP is a paid MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/pydanticcontract-mcp
