Skip to content
Claude Desktop

universal db mcp for Claude Desktop

io.github.fashad-ahmed/universal-db-mcp

Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.

client:Claude Desktop transport:stdio runtime:pypi

Install universal db mcp in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "universal-db-mcp": {
      "command": "uvx",
      "args": [
        "universal-db-mcp"
      ],
      "env": {
        "POSTGRES_URI": "<POSTGRES_URI>",
        "SQLITE_PATH": "<SQLITE_PATH>",
        "MYSQL_URI": "<MYSQL_URI>",
        "DUCKDB_PATH": "<DUCKDB_PATH>",
        "ALLOW_DESTRUCTIVE": "<ALLOW_DESTRUCTIVE>",
        "MAX_RESULT_ROWS": "<MAX_RESULT_ROWS>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

universal db mcp in other clients