
Rust PostgreSQL MCP
by iwanbk
High-performance PostgreSQL MCP server written in Rust for database schema discovery and data querying.
What it does
Connects AI models directly to PostgreSQL databases, allowing them to explore database schemas, list tables, and retrieve specific table structures to better understand and query data.
Tools
list_tables: Lists all tables in the connected PostgreSQL database.get_schema: Returns detailed schema information for a specific table, including columns and indexes.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"rust-postgresql-mcp": {
"command": "/path/to/rspostgresmcp",
"args": ["--dsn", "postgres://username:password@localhost:5432/database", "--addr", "127.0.0.1:9000"]
}
}
}
Supported hosts
- Claude Desktop
Quick install
./target/release/rspostgresmcp --dsn 'postgres://username:password@localhost:5432/database' --addr '127.0.0.1:9000'Information
- Pricing
- free
- Published
- 5/6/2026
- stars





