About Postgres Schema MCP
Postgres Schema MCP is an MCP server published by eric-patton in the Search category: mCP server giving an AI agent read-only access to a PostgreSQL database: schema browsing, foreign-key maps, column search, capped SELECTs, and an offline data dictionary. Writes are rejected, with tests that prove it.
Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/eric-patton/postgres-schema-mcpThis 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 (9)
describe_tableColumns, types, nullability, defaults, keys, indexes, constraints and comments
Parameters not published.
explain_queryThe plan for a query. `ANALYZE` is off by default and opt-in
Parameters not published.
export_data_dictionaryWrite a Markdown data dictionary to a file
Parameters not published.
find_columnsSearch column names, and optionally types, across every schema
Parameters not published.
list_schemasSchemas with a count of what each holds. Start here.
Parameters not published.
list_tablesTables and views in one schema, largest first, with estimated rows and on-disk size
Parameters not published.
run_selectOne read-only query, with the guard, the timeout and the caps
Parameters not published.
sample_rowsThe first N rows of a table, redacted and capped
Parameters not published.
table_relationshipsFollow foreign keys in both directions, N hops deep
Parameters not published.
Ask AI
Ask AI about Postgres Schema MCP
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.