AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

PostgreSQL Performance (read-only)

Community

MCP server by gouranshul · updated · ★ 0

Score 30

Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions PostgreSQL Performance (read-only) is a community project by gouranshul, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 3 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
PGPERF_DB_URLEnvironment variableRequiredJDBC URL of the database to diagnose. From inside the container, use host.docker.internal for a database on your machine, e.g. jdbc:postgresql://host.docker.internal:5432/mydb
PGPERF_DB_USEREnvironment variableRequiredA read-only role with pg_read_all_stats and pg_monitor (see docker/init.sql) Default: mcp_readonly
PGPERF_DB_PASSWORDEnvironment variable, secretRequiredPassword of that role
MCP_API_KEYEnvironment variable, secretRequiredBearer token clients must send, at least 16 characters (32+ random recommended)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install PostgreSQL Performance (read-only)

Built from the published package, never by AI
claude mcp add postgresql-performance-read-only -e PGPERF_DB_URL=YOUR_PGPERF_DB_URL -e PGPERF_DB_USER=YOUR_PGPERF_DB_USER -e PGPERF_DB_PASSWORD=YOUR_PGPERF_DB_PASSWORD -e MCP_API_KEY=YOUR_MCP_API_KEY -- docker run -i --rm -e PGPERF_DB_URL -e PGPERF_DB_USER -e PGPERF_DB_PASSWORD -e MCP_API_KEY ghcr.io/gouranshul/pg-perf-mcp:0.1.0

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install PostgreSQL Performance (read-only) in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the postgresql-performance-read-only block.

Weekly newsletter

Like PostgreSQL Performance (read-only)? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Alternatives to PostgreSQL Performance (read-only)

All alternatives →

PostgreSQL Performance (read-only): common questions

How do I install PostgreSQL Performance (read-only)?

In Claude Code run claude mcp add postgresql-performance-read-only -e PGPERF_DB_URL=YOUR_PGPERF_DB_URL -e PGPERF_DB_USER=YOUR_PGPERF_DB_USER -e PGPERF_DB_PASSWORD=YOUR_PGPERF_DB_PASSWORD -e MCP_API_KEY=YOUR_MCP_API_KEY -- docker run -i --rm -e PGPERF_DB_URL -e PGPERF_DB_USER -e PGPERF_DB_PASSWORD -e MCP_API_KEY ghcr.io/gouranshul/pg-perf-mcp:0.1.0. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is PostgreSQL Performance (read-only) the official server?

PostgreSQL Performance (read-only) is a community project by gouranshul, not verified by a company domain.

Is PostgreSQL Performance (read-only) free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is PostgreSQL Performance (read-only) safe to use?

It scores 30 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to PostgreSQL Performance (read-only)?

Similar MCP servers: Supabase, ArcadeDB MCP Server, MCP Toolbox for Databases, MCP Toolbox for Databases.

Does PostgreSQL Performance (read-only) work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.