AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Dev Tooling/
pgmcp
pgmcp logo

pgmcp

Active·★ 530·NOASSERTION·Updated 2026-05-26
★ Data Processing★ API Integration

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

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.

#agent#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

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
03

Quick start

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

Use cases

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

Alternatives

fastmcp logo
fastmcp★ 25.4k
🚀 The fast, Pythonic way to build MCP servers and clients.
vs →
MCP-Chinese-Getting-Started-Guide logo
MCP-Chinese-Getting-Started-Guide★ 3.5k
Model Context Protocol(MCP) 编程极速入门
vs →
nuclear logo
nuclear★ 17.7k
Streaming music player that finds free music for you
vs →
openagent logo
openagent★ 5.1k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
vs →
awesome-claude logo
awesome-claude★ 250
HeyClaude is a curated registry and distribution surface for Claude and AI-workflow assets: agents, MCP servers, skills, commands, hooks, rules, guides, tools, jobs, Raycast feeds, static data exports, and an npm MCP package.
vs →
mingyu logo
mingyu★ 103
八字、紫微、星盘、六爻、梅花、奇门、大六壬、小六壬、塔罗、雷诺曼、灵签、择日一站式排盘,输出结构化提示词与数据。提供公开 API、MCP Server 与 skill。
vs →
design-extract logo
design-extract★ 3.0k
Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.
vs →
code-graph-rag logo
code-graph-rag★ 2.3k
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
vs →
See all alternatives →

Related searches

pgmcp AlternativesBest Dev Tooling Tools 2026Open Source Dev Toolingpgmcp Tutorialpgmcp Vs Competitorsagentagentic-aiai

Comments

Log in to leave a comment
  • P
    Parker PatelMay 2, 2026

    Setup was straightforward, production-grade config and running in minutes. The maintainers are responsive to issues.

  • J
    Jamie GarciaApr 27, 2026

    Postgres via MCP is exactly the right abstraction. The robust performance is impressive for an open-source tool.

  • S
    Shawn ClarkApr 17, 2026

    Database via MCP is exactly the right abstraction. Works reliably in production environments.

  • L
    Lane KimApr 11, 2026

    Dropped this into flexible pipeline and it just worked. Would recommend for flexible use cases.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 530
Last commit4d ago
StatusActive
LicenseNOASSERTION
CategoryDev Tooling
Trend (30d)
+21.2↑ 0.6%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.