
Schemaguard
io.github.sethclawd-progPublished by GitHub account sethclawd-progv0.1.2Updated Oct 24, 2026
API Schema Drift Monitor — detect breaking changes in OpenAPI specs
Overview
Compares two OpenAPI specs to flag breaking API changes and lint spec quality, with CI-friendly exit codes and JSON output.
- What you can do
- SchemGuard is an API schema drift monitor that diffs an OpenAPI spec against a baseline and reports changes. It classifies findings as breaking (for example endpoint-removed, field-type-changed, enum-value-removed, auth-requirement-changed) or non-breaking (for example endpoint-added, description-changed, deprecated). It also lints a spec for issues such as missing operationId, missing descriptions, and absent security schemes, and can emit structured JSON for programmatic use.
- When to use it
- Useful when an assistant needs to check whether an API change would break downstream consumers before deployment, or to review spec quality. It fits CI pipelines and agent workflows that compare a current spec against a known-good baseline.
- Requirements
- Runs as a local process over stdio, installed from the npm package @sethclawd/schemaguard, so Node.js and npm are needed. No authentication, environment variables, or headers are declared. It reads local spec files.
Installation
In SourceWeft
- Open Schemaguard in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
SchemGuard
API Schema Drift Monitor — detect breaking changes in OpenAPI specs before they break your consumers.
Why
APIs break silently. A field gets renamed, an endpoint gets removed, an enum value disappears — and downstream consumers break in production. SchemGuard catches these before deploy.
Install
Usage
Diff two specs
Output:
CI mode
- Exit
0= no breaking changes, safe to deploy - Exit
1= breaking changes detected, blocks the pipeline - Exit
2= error (invalid spec, file not found)
Lint a spec
Checks for missing operationId, missing descriptions, no security schemes, etc.
JSON output
Returns structured JSON for programmatic consumption by agents and CI tools.
What it detects
Breaking changes (exit code 1)
Non-breaking changes (info only)
GitHub Actions
Programmatic API
License
MIT
Source: README.md at commit 3a87ea8
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts