codeDB Lens is a free, read-only diagnostic utility designed for SQL Server and PostgreSQL instances. By executing an extensive catalog of evidence-based rules without modifying server data or requiring heavy monitoring agents, it generates self-contained HTML and JSON reports complete with an A–F grade and coverage metrics. It features built-in Model Context Protocol (MCP) support, enabling AI assistants like Claude, Cursor, and GitHub Copilot to diagnose bottlenecks, explain corrective actions, and query schema and data safely within configurable guardrails.
主な機能
01Read-only, agentless health checks covering backups, bloat, locks, index health, and resource bottlenecks
02Zero telemetry with local credential storage and sensitive data redaction options
03Built-in MCP server integration for AI-powered diagnostics and controlled read-only schema/data exploration
048 GitHub stars
05Self-contained HTML and JSON reports featuring an A–F score, rule confidence levels, and an executive summary
06Instance timeline recording up to 24 hours to track performance and session behavior
ユースケース
01Performing pre-deployment and routine database health assessments without modifying production environments
02Enabling AI coding assistants to troubleshoot query performance, missing indexes, and database lockups via MCP
03Capturing short-term instance timelines and comparisons to resolve intermittent database latency issues