Stars541
Forks44
Open Issues10
协议stdio
Overview服务介绍
核心功能
项目 pg-mcp-server 是基于 Model Context Protocol (MCP) 构建的开源服务,采用 Python 开发。为大模型提供安全标准化的外部工具调用与资源交互通道。
适用场景
生产数据库只读排查、业务指标即席分析、数据模式自省。
适用职业
后端开发工程师、DBA、数据分析师。
Setup安装与配置
【快速安装与运行】
推荐使用包管理器直接启动:
`uvx pg-mcp-server`
【Claude Desktop / Cursor 客户端配置】
在 Claude Desktop 配置文件(MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`,Windows: `%APPDATA%\Claude\claude_desktop_config.json`)的 `mcpServers` 字段下添加:
```json
{
"mcpServers": {
"pg-mcp-server": {
"command": "uvx",
"args": [
"mcp-server-pg-server"
]
}
}
}
```
保存配置后重启客户端,即可在会话面板中检测到该 MCP 工具。
Client config客户端配置
把这段加到客户端配置文件的 mcpServers 字段下,保存后重启客户端即可识别。
{
"mcpServers": {
"pg-mcp-server": {
"command": "uvx",
"args": [
"mcp-server-pg-server"
]
}
}
}
Repository仓库信息
| 服务 ID | 299 |
|---|---|
| 仓库全名 | stuzero/pg-mcp-server |
| 数据来源 | GitHub |
| 所属分类 | 数据与存储 / 关系型数据库 / Postgres 数据库 |
| 通信协议 | stdio |
| 主要语言 | Python |
| 开源协议 | MIT License |
| 榜单排名 | #299 (来源榜单内名次) |
| 全站热度排名 | #207 (按 Stars 实时计算,共 588 条) |
GrowthStar / Fork 增长
数据还在累积
首次记录于 2026-09-23,要攒够两天的记录才画得出趋势。
Timeline时间线
仓库创建2025-03-25 22:46:012025-03-25
资料最后更新2026-09-23 15:17:521 个月前
最近一次代码推送2025-09-10 13:01:052025-09-10
Commit更新记录
由提交人 stuzero 提交,主要更新类型为:常规更新与维护。提交说明:Merge pull request #25 from rproenca/ollama-client。对项目做了常规维护与小幅调整。