mcp-postgres-query-server
MCP server for read-only PostgreSQL queries. mcp-postgres-query-server is a Model Context Protocol (MCP) server maintained by RathodDarshil. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 1 tool, including query-postgres, that an agent can call directly. It is categorized under Database/PostgreSQL and Integration/Claude.
What is this MCP
This is a Model Context Protocol (MCP) server implementation that provides secure, read-only access to a PostgreSQL database, designed to work with Claude Desktop and other MCP clients.
How to use this MCP
Configure it in Claude Desktop by adding to themcpServers section of your config file, then restart Claude Desktop. The server executes SELECT queries with timeout protection and returns results in JSON format.
What this MCP can be used for
Enabling AI assistants to safely query PostgreSQL databases for information retrieval, data analysis, and reporting while maintaining read-only access and query validation for security.
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the mcp-postgres-query-server MCP server?
mcp-postgres-query-server is a Model Context Protocol server from RathodDarshil. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect mcp-postgres-query-server to my AI client?
Add mcp-postgres-query-server to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does mcp-postgres-query-server provide?
mcp-postgres-query-server provides 1 tool: query-postgres.
Is mcp-postgres-query-server free to use?
mcp-postgres-query-server is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
