subnetmarco/pgmcp
An MCP server to query any Postgres database in natural language.
This tool helps anyone who needs quick insights from a PostgreSQL database but isn't an SQL expert. You can ask questions in plain English, like "Who are the top 5 customers?", and it translates your query into SQL, returning the results directly in a table, JSON, or CSV format. It's designed for business users, data analysts, or operations managers who work with data in PostgreSQL.
524 stars. No commits in the last 6 months.
Use this if you need to quickly get information from your PostgreSQL database using natural language without writing SQL queries, especially when working with AI assistants or developer tools like VS Code.
Not ideal if you need to perform complex data manipulations, write custom SQL queries for database modifications, or if you don't have an existing PostgreSQL database.
Stars
524
Forks
58
Language
Go
License
—
Category
Last pushed
Sep 25, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/subnetmarco/pgmcp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
bytebase/dbhub
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
IzumiSy/mcp-duckdb-memory-server
MCP Memory Server with DuckDB backend
FreePeak/db-mcp-server
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI...
alexander-zuev/supabase-mcp-server
Query MCP enables end-to-end management of Supabase via chat interface: read & write query...
HenkDz/postgresql-mcp-server
A Powerful PostgreSQL MCP server with 14 consolidated database management tools for AI assistants.