A blazing fast, type-safe MCP Server for AI Agents to interact with multiple PostgreSQL databases
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"postgres-mcp": {
"args": [
"-y",
"postgres-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This project implements a blazing fast, type-safe, and full-featured Model Context Protocol (MCP) Server designed for AI Agents (like Cursor, Claude Desktop) to interact with multiple PostgreSQL databases, including listing tables and inspecting schemas.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'postgres-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked postgres-mcp against OSV.dev.
Click any tool to inspect its schema.
List TablesGet a list of tables in a database
db://{dbAlias}/schema/tables
Inspect Table SchemaGet detailed column information for a specific table
db://{dbAlias}/schema/{tableName}
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
MCP Security Weekly
Get CVE alerts and security updates for Postgres Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.