codeDB Lens
Read-only health checks and data questions for SQL Server and PostgreSQL, with your saved profiles.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
ghcr.io/codedb-io/codedb-lens:0.9.0claude mcp add codedb-lens -e 'CODEDB_LENS_PASSWORD=<your codedb_lens_password>' -- docker run -i --rm ghcr.io/codedb-io/codedb-lens:0.9.0 mcp --engine --server --user --database
{
"mcpServers": {
"codedb-lens": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/codedb-io/codedb-lens:0.9.0",
"mcp",
"--engine",
"--server",
"--user",
"--database"
],
"env": {
"CODEDB_LENS_PASSWORD": "<your codedb_lens_password>"
}
}
}
}
Environment variables
CODEDB_LENS_PASSWORDsecret password of the login
Frequently asked questions
What is codeDB Lens?
Read-only health checks and data questions for SQL Server and PostgreSQL, with your saved profiles.
How do I install codeDB Lens?
It runs on your machine. In Claude Code: claude mcp add codedb-lens -e 'CODEDB_LENS_PASSWORD=<your codedb_lens_password>' -- docker run -i --rm ghcr.io/codedb-io/codedb-lens:0.9.0 mcp --engine --server --user --database. For other clients, paste the JSON configuration from this page into their MCP settings.
Does codeDB Lens need an API key?
Yes. It expects CODEDB_LENS_PASSWORD, which you set in its configuration.
Is codeDB Lens open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains codeDB Lens?
It is published by codedb-io. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.