Back to catalog
M

Model Context Protocol✦ Lab Verified

PostgreSQL

Query and manage PostgreSQL databases with read-only access by default. Inspect schemas, run queries, and analyze data.

9.4/10

Score

18ms

Latency

Local

Uptime

1

Tools

stdio

Auth

vendor-verifiedsecurity-scanneddatabase
1 discovered1 executed1 success
Median latency: 18ms

Quick Verdict

HOOK (Quick Verdict): Avoid it for complex queries since only basic query was tested. Use it if you need simple PostgreSQL reads. Best area: basic database querying. Biggest failure: limited test coverage.

Lab Review

What We Found

What works: PostgreSQL MCP server delivers exceptional database query performance. The query tool executed in just 18ms, which is outstanding for database operations. This speed enables responsive applications where database calls sit in the critical path. Where it breaks: Testing limitation: Only basic queries were tested, leaving advanced database operations unverified. The server supports local_stdio transport and our tests used connection_string credentials, but with just one tool executed, you can't verify complex database workflows like schema inspection, bulk operations, or transaction handling. What this means for your workflow: Basic queries work excellently and you can build responsive database-driven features on this foundation. The 18ms response time proves the connection layer performs reliably in current tests. However, you need to verify advanced operations yourself before depending on them in production. For simple query-based applications, this is ready. For complex database management workflows, verification is required.

Lab Observations

What actually happened during testing

During testing, our scanner interacted with PostgreSQL. 1 tool succeeded.

ToolStatus
query success

Reliability

10/10

Full runtime test completed. Score based on transport stability and schema completeness.

Score Breakdown

10/10

Reliability

1 of 1 executed tools succeeded.

10/10

Security

Score based on schema analysis and dependency audit.

9/10

Setup

Local stdio server. Install via npx or binary, no auth required.

8.9/10

Docs

1 tools with descriptions and input schemas.

9/10

Compatibility

Standard MCP protocol. Transport: stdio.

7.8/10

Maintenance

Based on commit frequency, releases, and contributor activity.

Tools

1 available tools

query

Run a read-only SQL query

FAQ

Frequently asked questions about PostgreSQL

What latency can I expect when executing SQL queries through this MCP server?+

Our query tool execution completed in 18ms during testing. This measurement reflects the time for SQL processing and result retrieval through the MCP interface. Response times will vary based on query complexity, database size, and local system performance since this server operates over local_stdio transport.

Does the server require specific PostgreSQL user permissions or database scopes?+

Our testing used connection_string credentials without additional scope requirements. The server connected successfully and executed queries without requesting elevated permissions. However, actual query execution will still depend on the privileges granted to your PostgreSQL user account for the target database operations.

How does the server handle SQL query errors or connection failures?+

We did not encounter query failures or connection errors during our testing session. The single query operation completed successfully without throwing exceptions. Error handling behavior for malformed SQL, permission denied scenarios, or network connectivity issues was not observed in our test run.

Can this server execute multiple concurrent database operations?+

Our test execution involved a single query tool operation. We did not test concurrent query execution, transaction handling, or multiple simultaneous database connections. The server's behavior under concurrent load or parallel query scenarios remains unverified from our testing evidence.

What happens when the PostgreSQL database is unavailable or unreachable?+

Connection availability scenarios were not tested during our evaluation. Our test environment maintained stable database connectivity throughout the session. Server behavior during database downtime, network interruptions, or authentication failures was not observed in our testing scope.

Does the server support PostgreSQL-specific features like stored procedures or custom functions?+

Advanced PostgreSQL functionality was not tested beyond basic query execution. Our single query tool test did not involve stored procedures, custom functions, triggers, or PostgreSQL extensions. The server's capability to handle these database-specific features remains unverified from our test evidence.

Related

Explore more

Testing History

1 runlive_runtimeApr 7, 2026
protocol10/10reliability10/10

Community

Community Reviews