MCP server
postgres-mcp
Runs locallyMITUpdated on Mar 21, 202633GitHub starsCan change dataNeeds an API key
A PostgreSQL MCP server written in Rust and installed with cargo.
What it does
A PostgreSQL MCP server written in Rust and installed with cargo. An agent registers one or more database connections by connection string, each pooled and given an ID, and can then run select queries, insert, update and delete records, create and drop tables and indexes, describe tables and list the tables in a schema. Statements are checked by a built-in SQL parser so that only the expected kind of operation runs for each command. It runs locally over stdio, or as an SSE server on a local port; the README shows it working in Cursor.
Capabilities
- Register and unregister PostgreSQL connections
- Run select queries
- Insert, update and delete records
- Create and drop tables and indexes
- Describe tables and list tables in a schema
About
- Publisher
- Tyr Chen
- Tool
- PostgreSQL
Install
- Run this to add it to Any client:
cargo install postgres-mcp
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | PostgreSQL | |
| Publisher | Tyr Chen | source |
| Official status | Community (not published by the tool's vendor) | source |
| Connection | Local (runs on your computer) | source |
| Can change data | Yes | source |
| Needs an API key or sign-in | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Mar 21, 202633 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- README (README.md)github.com/tyrchen/postgres-mcp · Backs: Can change data, Connection, Needs an API key or sign-inNov 12, 2026
- Licence file (LICENSE.md)github.com/tyrchen/postgres-mcp · Backs: LicenceNov 12, 2026
- GitHub repositorygithub.com/tyrchen/postgres-mcp · Backs: Official status, Publisher, Activity, LicenceNov 11, 2026
- GitHub API recordgithub.com/tyrchen/postgres-mcpNov 10, 2026