
Api Contract Validator
This is a Cloudflare Workers-based validator that checks API responses against predefined contracts or schemas. The repository is minimal without much documentation, but the setup suggests it runs as a hosted MCP endpoint rather than a local integration. You'd reach for this when you need to verify that external APIs are returning data in the expected shape, especially useful for catching breaking changes or validating third-party integrations. Since it's deployed on Cloudflare's edge network, validation happens close to users with low latency. The streamable HTTP transport means Claude can call it directly without local setup, though you'll want to check the actual validation methods and supported schema formats before relying on it for production workflows.
- tools
- 5
- transport
- HTTP
- last updated
- May 16, 2026
Install
From registry metadata$ npx add-mcp https://api.lazy-mac.com/api-contract-validator/mcp --name api-contract-validatorRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http api-contract-validator https://api.lazy-mac.com/api-contract-validator/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 5 toolsVerified live against the running server on Nov 6, 2026.
validate_openapi_specValidate an OpenAPI 3.x or AsyncAPI spec JSON. Returns structural errors, missing required fields, and warnings.2 params
Validate an OpenAPI 3.x or AsyncAPI spec JSON. Returns structural errors, missing required fields, and warnings.
spec*objectstrictbooleandiff_request_responseCompare a real HTTP request/response against an OpenAPI spec contract. Returns per-field violations.3 params
Compare a real HTTP request/response against an OpenAPI spec contract. Returns per-field violations.
request*objectresponseobjectspec*objectlint_api_schemaLint an API spec for quality and best practice compliance. Rules: operation-id-kebab-case, response-success-required, tags-defined, no-empty-description, security-defined.2 params
Lint an API spec for quality and best practice compliance. Rules: operation-id-kebab-case, response-success-required, tags-defined, no-empty-description, security-defined.
rulesarrayspec*objectgenerate_mock_from_specGenerate mock response data from an OpenAPI spec. Uses examples, defaults, formats, and type heuristics.4 params
Generate mock response data from an OpenAPI spec. Uses examples, defaults, formats, and type heuristics.
methodstringpathstringspec*objectstatusCodestringcheck_breaking_changesCompare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.2 params
Compare two OpenAPI spec versions to detect breaking changes: removed paths/operations, new required parameters, removed response codes, operationId renames.
spec_new*objectspec_old*objectSponsors
Readme
Details
- Repository
- github.com/lazymac2x/api-contract-validator-api
- Category
- Cloud & Infrastructure
- Transport
- HTTP
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026
More from lazymac2x
- Api Diff Monitor
- Api Flow Analyzer
- Api Payload Auditor
- Api Perf Analyzer
- Api Request Deduplicator
- Api Response Cost Analyzer
- Api Schema Drift Detector
- Blog
- Citation Verifier
- Claude Skill Validator
- Code Explainer
- Code Pattern Risk Scanner
- Color Palette
- Cron Collision Detector
- Cron Monitor
- Cron Parser
- Crypto Signal
- Data Transform
- Diff Patch Tools
- Domain Intel
- Email Validator
- Embedding Search
- Env Blueprint Validator
- Font Metadata