Postgres icon

Postgres

Connects Large Language Models to PostgreSQL databases, enabling controlled querying and analysis.

概要

Postgres is a Model Context Protocol (MCP) server designed to bridge Large Language Models (LLMs) with PostgreSQL databases. It provides a secure and controlled interface for LLMs to query and analyze database content, preventing direct access and ensuring data integrity. By exposing specific tools and resources, it allows LLMs to understand database schemas, execute SQL queries, and retrieve sample data, facilitating intelligent data interaction without compromising security.

主な機能

  • Execute SQL queries via a controlled LLM interface
  • 25 GitHub stars
  • Configurable write operations for enhanced security control
  • Expose database schema and sample data as LLM resources
  • Integration with PostgreSQL via connection string and optional SSL/TLS
  • Supports both standard I/O (stdio) and HTTP streamable transports

ユースケース

  • Providing a controlled environment for LLMs to generate and test SQL queries
  • Building natural language interfaces for database interaction
  • Enabling AI agents or LLMs to perform data analysis on PostgreSQL data
Advertisement

Advertisement