
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that exposes a read-only SQL query tool for a PostgreSQL database, validated to allow only SELECT queries with a query timeout.
MCP server for read-only PostgreSQL queries is cataloged as an MCP server attributed to rathoddarshil. A Model Context Protocol server that exposes a read-only SQL query tool for a PostgreSQL database, validated to allow only SELECT queries with a query timeout. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for read-only PostgreSQL queries are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. The server permits only SELECT queries and performs no write operations.
Queries running longer than 10 seconds are automatically terminated.
README.md · b89d26c89a29 · 采集于 2026-11-13 12:55:52 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server implementation for querying a PostgreSQL database in read-only mode, designed to work with Claude Desktop and other MCP clients.
This project implements a Model Context Protocol (MCP) server that provides:
# Clone the repository
git clone https://github.com/RathodDarshil/mcp-postgres-query-server.git
cd mcp-postgres-query-server
# Install dependencies
npm install
# Build the project
npm run build
You can configure Claude Desktop to automatically launch and connect to the MCP server:
Access the Claude Desktop configuration file:
Add the postgres-query-server to the mcpServers section of your claude_desktop_config.json:
{
"mcpServers": {
"postgres-query": {
"command": "node",
"args": [
"/path/to/your/mcp-postgres-query-server/dist/index.js",
"postgresql://username:password@hostname:port/database"
]
}
}
}
/path/to/your/ with the actual path to your project directory.Here's a complete example of a configuration file with postgres-query:
{
"mcpServers": {
"postgres-query": {
"command": "node",
"args": [
"/Users/darshilrathod/mcp-servers/mcp-postgres-query-server/dist/index.js",
"postgresql://user:password@localhost:5432/mydatabase"
]
}
}
}
To update your Claude Desktop configuration:
npm run build before restartingExecutes a read-only SQL query against the configured PostgreSQL database.
Parameters:
query (string): A SQL SELECT query to executeResponse:
rows: The result set rowsrowCount: Number of rows returnedfields: Column metadataExample:
query-postgres: SELECT * FROM users LIMIT 5
The main server implementation is in src/index.ts. Key components:
To modify the server's behavior, you can:
isReadOnlyQuery()ISC
Contributions are welcome! Please feel free to submit a Pull Request.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for read-only PostgreSQL queries from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-postgres-query-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.