Loading page...
Loading page...
Run SQL queries against your PostgreSQL database from your AI assistant. Read-only by default, write mode optional.
Give your AI assistant direct access to your PostgreSQL database. Explore schemas, write and run queries, inspect tables, and analyze data without leaving your conversation.
Read-only by default. Set ALLOW_WRITES=true to enable INSERT/UPDATE/DELETE.
{
"mcpServers": {
"postgresql-query": {
"command": "npx",
"args": ["-y", "@mcpnodehub/postgresql-query"],
"env": {
"DATABASE_URL": "postgresql://user:pass@host:5432/dbname",
"ALLOW_WRITES": "false"
}
}
}
}