MCP-SERVER-PG

MCP-SERVER-PG

0

This project is a Model Context Protocol server for PostgreSQL, providing read-only access to databases. It allows LLMs to execute SQL queries and access schema information, and is compatible with the Claude Desktop app.

PostgreSQL MCP Server

A server that provides read-only access to PostgreSQL databases, allowing LLMs to inspect database schemas and execute read-only queries.

Components

Tools
  • query
    • Execute read-only SQL queries against the connected database.

Resources

  • Table Schemas
    • Provides JSON schema information for each table, including column names and data types.

Usage

  • Compatible with Claude Desktop app via mcpServers configuration.

Docker

  • Use host.docker.internal for host network on macOS.

License

  • Licensed under the MIT License.