PostgreSQL

Official

Official MCP server for PostgreSQL database operations

Category:Cloud & Database
52,462stars
Updated:Today
Live data

Zone Score

76%
Good
Popularity
Stars, forks, contributors
100%
Quality
Docs, license, topics
85%
Maintenance
Updates, issues, activity
40%

Claude Desktop Configuration

Add this to your Claude Desktop configuration file:

{
  "postgres": {
    "command": "npx",
    "args": [
      "-y",
      "@modelcontextprotocol/server-postgres"
    ],
    "env": {
      "DATABASE_URL": "postgresql://user:password@localhost:5432/dbname"
    }
  }
}

Requirements

  • PostgreSQL database (9.6 or higher)
  • Database connection credentials
  • Network access to database server

Setup Steps

  1. 1Ensure PostgreSQL is running and accessible
  2. 2Create a database user with appropriate permissions
  3. 3Install the server: npm install -g @modelcontextprotocol/server-postgres
  4. 4Configure with your database connection string

Detailed Metrics

Popularity

Stars
52,462
Forks
6,000
Watchers
52,462

Quality

Documentation
✓ Good
License
MIT License
Language
Python

Maintenance

Last Commit
Today
Open Issues
526
Contributors
1

Repository

Size
3.7 MB
Created
Nov 2024
Live data • Updated 3:49:39 AM

Quality Factors

Documentation

✓ Has README

Repository has a README with description

License

MIT License

Open source license for legal clarity

Test Coverage

Coming Soon

Automated tests ensure reliability

TypeScript

Coming Soon

Type safety for better developer experience

NPM Downloads

Coming Soon

Weekly download statistics from NPM

Security Scan

Coming Soon

Vulnerability detection and alerts

Related Servers