ctxlint
ctxlint is a code linter designed specifically for AI agent context files. It can read context files such as CLAUDE.md, .cursorrules, AGENTS.md, .mcp.json, and cross-check them against the actual codebase, uncovering issues such as broken paths, incorrect commands, outdated references, contradictions between files, and hardcoded secrets in MCP configurations. The tool runs as a command line, can be used via npx without installation, and also supports local project installation. It can be integrated into CI, Git hooks, or run as an MCP server, offering features such as automatic fixes, watch mode, and token consumption statistics, and supports 16 AI tools and 8 MCP clients.