Home/Directory/Data & Databases/Postgres

Postgres

@crystaldba · github.com/crystaldba/postgres-mcp

All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks

ClaimedData & DatabasesstdioToolslocal auth
GitHub

Install one command

terminal
$ pipx install postgres-mcp

Or add it with the Claude CLI: claude mcp add crystaldba-postgres-mcp

Tools exposed 3 tools

analyze_query_workload
get_top_queries
analyze_query_indexes

Configuration generate & copy

Values are filled in locally in your browser — nothing is sent anywhere.

claude_desktop_config.json
{
  "mcpServers": {
    "crystaldba-postgres-mcp": {
      "command": "pipx",
      "args": ["install", "postgres-mcp"],
      "env": {
        "DATABASE_URI": "<your-database-uri>",
        "OPENAI_API_KEY": "<your-openai-api-key>"
      }
    }
  }
}

Paste the Claude Desktop snippet under mcpServers in your config, then restart Claude Desktop — or run the Claude Code command in your terminal.

Related

Similar servers

More in Data & Databases
Compare
@mindsdb

Connect and unify data across various platforms and databases with MindsDB as a single MCP server.

Data & DatabasesstdioRead-only no-auth
39.3k1w ago0 toolslocal
Install command unavailable — see repo
Compare
@mediar-ai

Local-first system capturing screen/audio with timestamped indexing, SQL/embedding storage, semantic search, LLM-powered history analysis, and event-triggered actions - enables building context-aware…

Data & DatabasesHTTPRead-only no-auth
19.2k5d ago1 toollocal
$npx screenpipe record
Compare
@topoteretes

Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources

Data & DatabasesstdioRead-only auth
17.8k5d ago0 toolslocal
$pip install cognee