# pg_licht MCP server

> Allows an AI assistant to perform read-only inspection of PostgreSQL schemas, statistics, query plans, locks, and replication status.

- Repository: https://github.com/sqlambda/pg_licht
- Page: https://hostedmcp.org/servers/sqlambda/pg-licht
- Transport: —
- Stars: 11
- License: Apache-2.0

## Tools (2)

- `pattern`
- `web_search`

## FAQ

### Does this server return actual data from my tables?

No, the server is strictly read-only and never returns rows from your tables, focusing instead on the catalog and statistics.

### How is the read-only restriction enforced?

Read-only access is enforced by running every call in its own READ ONLY transaction with a statement timeout.

### Is it safe to use with sensitive data?

Yes, it is designed to minimize data leakage by only accessing the catalog and statistics views rather than table rows.
