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

Postgres MCP

Community

MCP server by edelciomolina · updated · ★ 5 · 38 downloads a week

Score 51

PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults. Postgres MCP is a community project by edelciomolina, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 131 days ago

Licence

No licence found, so reuse rights are unclear

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
MCP_KEY_HOSTEnvironment variableOptionalName of the .env variable that holds the database host
MCP_KEY_PORTEnvironment variableOptionalName of the .env variable that holds the database port
MCP_KEY_NAMEEnvironment variableOptionalName of the .env variable that holds the database name
MCP_KEY_USEREnvironment variableOptionalName of the .env variable that holds the database user
MCP_KEY_PASSEnvironment variableOptionalName of the .env variable that holds the database password
MCP_KEY_SSLMODEEnvironment variableOptionalName of the .env variable that holds the SSL mode (e.g. require)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Postgres MCP

Built from the published package, never by AI
claude mcp add postgres-mcp -- npx -y @edelciomolina/postgres-mcp

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

Step-by-step: install Postgres MCP 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 postgres-mcp block.

Weekly newsletter

Like Postgres MCP? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to Postgres MCP

All alternatives →

Postgres MCP: common questions

How do I install Postgres MCP?

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

Is Postgres MCP the official server?

Postgres MCP is a community project by edelciomolina, not verified by a company domain.

Is Postgres MCP free?

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

Is Postgres MCP safe to use?

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

What are alternatives to Postgres MCP?

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

Does Postgres MCP 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.

Add to stack

Loading.