Safely run read-only PostgreSQL queries with auditing and built-in safeguards.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "pgmcp" yet — see the docs or source repo.
Use pgmcp to run a read-only PostgreSQL query that counts orders for each of the last 7 days and returns the results sorted by date ascending.
A daily summary of order counts is returned without modifying the database.
Use pgmcp to query the top 20 highest-value transactions, returning transaction time, user ID, and amount.
A capped list of high-value transactions is returned for quick investigation.
Use pgmcp to read 10 sample rows from the customers table so I can understand the fields, and do not perform any write operations.
A small sample of rows is returned for inspection while keeping access read-only.
When developers or DevOps engineers need to inspect production PostgreSQL data, this tool reduces the risk of accidental changes through read-only querying. Its single-statement SELECT guard and row caps help improve safety.
Data analysts can run constrained PostgreSQL queries to investigate business issues or validate metrics. Row caps and per-identity audit logging help control access and track usage.
It is an MCP tool for safely running read-only queries against PostgreSQL databases. The provided description says it includes defense-in-depth protections such as a single-statement SELECT guard, row caps, and per-identity audit logging.
Based on the description, it is focused on read-only querying. No support for write operations is stated, so it should be treated as not intended for inserts, updates, or deletes.
Known protections include a single-statement SELECT guard, row caps, and per-identity audit logging. Together, these mechanisms help reduce misuse and data access risk.
Safely query, inspect, and analyze PostgreSQL databases in read-only mode.
Access PostgreSQL in read-only mode for queries, tables, and schema inspection.
Safely explore PostgreSQL schemas and run controlled read or write queries.
Query any Postgres database in natural language for fast insights.
Safely inspect PostgreSQL schemas and run read-only queries for analysis.
Safely explore PostgreSQL schemas and run read-only SELECT queries with AI.