Postgres MCP
Rank #16,088io.github.edelciomolina/postgres-mcp
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
Postgres MCP is a Model Context Protocol (MCP) server published by edelciomolina. It ranks #16,088 of 132,046 servers tracked on MCP Toplist, and its repository has 5 GitHub stars. Postgres MCP is listed across 3 registries — Official MCP, PulseMCP and Glama, with 11 tracked versions. It was first listed on Jun 6, 2026 and most recently updated on Jun 11, 2026.
Ranks ahead of 115,958 of 132,046 servers on MCP Toplist.
Use Postgres MCP
No credentials or required configuration declared — add it to your MCP client and go.
claude mcp add postgres-mcp -e "MCP_KEY_HOST=<your MCP_KEY_HOST>" -e "MCP_KEY_PORT=<your MCP_KEY_PORT>" -e "MCP_KEY_NAME=<your MCP_KEY_NAME>" -e "MCP_KEY_USER=<your MCP_KEY_USER>" -e "MCP_KEY_PASS=<your MCP_KEY_PASS>" -e "MCP_KEY_SSLMODE=<your MCP_KEY_SSLMODE>" -- npx -y @edelciomolina/postgres-mcpReplace each placeholder with your own value before saving.
[mcp_servers.postgres-mcp]
command = "npx"
args = ["-y", "@edelciomolina/postgres-mcp"]
[mcp_servers.postgres-mcp.env]
MCP_KEY_HOST = "<your MCP_KEY_HOST>"
MCP_KEY_PORT = "<your MCP_KEY_PORT>"
MCP_KEY_NAME = "<your MCP_KEY_NAME>"
MCP_KEY_USER = "<your MCP_KEY_USER>"
MCP_KEY_PASS = "<your MCP_KEY_PASS>"
MCP_KEY_SSLMODE = "<your MCP_KEY_SSLMODE>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"env": {
"MCP_KEY_HOST": "<your MCP_KEY_HOST>",
"MCP_KEY_PORT": "<your MCP_KEY_PORT>",
"MCP_KEY_NAME": "<your MCP_KEY_NAME>",
"MCP_KEY_USER": "<your MCP_KEY_USER>",
"MCP_KEY_PASS": "<your MCP_KEY_PASS>",
"MCP_KEY_SSLMODE": "<your MCP_KEY_SSLMODE>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"env": {
"MCP_KEY_HOST": "<your MCP_KEY_HOST>",
"MCP_KEY_PORT": "<your MCP_KEY_PORT>",
"MCP_KEY_NAME": "<your MCP_KEY_NAME>",
"MCP_KEY_USER": "<your MCP_KEY_USER>",
"MCP_KEY_PASS": "<your MCP_KEY_PASS>",
"MCP_KEY_SSLMODE": "<your MCP_KEY_SSLMODE>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"postgres-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"env": {
"MCP_KEY_HOST": "<your MCP_KEY_HOST>",
"MCP_KEY_PORT": "<your MCP_KEY_PORT>",
"MCP_KEY_NAME": "<your MCP_KEY_NAME>",
"MCP_KEY_USER": "<your MCP_KEY_USER>",
"MCP_KEY_PASS": "<your MCP_KEY_PASS>",
"MCP_KEY_SSLMODE": "<your MCP_KEY_SSLMODE>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"env": {
"MCP_KEY_HOST": "<your MCP_KEY_HOST>",
"MCP_KEY_PORT": "<your MCP_KEY_PORT>",
"MCP_KEY_NAME": "<your MCP_KEY_NAME>",
"MCP_KEY_USER": "<your MCP_KEY_USER>",
"MCP_KEY_PASS": "<your MCP_KEY_PASS>",
"MCP_KEY_SSLMODE": "<your MCP_KEY_SSLMODE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
],
"env": {
"MCP_KEY_HOST": "<your MCP_KEY_HOST>",
"MCP_KEY_PORT": "<your MCP_KEY_PORT>",
"MCP_KEY_NAME": "<your MCP_KEY_NAME>",
"MCP_KEY_USER": "<your MCP_KEY_USER>",
"MCP_KEY_PASS": "<your MCP_KEY_PASS>",
"MCP_KEY_SSLMODE": "<your MCP_KEY_SSLMODE>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.edelciomolina%2Fpostgres-mcp)<a href="https://mcptoplist.com/server/io.github.edelciomolina%2Fpostgres-mcp"><img src="https://mcptoplist.com/badge/io.github.edelciomolina%2Fpostgres-mcp.svg" alt="MCP Toplist: Top 25% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 3 registries
edelciomolina
Available versions (11)
| Version | Published |
|---|---|
| 1.7.0 | Jun 11, 2026 |
| 1.6.0 | Jun 11, 2026 |
| 1.0.13 | Jun 7, 2026 |
| 1.0.12 | Jun 6, 2026 |
| 1.0.11 | Jun 6, 2026 |
| 1.0.10 | Jun 6, 2026 |
| 1.0.9 | Jun 6, 2026 |
| 1.0.5 | Jun 6, 2026 |
| 1.0.4 | Jun 6, 2026 |
| 1.0.3 | Jun 6, 2026 |
| 1.0.1 | Jun 6, 2026 |
Frequently asked questions
- Who maintains Postgres MCP?
- Postgres MCP is maintained by edelciomolina, which publishes 1 MCP server (11 total versions) tracked on MCP Toplist.
- Is Postgres MCP listed on the Official MCP Registry?
- Yes — Postgres MCP is listed on the Official MCP Registry, alongside PulseMCP and Glama.
- How many versions does Postgres MCP have?
- MCP Toplist tracks 11 versions of Postgres MCP, most recently published on Jun 11, 2026.
- Where can I find the source code for Postgres MCP?
- The source code for Postgres MCP is hosted at github.com/edelciomolina/postgres-mcp.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.