Install Postgres in Claude Code
This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:
claude mcp add javimaligno-postgres -- <command to start the server>Frequently asked questions
What does the Postgres MCP server do?
PostgreSQL querying, schema exploration and table analysis, read-only by default with SQL injection prevention.
Is the Postgres MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does Postgres run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add Postgres to Claude Code?
Follow the install steps in the project's README at https://github.com/JaviMaligno/postgres_mcp, then register it with "claude mcp add".
More databases MCP servers
View allSchemaBrain
Arun-kc/schemabrain
Read-only Postgres access with SQL compiled from your own definitions, PII refusal and a tamper-evident audit chain.
CockroachDB
amineelkouhen/mcp-cockroachdb
A Model Context Protocol server for managing, monitoring, and querying data in CockroachDB.
LoreConvo
labyrinth-analytics/loreconvo
Local-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud.
The Nothing
Meador793/the-nothing
Mr. Decoupler: a do-nothing MCP seam between AI and your databases. Sometimes less is more.
PostgreSQL
neverinfamous/postgres-mcp
Enterprise PostgreSQL MCP server with 63 tools, 10 resources, 10 prompts for AI-native operations
Terminal
mkpvishnu/terminal-mcp
MCP server for interactive terminal sessions — SSH, REPLs, database CLIs, TUI apps