AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
Dev Tooling/
pgmcp
pgmcp logo

pgmcp

Active·★ 541·NOASSERTION·Updated 2026-05-26

PGMCP connects AI assistants to any PostgreSQL database through natural language queries. It provides secure read-only access, automatic streaming, and supports multiple output formats. It works with various MCP-compatible clients like Cursor and Claude Desktop.

pgmcp sits in the Dev Tooling category, so it is usually better judged by workflow fit, deployment style, and team needs than by isolated features alone. Based on the available metadata, it leans most clearly toward Natural Language to SQL. A representative use case is Query database using natural language. The listed license is NOASSERTION. GitHub stars are currently 541. Relevant tags include agent, agentic-ai.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool.

#agent
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides
#agentic-ai
#ai
#analytics
#artificial-intelligence
#data-analysis
#database
#kong
$ Install
$ docker run -e DATABASE_URL='postgres://user:pass@host:5432/db' -p 8080:8080 ghcr.io/subnetmarco/pgmcp:latest
↗ Visit site★ GitHub
01

Features

01Natural Language to SQL
02Automatic Streaming
03Safe Read-Only Access
04Text Search
05Multiple Output Formats
02

Why choose it

+Natural Language to SQL
+Automatic Streaming
+Query database using natural language
+Supports 5 platforms or runtime environments.
03

Trade-offs

!The final decision should still be made through side-by-side comparison with similar tools.
04

Compatibility

Linux
Linux (Binary)
Verified via docs
macOS
macOS (Binary)
Verified via docs
Windows
Windows (Binary)
Verified via docs
Docker
Docker
Verified via docs
Kubernetes
Kubernetes
Verified via docs
05

Quick start

1
$ docker run -e DATABASE_URL='postgres://user:pass@host:5432/db' -p 8080:8080 ghcr.io/subnetmarco/pgmcp:latest
06

Use cases

↳Query database using natural language
↳Search across all text columns
↳Integrate with MCP clients like Cursor and Claude Desktop
07

Alternatives

⚡Top VS:
VSwren-engine★660→VSmcp-server-starrocks★195→VSprospectio-api-mcp★21→

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases
VS
holaOS
★11.5k
→
wren-engine logo
wren-engine★ 660
The open context engine for AI agents support 15+ data sources. Built on Rust and Apache DataFusion.
VSCompare→
mcp-server-starrocks logo
mcp-server-starrocks★ 195
StarRocks MCP (Model Context Protocol) Server
VSCompare→
prospectio-api-mcp logo
prospectio-api-mcp★ 21
MCP/API server that helps you to connect to different lead generation app
VSCompare→
holaOS logo
holaOS★ 11.5k
The agent environment for long-horizon work, continuity, and self-evolution.
VSCompare→
skybridge logo
skybridge★ 2.2k
Skybridge is a framework for building ChatGPT & MCP Apps
VSCompare→
lex logo
lex★ 76
UK legal API for AI agents and researchers.
VSCompare→
gradle-mcp logo
gradle-mcp★ 68
A comprehensive MCP server for Gradle.
VSCompare→
dbmcp logo
dbmcp★ 32
A single-binary MCP server for MySQL, MariaDB, PostgreSQL, and SQLite
VSCompare→
See all alternatives →
07
Alternatives
subnetmarco /
pgmcp
↗

An MCP server to query any Postgres database in natural language.

541
Last commit5mo ago
StatusActive
CategoryDev Tooling
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit