Postgres Query icon

Postgres Query

Provides a secure, read-only interface for querying PostgreSQL databases within the Model Context Protocol ecosystem.

About

Enables secure, read-only querying of PostgreSQL databases within Claude Desktop and other MCP clients. It validates SQL queries, ensuring only SELECT statements are executed, and includes timeout protection to prevent resource exhaustion. The server integrates with Claude Desktop through the MCP protocol and returns query results in a structured JSON format, facilitating seamless data access for AI models and other applications.

Key Features

  • SQL query validation
  • 0 GitHub stars
  • JSON response formatting
  • MCP protocol support
  • Timeout protection (10 seconds)
  • Read-only database access

Use Cases

  • Building applications that require read-only access to PostgreSQL databases.
  • Integrating PostgreSQL data into Model Context Protocol-based workflows.
  • Providing Claude Desktop with access to structured data stored in PostgreSQL.
Craft Better Prompts with AnyPrompt