About Pg DB Reader
Pg DB Reader is an MCP server published by riefer02 in the Data category: read-only PostgreSQL MCP server for AI assistants, with safe query tools and multi-environment connection support.
The repository has 1 stars and 0 forks, with the last commit 20 days ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/riefer02/mcp-pg-db-readerThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (6)
database_queryRun a read-only SQL query (SELECT/WITH); supports `max_rows`, `offset`, `statement_timeout_ms`, `environment`
Parameters not published.
explain_query`EXPLAIN [ANALYZE]` for a query, JSON plan
Parameters not published.
get_all_schemasBulk dump: columns + primary keys (2 queries total) and optional `sample_data`
Parameters not published.
get_table_schemaColumns + primary keys for one table
Parameters not published.
health_checkDatabase + server connectivity check
Parameters not published.
list_tablesTables in the chosen schema
Parameters not published.
Ask AI
Ask AI about Pg DB Reader
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.