universal db mcp for Claude Code
io.github.fashad-ahmed/universal-db-mcp
Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.
client:Claude Code
transport:stdio
runtime:pypi
Install universal db mcp in Claude Code
run in your project directory
claude mcp add universal-db-mcp -e POSTGRES_URI=<POSTGRES_URI> -e SQLITE_PATH=<SQLITE_PATH> -e MYSQL_URI=<MYSQL_URI> -e DUCKDB_PATH=<DUCKDB_PATH> -e ALLOW_DESTRUCTIVE=<ALLOW_DESTRUCTIVE> -e MAX_RESULT_ROWS=<MAX_RESULT_ROWS> -- uvx universal-db-mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs