Skip to content
S

subnetmarco/pgmcp

Natural-language queries for any PostgreSQL database

by subnetmarcoOpen source

#10399in AI Skills
0In stores

Description

PGMCP is a Model Context Protocol server that connects AI assistants to any PostgreSQL database. You ask questions in plain English, and the…

Highlights

  • Plain-English questions turned into SQL
  • Read-only access that prevents write operations
  • Automatic streaming for large result sets
  • Text search across all text columns
  • Table, JSON and CSV output
  • Optional HTTP mode with bearer token authentication

Ratings & Reviews

No ratings yet

Be the first to rate subnetmarco/pgmcp.

People also visit

F

FreePeak/db-mcp-server

MySQL and PostgreSQL access: query execution, transaction management

AI Skills
Get
P

postgres (read-only SQL)

Safe read-only SQL queries against PostgreSQL

AI Skills
Get
X

XGenerationLab/xiyanmcpserver

Fetch data from databases with natural-language queries

AI Skills
Get
A

agenticfabriq/mnemiq

Natural-language questions over Postgres, Oracle, Snowflake, Databricks

AI Skills
Get
A

alexanderzuev/supabase-mcp-server

Execute SQL queries and explore Supabase databases

AI Skills
Get
C

centralmind/gateway

Automatically generate APIs from database schema and data for PostgreSQL

AI Skills
Get

subnetmarco/pgmcp FAQ

What is PGMCP?

An MCP server that lets AI assistants query an existing PostgreSQL database using plain English.

Which AI tools can use it?

The README says it works with Cursor, Claude Desktop, VS Code extensions and any MCP-compatible client.

Is it safe to point at my database?

The README describes read-only access that prevents any write operations.

Do I need an OpenAI key?

No. The key is optional and only used for AI-powered SQL generation. The default model is gpt-4o-mini.

How do I install it?

Download a pre-compiled binary for your platform from GitHub Releases, extract it and run it with a DATABASE_URL connection string.

What are the best subnetmarco/pgmcp alternatives?

Popular alternatives to subnetmarco/pgmcp include FreePeak/db-mcp-server, postgres (read-only SQL) and XGenerationLab/xiyanmcpserver. See all subnetmarco/pgmcp alternatives

Developer Stuff

Badges