Ctxlint
Lints AI context files and MCP configs against codebases to find drift, secrets, contradictions, and broken references.
Install Ctxlint
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"ctxlint": {
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint@latest"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Check agent instructions after renaming files or changing build tools
- Scan MCP and context configuration for embedded secrets
- Enforce context-file consistency in CI or pre-commit hooks
- Audit Claude Code hooks and memory after project changes
- Export lint findings as SARIF for GitHub Code Scanning
Key features
- Context, MCP configuration, and session-data linting
- Broken-path detection with Git-based auto-fix
- Command, contradiction, frontmatter, and token checks
- Secret, dead-hook, and stale-memory auditing
- Cross-project workflow, secret, and configuration checks
- Text, JSON, SARIF, watch mode, and MCP output
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 14d ago via OSV.dev · @yawlabs/ctxlint@latest (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Ctxlint works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Ctxlint
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ctxlint)<a href="https://allmcps.com/mcp/ctxlint"><img src="https://allmcps.com/api/badge/ctxlint?style=directory" alt="Ctxlint on AllMCPs" /></a>