modelcontextprotocol

postgres

Built by modelcontextprotocol 239 stars

What is postgres?

MCP server for PostgreSQL database operations

How to use postgres?

1. Install a compatible MCP client (like Claude Desktop). 2. Open your configuration settings. 3. Add postgres using the following command: npx @modelcontextprotocol/postgres 4. Restart the client and verify the new tools are active.
🛡️ Scoped (Restricted)
npx @modelcontextprotocol/postgres --scope restricted
🔓 Unrestricted Access
npx @modelcontextprotocol/postgres

Key Features

Native MCP Protocol Support
Real-time Tool Activation & Execution
Verified High-performance Implementation
Secure Resource & Context Handling

Optimized Use Cases

Extending AI models with custom local capabilities
Automating system workflows via natural language
Connecting external data sources to LLM context windows

postgres FAQ

Q

Is postgres safe?

Yes, postgres follows the standardized Model Context Protocol security patterns and only executes tools with explicit user-granted permissions.

Q

Is postgres up to date?

postgres is currently active in the registry with 239 stars on GitHub, indicating its reliability and community support.

Q

Are there any limits for postgres?

Usage limits depend on the specific implementation of the MCP server and your system resources. Refer to the official documentation below for technical details.

Global Ranking

9.4
Trust ScoreMCPHub Index

Based on codebase health & activity.

Manual Config

{ "mcpServers": { "postgres": { "command": "npx", "args": ["postgres"] } } }