PostgreSQL MCP server for Model Context Protocol
Listed on its own since 2026-09-25. Until then it was part of agent-chat-mcp, where its earlier checks remain.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mapeg-postgres-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# PostgreSQL MCP Server [](https://python.org) [](https://modelcontextprotocol.io) [](LICENSE) [](https://pypi.org/project/mapeg-postgres-mcp/) A Model Context Protocol (MCP) server for PostgreSQL databases. Query, explore, and analyze your PostgreSQL databases directly from any MCP-compatible AI client. ## Features - **Execute SQL** — Run any SQL query with automatic result formatting - **Natural Language Queries** — Ask questions in plain English or Turkish - **Schema Exploration** — List tables, describe columns, view statistics - **Execution Plans** — EXPLAIN / EXPLAIN ANALYZE with buffer stats - **Query History** — Review past queries scoped to your database and workspace - **Read-Only Mode** — Optional write protection via `READ_ONLY=true` - **Zero Install** — Works with `uvx`, no virtual environment needed - **Structured Output** — Results come back as typed JSON (`columns`, `rows`, `row_count`, `duration_ms`), not an ASCII table you have to parse back - **Write Confirmation** — Any INSERT/UPDATE/DELETE/DROP is confirmed with the user before it runs, with an extra warning for the irreversible ones - **Prompts** — `analyze_table` and `optimize_query` as ready-made investigation flows ## Quick Start ### Claude Code ```bash claude mcp add postgres \ -e DB_HOST=localhost \ -e DB_PORT=5432 \ -e DB_NAME=mydb \ -e DB_USER=postgres \ -e DB_PASSWORD=secret \ -- uvx mapeg-postgres-mcp ``` ### Claude Desktop Add to your config file: - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json` ```json { "mcpServers": { "postgres": { "command": "uvx", "args": ["mapeg-postgres-mcp"], …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.