io.github.sparta2025/postgres-mcp MCP Server
io.github.sparta2025/postgres-mcp
What this kind of tool is for
- Query, inspect, or seed a database without writing a one-off script.
- Let your agent look up schema details before it writes migration code.
- Move a small dataset between tools without leaving the terminal.
How to compare servers like this
- Engine match:
- Confirm it speaks your exact database and version, not just the family.
- Access scope:
- Read-only connections are the safe default — start there before granting writes.
- Safety rails:
- Check whether destructive statements need an explicit confirmation before they run.
- Maintenance signal:
- Database drivers change; a recently updated tool is less likely to break mid-query.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the io.github.sparta2025/postgres-mcp MCP server?
PostgreSQL MCP server with 15 tools (SQL, EXPLAIN, health, indexes) plus a Gradio UI with LLM chat.
How to install io.github.sparta2025/postgres-mcp
Copy-paste configuration for popular MCP clients.
DATABASE_URLrequiredsecretPostgreSQL connection URL, e.g. postgresql://user:pass@localhost:5432/dbname
{
"mcpServers": {
"postgres-mcp": {
"command": "uvx",
"args": [
"postgres-mcp-pro"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Related MCP servers
Data marketplace for AI agents: quality-scored datasets, compliance checks, x402 USDC payments.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Safe, local SQLite database operations for MCP clients with read, write, schema, and transaction tools.
Query and manage Turso SQLite databases directly from Claude and other LLMs with secure read/write separation.
PC game prices from Steam, GOG, Gamivo, G2A, Kinguin: deals and upcoming releases.
View repository →
Speak AI
Search recordings, summarize meetings, create clips, and automate workflows from your AI assistant.

