PostgreSQL

Official

Official MCP server for PostgreSQL database operations

Category:Cloud & Database
86,238stars
Updated:4 days ago
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
86,238
Forks
10,822
Watchers
86,238

Quality

Documentation
✓ Good
License
Other
Language
TypeScript

Maintenance

Last Commit
4d ago
Open Issues
522
Contributors
1

Repository

Size
28.4 MB
Created
Nov 2024
Live data • Updated 7:50:05 AM

Quality Factors

Documentation

✓ Has README

Repository has a README with description

License

Other

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

Related Blog Posts