Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / pgsql-mcp-server

pgsql-mcp-server

pgsql-mcp-server is an MCP server, listed under databases. It reaches postgres. It needs DB_PASSWORD and POSTGRES_PASSWORD to authenticate. Its repository has 12 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

一款用golang实现的操作pg数据库的mcp server,支持创建表、查询表、插入数据,查看数据,分析sql语句等功能,欢迎共建!!!

Install

MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. pgsql-mcp-server’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.

What it reaches, and what it needs

Reaches
postgres
Credential
DB_PASSWORD, POSTGRES_PASSWORD

Maintenance

Stars
12
State
stale
Licence
MIT
From the repository

一款用golang实现的操作pg数据库的mcp server,支持创建表、查询表、插入数据,查看数据,分析sql语句等功能,欢迎共建!!!

pgsql-mcp-server compared with similar servers

pgsql-mcp-server compared with the closest alternatives, by services reached, credentials, stars, last update and licence
ServerReachesNeedsStarsLast updateLicence
pgsql-mcp-server (this page)postgresDB_PASSWORD, POSTGRES_PASSWORD122025-08-24MIT
dbhubmysql, postgres, sqlite(1 shared)None listed3,7022026-10-21MIT
tiger-clipostgres(1 shared)None listed1262026-10-24Apache-2.0
pluggedin-appnext, nextauth, pluggedin, postgres, redis(1 shared)NEXTAUTH_SECRET, NEXT_SERVER_ACTIONS_ENCRYPTION_KEY, PLUGGEDIN_API_KEY, POSTGRES_PASSWORD, REDIS_PASSWORD1032026-10-21MIT
notifydjwt, notifyd, postgres, resend(1 shared)ADMIN_API_KEY, JWT_SECRET, NOTIFYD_ADMIN_API_KEY, NOTIFYD_API_KEY, RESEND_API_KEY172026-10-21MIT
Easy-Postgres-MCPpostgres, postgresql(1 shared)None listed132025-06-15—

Ranked by services in common with pgsql-mcp-server, then by stars. Figures are from each repository when we last read it.

Common questions about pgsql-mcp-server

What does pgsql-mcp-server do?
一款用golang实现的操作pg数据库的mcp server,支持创建表、查询表、插入数据,查看数据,分析sql语句等功能,欢迎共建!!!
How do I install pgsql-mcp-server?
Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/leixiaotian1/pgsql-mcp-server
What does pgsql-mcp-server connect to, and what does it need?
It reaches postgres. The credentials we found in its source are DB_PASSWORD and POSTGRES_PASSWORD.
Is pgsql-mcp-server official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 12 GitHub stars and its state in our directory is stale. Its last commit we recorded was on 2025-08-24.
What licence does pgsql-mcp-server use?
The repository declares the MIT licence.

More MCP servers for databases

All databases entries →

Learn this on Infrato