About Pgconsole
Pgconsole is an MCP server published by pgplex in the Blockchain category: minimal Postgres editor for speed, collaboration, and AI. Conduid read 7 tools from its source: describe_table, explain_query, list_connections, list_objects, query, run_ddl and 1 more. It is published to npm as @pgplex/pgconsole and starts with npx.
The repository has 164 stars and 13 forks, is licensed Apache-2.0, and its last commit was on 30 Oct 2026. Conduid has no tagged release on record for it. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include aurora-postgresql, cloudsql-postgres, datagrip, dbeaver, gitops and navicat.
Install
claude mcp add pgconsole -- npx -y @pgplex/pgconsolenpx -y @pgplex/pgconsolegit clone https://github.com/pgplex/pgconsoleTools (7)
describe_tableFull detail for one table/view: columns and types, primary/foreign keys, indexes, constraints, and comments.| Parameter | Type | Description |
|---|---|---|
| schema * | string | Schema name. |
| table * | string | Table or view name. |
explain_queryReturn the query plan for a single SELECT statement. With `analyze` the statement is actually executed to gather runtime stats (requires the same permissions as running it).| Parameter | Type | Description |
|---|---|---|
| analyze | boolean | Run the statement and report actual timing (EXPLAIN ANALYZE). |
| buffers | boolean | Include buffer usage (requires analyze on most servers). |
| format | string | Output format (default text). |
| sql * | string | A single SELECT statement (without the EXPLAIN prefix). |
list_connectionsList the Postgres connections this token can access, with the IAM permissions granted on each.list_objectsBrowse a connection's catalog. Omit `schema` to list schemas with object counts. With `schema`, returns a paginated, filterable list of tables/views (name, kind, estimated rows, size, comment). Navigate top-down; pass the `nextCursor` from a prior response as `cursor` to fetch the next page.| Parameter | Type | Description |
|---|---|---|
| cursor | string | Pagination cursor (`nextCursor`) returned by a prior call. |
| kind | string | Filter by object kind. |
| nameFilter | string | Case-insensitive substring match on object name. |
| schema | string | Schema name. Omit to list schemas. |
queryRun a read-only statement (SELECT, SHOW, …) and return the rows. Results are capped at ${MAX_RESULT_ROWS} rows; when capped, `truncated` is true and `rowCount` is the full total — narrow with LIMIT/WHERE or a smaller `maxRows`.| Parameter | Type | Description |
|---|---|---|
| maxRows | integer | Max rows to return (default and hard cap ${MAX_RESULT_ROWS}). Rows beyond this are dropped and `truncated` is set. |
| sql * | string | A read-only statement, e.g. SELECT or SHOW. |
run_ddlRun a schema-changing statement (CREATE / ALTER / DROP / GRANT / REVOKE / ...).| Parameter | Type | Description |
|---|---|---|
| sql * | string | A DDL statement. |
write_dataRun a data-modifying statement (INSERT / UPDATE / DELETE / COPY). Returns affected row count and any RETURNING rows.| Parameter | Type | Description |
|---|---|---|
| sql * | string | An INSERT, UPDATE, DELETE, or COPY statement. |
Security checks
- ✓README presentThe repository's README runs to about 842 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 347 source files and found 1 call to eval or shell execution, in vite.config.ts. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
README
The repository's README runs to about 842 words, fetched 12 days ago. The original in the repository is authoritative.
Read full README