AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

PostgreSQL

Community

MCP server by antonorlov · updated · ★ 24 · 983 downloads a week

Score 76

MCP server for PostgreSQL: local, Docker, RDS, Neon, Supabase, or behind an SSH bastion. PostgreSQL is a community project by antonorlov, not verified by a company domain.

Maintenance

Last commit 35 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

Install PostgreSQL

Built from the published package, never by AI
claude mcp add postgresql -- npx -y mcp-postgres-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install PostgreSQL in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the postgresql block.

Alternatives to PostgreSQL

All alternatives →

PostgreSQL: common questions

How do I install PostgreSQL?

In Claude Code run claude mcp add postgresql -- npx -y mcp-postgres-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is PostgreSQL the official server?

PostgreSQL is a community project by antonorlov, not verified by a company domain.

Is PostgreSQL free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is PostgreSQL safe to use?

It scores 76 of 100. Grades: maintenance B, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to PostgreSQL?

Similar MCP servers: Supabase, ArcadeDB MCP Server, MCP Toolbox for Databases, MCP Toolbox for Databases.

Does PostgreSQL work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.