mcp-postgres
mcp-postgres is an MCP server by GitHub Actions. Model Context Protocol server for PostgreSQL database operations. Its npm package was downloaded 493 times last week.
- Category
- Databases
- Author
- GitHub Actions
- GitHub stars
- Not on GitHub
- This week
- Tracking since 18 Oct 2026
- Weekly downloads
- 493
- Language
- JavaScript
- License
- MIT (open source)
- Last update
- 2026-10-19 (5 days ago)
- Links
- Sourcenpm
How to install mcp-postgres
mcp-postgres is published on npm as mcp-postgres, and it depends on @modelcontextprotocol/sdk. These steps assume it runs as a local stdio server, which is the usual setup.
- Check the README. Confirm the start command and note any API keys or environment variables it needs (pass them with
-e KEY=valueor anenvblock). You need Node.js fornpx. - Add it to Claude Code from a terminal:
claude mcp add mcp-postgres -- npx -y mcp-postgres - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_desktop_config.json:{ "mcpServers": { "mcp-postgres": { "command": "npx", "args": [ "-y", "mcp-postgres" ] } } } - Restart the client and check it. Run
claude mcp list, or open the client's MCP settings, and confirm mcp-postgres and its tools are listed. The install guide covers VS Code and Codex.
Also listed in
Maintain this project? Get it featured ($99/mo, pinned at the top of Databases) or see what featuring includes.
Report a problem with this listing
Frequently asked questions
What is mcp-postgres?
mcp-postgres is an MCP server by GitHub Actions in the Databases category. Model Context Protocol server for PostgreSQL database operations. Its npm package was downloaded 493 times last week. It is written in JavaScript. It is licensed under MIT. It was last updated 5 days ago.
Is mcp-postgres free and open source?
Yes. mcp-postgres is published under the MIT license, so you can run, modify and self-host it at no cost. If it connects to a paid service, that service's own pricing and API terms still apply. Check the repository for the exact license text before using it commercially.
What are the alternatives to mcp-postgres?
Other Databases projects on MCP Harbor include Chat2DB, dbx, mcp-toolbox. Each alternative links to its own page with stars, license and recent activity. The Databases category ranks all 630 by stars, and you can re-sort it by growth this week.
Alternatives to mcp-postgres
All 630 Databases MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.