io.github.arifulislamat/database-mcp-postgres MCP Server
io.github.arifulislamat/database-mcp-postgres
What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the io.github.arifulislamat/database-mcp-postgres MCP server?
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
How to install io.github.arifulislamat/database-mcp-postgres
Copy-paste configuration for popular MCP clients.
POSTGRES_HOSTrequiredDatabase host
POSTGRES_USERrequiredDatabase user (a read-only user is recommended)
POSTGRES_PASSWORDsecretDatabase password (or use POSTGRES_PASSWORD_FILE)
POSTGRES_DATABASErequiredDatabase name
{
"mcpServers": {
"database-mcp-postgres": {
"command": "npx",
"args": [
"-y",
"@database-mcp/postgres"
],
"env": {
"POSTGRES_HOST": "<YOUR_POSTGRES_HOST>",
"POSTGRES_USER": "<YOUR_POSTGRES_USER>",
"POSTGRES_PASSWORD": "<YOUR_POSTGRES_PASSWORD>",
"POSTGRES_DATABASE": "<YOUR_POSTGRES_DATABASE>"
}
}
}
}Related MCP servers
MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.
MCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged.
MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

io.github.arijit-gogoi/mpv-mcp-server
Control mpv media player — playback, playlists, YouTube streaming, and downloads.
Read PostgreSQL EXPLAIN plans for AI agents: bottlenecks, estimation errors, fixes, charts.
