Documentation Index
Fetch the complete documentation index at: https://test-8862363a-chore-changelog-update-20260516064812.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.

Features
- Monitor slow queries and suggest optimizations
- Detect missing and unused indexes
- Open PRs with migration scripts
- MCP server for read-only database access during sessions
Installation
Add your connection string
Go to Integrations and click Connect next to Postgres, then enter your database connection string.
Usage
After connecting, Tembo can use Postgres tools to run queries against your database during sessions. Tembo also monitors your database usingpg_stat_statements. When it finds slow queries or missing indexes, it opens a PR with migration scripts and expected improvement metrics.
Requires pg_stat_statements extension: CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
Advanced
MCP server
MCP server
The Postgres MCP can access your database during sessions when querying would help complete the work.
Best practices
Best practices
You only need to provide a valid connection string. Always review migration PRs before merging, especially for large tables.