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 postgres -- <command to start the server>Frequently asked questions
What does the Postgres MCP server do?
Postgres development and operations: performance analysis, tuning and health checks.
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/crystaldba/postgres-mcp, then register it with "claude mcp add".
More databases MCP servers
View allLINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
DBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
Mindwtr
dongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
Nhost
nhost/nhost/cli
Official Nhost MCP server, bundled with the Nhost CLI. Lets AI coding assistants read your GraphQL schema, run the queries and mutations you allow, manage permissions and migrations, update Nhost Cloud project config, and search the docs.
Mysql
benborla/mcp-server-mysql
MySQL database integration with configurable access controls and schema inspection.
Kubeshark
kubeshark/kubeshark
Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.