pgmcp
Rank #25,642io.github.pascalallen/pgmcp
Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.
pgmcp is a Model Context Protocol (MCP) server published by pascalallen. It ranks #25,642 of 132,046 servers tracked on MCP Toplist. pgmcp is listed across 2 registries — Official MCP and Glama, with 2 tracked versions. It was first listed on Aug 20, 2026 and most recently updated on Aug 20, 2026.
Ranks ahead of 106,404 of 132,046 servers on MCP Toplist.
Use pgmcp
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add pgmcp -e "PGMCP_DATABASE_URL=<your PGMCP_DATABASE_URL>" -- docker run -i --rm ghcr.io/pascalallen/pgmcp:1.1.0Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
[mcp_servers.pgmcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/pascalallen/pgmcp:1.1.0"]
[mcp_servers.pgmcp.env]
PGMCP_DATABASE_URL = "<your PGMCP_DATABASE_URL>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
{
"mcpServers": {
"pgmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/pascalallen/pgmcp:1.1.0"
],
"env": {
"PGMCP_DATABASE_URL": "<your PGMCP_DATABASE_URL>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
{
"mcpServers": {
"pgmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/pascalallen/pgmcp:1.1.0"
],
"env": {
"PGMCP_DATABASE_URL": "<your PGMCP_DATABASE_URL>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
{
"servers": {
"pgmcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/pascalallen/pgmcp:1.1.0"
],
"env": {
"PGMCP_DATABASE_URL": "<your PGMCP_DATABASE_URL>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
{
"mcpServers": {
"pgmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/pascalallen/pgmcp:1.1.0"
],
"env": {
"PGMCP_DATABASE_URL": "<your PGMCP_DATABASE_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
{
"mcpServers": {
"pgmcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/pascalallen/pgmcp:1.1.0"
],
"env": {
"PGMCP_DATABASE_URL": "<your PGMCP_DATABASE_URL>"
}
}
}
}Replace each placeholder with your own value before saving.
Published as mcp bundle `https://github.com/pascalallen/pgmcp/releases/download/v1.1.0/pgmcp_1.1.0.mcpb` — install it through your client’s extension manager.
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.pascalallen%2Fpgmcp)<a href="https://mcptoplist.com/server/io.github.pascalallen%2Fpgmcp"><img src="https://mcptoplist.com/badge/io.github.pascalallen%2Fpgmcp.svg" alt="MCP Toplist: Top 25% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries
pascalallen
Available versions (2)
| Version | Published |
|---|---|
| 1.1.0 | Aug 20, 2026 |
| 1.0.0 | Aug 20, 2026 |
Frequently asked questions
- Who maintains pgmcp?
- pgmcp is maintained by pascalallen, which publishes 1 MCP server (2 total versions) tracked on MCP Toplist.
- Is pgmcp listed on the Official MCP Registry?
- Yes — pgmcp is listed on the Official MCP Registry, alongside Glama.
- How many versions does pgmcp have?
- MCP Toplist tracks 2 versions of pgmcp, most recently published on Aug 20, 2026.
- Where can I find the source code for pgmcp?
- The source code for pgmcp is hosted at github.com/pascalallen/pgmcp.
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.