FRENES

Databases · MCP server

Postgres MCP (crystaldba): MCP server, setup and security

Postgres MCP (crystaldba) is an open-source MCP server that lets an AI agent analyze Postgres performance, tune databases, and run health checks. Its repository has 3,425 stars and its last commit is from August 17, 2026 and it is licensed under MIT.

Actively maintainedTop 10% by stars

What Postgres MCP (crystaldba) does

According to its repository: “Postgres development and operations: performance analysis, tuning and health checks.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Postgres MCP (crystaldba) is listed under Databases, a category of 138 servers in the directory, where it ranks #5 by stars.

Installing and connecting Postgres MCP (crystaldba)

No package or remote server is declared in the official MCP registry: you install it from source, following the repository README.

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Postgres MCP (crystaldba). That does not replace reading the code.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on March 24, 2025, the crystaldba/postgres-mcp repository has 3,425 stars and 390 forks, with 52 open issues. It has more stars than 96% of the servers in the directory. Last change 2 months ago.

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

DbxDbx : 27.7K27.7KMCP Toolbox for DatabasesMCP Toolbox for Databases : 16.7K16.7KNhostNhost : 9.4K9.4KJitsuJitsu : 5.1K5.1KPostgres MCP (crystaldba)Postgres MCP (crystaldba) : 3.4K3.4KLINQ to DBLINQ to DB : 3.3K3.3KSupabaseSupabase : 3K3KMindwtrMindwtr : 2.3K2.3K
GitHub stars of the most followed servers in the category (log scale); Postgres MCP (crystaldba) in orange. Checked October 25, 2026.

Verdict

Postgres MCP (crystaldba) is one of the most solid servers in its category: followed, maintained and well framed.

Strengths

  • Active project: recent commit
  • Widely followed: 3.4K stars
  • Permissive licence (MIT)

Limitations

  • Install from source

Frequently asked questions

How do I install Postgres MCP (crystaldba)?

No package is declared in the MCP registry: clone the crystaldba/postgres-mcp repository, follow its README, then declare the start command in your client's MCP configuration.

Is Postgres MCP (crystaldba) free?

The code is published under the MIT licence and can be used free of charge.

Is Postgres MCP (crystaldba) safe?

No risk signal found (system access, secrets, licence, abandonment). As with any MCP server, keep rights minimal and read the code before sensitive use.

Is it an official server?

Nothing says so: it is a project published by crystaldba on GitHub. Check who maintains it before giving it access.

What are the alternatives to Postgres MCP (crystaldba)?

In the same category: Nhost, ArcadeDB MCP Server, Jitsu, and Supabase. Nhost and ArcadeDB MCP Server score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score