
readonly-postgres MCP Server: Tools, Setup for Claude Code, Cursor & More
Not the official PostgreSQL MCP server. This one is built by the community. PostgreSQL makes its own: MCP Toolbox for Databases →
Let AI read your PostgreSQL database - without letting it write to it. A read-only PostgreSQL MCP server.
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install readonly-postgres MCP
Claude Code
- 1
Copy this prompt.
Add the readonly-postgres MCP server to Claude Code. Run this command: claude mcp add readonly-postgres -- npx -y readonly-postgres-mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
Built from the package data we hold. Not yet tested by us.
Tools
We don't list readonly-postgres MCP's tools here yet. After you connect it, ask your assistant "What can you do with readonly-postgres MCP?" to see them.
Security advisories
none published
No published security advisories as of Nov 1, 2026.
Information
updated Nov 2, 2026
- Publisher
- Community
- Package
readonly-postgres-mcp- Registry
- npm
- Version
- 0.3.0
- License
- MIT
- Last commit
- Sep 9, 2026
- Open issues
- 0