Pgtuner MCP
pgtuner_mcp MCP server analyzes PostgreSQL performance, queries, indexes, bloat, I/O, vacuum activity, and health.
Install Pgtuner MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"pgtuner-mcp": {
"command": "uvx",
"args": [
"pgtuner_mcp"
],
"env": {
"DATABASE_URI": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env DATABASE_URI=YOUR_VALUE_HERE --transport stdio pgtuner-mcp -- uvx pgtuner_mcpRun in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx pgtuner_mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Investigate slow PostgreSQL queries and execution plans
- Recommend and test indexes with HypoPG
- Monitor database health, locks, waits, and active sessions
- Find table and index bloat requiring maintenance
- Review vacuum progress and PostgreSQL settings
Key features
- Slow-query and execution-plan analysis
- Hypothetical index testing with HypoPG
- Database health and active-query monitoring
- Table, index, and bloat analysis
- Disk I/O and wait-event diagnostics
- Vacuum and configuration review
Tools16
What Pgtuner MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 15d ago via OSV.dev · pgtuner_mcp (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Pgtuner MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Pgtuner MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pgtuner-mcp)<a href="https://allmcps.com/mcp/pgtuner-mcp"><img src="https://allmcps.com/api/badge/pgtuner-mcp?style=directory" alt="Pgtuner MCP on AllMCPs" /></a>