ctxlint
v0.30.0Lint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebase
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add ctxlint -- npx -y @yawlabs/ctxlint@0.30.0 serveAdd to
claude_desktop_config.json{
"mcpServers": {
"ctxlint": {
"args": [
"-y",
"@yawlabs/ctxlint@0.30.0",
"serve"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"ctxlint": {
"args": [
"-y",
"@yawlabs/ctxlint@0.30.0",
"serve"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"ctxlint": {
"args": [
"-y",
"@yawlabs/ctxlint@0.30.0",
"serve"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.ctxlint]
command = "npx"
args = ["-y", "@yawlabs/ctxlint@0.30.0", "serve"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ctxlint_audit, ctxlint_validate_path, ctxlint_token_report, ctxlint_fix, ctxlint_mcp_audit, ctxlint_session_audit, ctxlint_skill_audit.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json