Database Mcp Postgres
by github.com/arifulislamat · v0.5.0 · updated Oct 17, 2026
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @database-mcp/[email protected]Environment variables
POSTGRES_HOSTrequiredDatabase host
POSTGRES_USERrequiredDatabase user (a read-only user is recommended)
POSTGRES_PASSWORDsecretDatabase password (or use POSTGRES_PASSWORD_FILE)
POSTGRES_DATABASErequiredDatabase name
PyPI
uvx database-mcp-postgres==0.2.0Environment variables
POSTGRES_HOSTrequiredDatabase host
POSTGRES_USERrequiredDatabase user (a read-only user is recommended)
POSTGRES_PASSWORDsecretDatabase password (or use POSTGRES_PASSWORD_FILE)
POSTGRES_DATABASErequiredDatabase name
Cargo
database-mcp-rs-postgresEnvironment variables
POSTGRES_HOSTrequiredDatabase host
POSTGRES_USERrequiredDatabase user (a read-only user is recommended)
POSTGRES_PASSWORDsecretDatabase password (or use POSTGRES_PASSWORD_FILE)
POSTGRES_DATABASErequiredDatabase name
More from github.com/arifulislamat
Database Mcp Mariadb
github.com/arifulislamat
MCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged.
Database Mcp Mysql
github.com/arifulislamat
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
Database Mcp Libsql
github.com/arifulislamat
MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.
Database Mcp Sqlite
github.com/arifulislamat
MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
More MCP servers
Mpv Mcp Server
github.com/arijit-gogoi
Control mpv media player — playback, playlists, YouTube streaming, and downloads.
Dataxplan Mcp
github.com/arikanatakan
Read PostgreSQL EXPLAIN plans for AI agents: bottlenecks, estimation errors, fixes, charts.
Finvariant Mcp
github.com/arikanatakan
Financial-statement integrity checks (footing, tie-out) for AI agents.
Oee Mcp
github.com/arikanatakan
Overall Equipment Effectiveness tools for AI agents: factors, waterfall, six losses, charts.
Pmcontrols Mcp
github.com/arikanatakan
Project scheduling and earned value tools (CPM, PERT, crashing, EVM) for AI agents.
Revmng Mcp
github.com/arikanatakan
Revenue-management tools for AI agents: seat protection, overbooking, pricing, bid prices, charts.