Description
pgconsole is a self-hosted PostgreSQL editor for teams. It ships as a single binary, configured by one TOML file, and it does not need a database of its own. The editor has access control and audit logging, plus full PostgreSQL IntelliSense for autocomplete, syntax highlighting and error detection. Its AI assistant can generate SQL from natural language, explain queries, fix errors and assess the risk of a change. You bring your own AI provider, and the site says your data never leaves your infrastructure. An MCP server lets agents use the same governed access as your team, and every tool call goes through the same IAM permissions and audit log as the console. Connections, users, groups and access rules live in pgconsole.toml, so access changes can be reviewed in pull requests the same way as code. The site describes use cases for teams, for individual developers and for bundling with a product. It can be started with npx @pgplex/pgconsole@latest or with a Docker image on port 9876, and a live demo is available.…
Highlights
- Self-hosted PostgreSQL editor in a single binary
- Access control and audit logging built in
- AI assistant for SQL, query explanations and fixes
- MCP server for agents with the same permissions
- Config in TOML that can be reviewed in pull requests
Ratings & Reviews
No ratings yet
Be the first to rate Pgconsole.
People also visit
Pgconsole FAQ
What is pgconsole?
A self-hosted PostgreSQL editor for teams, with access control, audit logging and AI assistance.
How do I run it?
Run npx @pgplex/pgconsole@latest, or use the docker run command with the pgplex/pgconsole image on port 9876. The site also has a live demo.
Does it need a database?
No. The site says it needs no database, because connections, users and access rules live in pgconsole.toml.
Where does my data go with the AI assistant?
You bring your own AI provider, and the site says your data never leaves your infrastructure.
How do agents connect?
Through the pgconsole MCP server, which uses the same IAM permissions and audit log as the console.
What are the best Pgconsole alternatives?
Popular alternatives to Pgconsole include Conar, Sqlchat and OrcaQ. See all Pgconsole alternatives









