PostgreSQL

PostgreSQL MCP Server

Officialdata

Read-only Postgres MCP - schema introspection and SQL queries

Reference MCP for connecting AI agents to PostgreSQL databases with read-only access. Schema introspection plus arbitrary SELECT queries.

Works with:claudeclaude-apiclaude-code
Author: Model Context Protocol257 stars
npx -y @modelcontextprotocol/server-postgres postgresql://localhost/mydb

Tools (1)

EXECquery
View on GitHub

Details

Transport

stdio

GitHub stars

257

Tags

#database#postgres#sql#data#open-source

Common Use Cases

  • data