Loading MCP server directory, please wait...
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
npx @getmcp/cli add io.github.sparta2025/postgres-mcpRequires Python 3.10+. Community-contributed server. Review source before installing.
DATABASE_URLPostgreSQL connection URL, e.g. postgresql://user:pass@localhost:5432/dbname
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.sparta2025/postgres-mcp": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": ""
}
}
}
}