Google PageRank for AI agents. 25,000+ tools indexed.

pgmcp MCP Server

subnetmarco/pgmcp

Score: 53.4 → 0% Rank #12381 Database
[![AgentRank](https://agentrank-ai.com/api/v1/badge/subnetmarco--pgmcp)](https://agentrank-ai.com/tool/subnetmarco--pgmcp/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge)
Are you the maintainer of subnetmarco/pgmcp? Claim this listing →

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

Add AgentRank to Claude Code Discover and compare tools like subnetmarco/pgmcp — your AI finds the right one automatically
Get API Access →
claude mcp add agentrank -- npx -y agentrank-mcp-server

Overview

subnetmarco/pgmcp is a Go MCP server. An MCP server to query any Postgres database in natural language. Topics: agent, agentic-ai, ai, analytics, artificial-intelligence, kong, mcp, mcp-server, postgres, postgresql, data-analysis, database.

Ranked #12381 out of 24846 indexed tools.

Ecosystem

Go NOASSERTION
agentagentic-aiaianalyticsartificial-intelligencekongmcpmcp-serverpostgrespostgresqldata-analysisdatabase

Score Breakdown

StarsFreshnessIssue HealthContributorsDependents
Stars 15% 542

542 stars → growing community

Freshness 25% 5mo ago

Last commit 5mo ago → stale

Issue Health 25% 67%

4/6 issues closed → decent issue management

Contributors 10% 2

2 contributors → solo project

Dependents 25% 0

No dependents → no downstream usage

npm Downloads N/A
PyPI Downloads N/A
Forks 63
Description Good
License NOASSERTION

Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →

How to Improve

Description low impact

Expand your description to 150+ characters for better discoverability

License low impact

Add an MIT or Apache-2.0 license to signal trust and enable adoption

Freshness high impact

Last commit was 155 days ago — a recent commit would boost your freshness score

Badge all embed codes →

AgentRank score for subnetmarco/pgmcp
[![AgentRank](https://agentrank-ai.com/api/v1/badge/subnetmarco--pgmcp)](https://agentrank-ai.com/tool/subnetmarco--pgmcp/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge)
<a href="https://agentrank-ai.com/tool/subnetmarco--pgmcp/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge"><img src="https://agentrank-ai.com/api/v1/badge/subnetmarco--pgmcp" alt="AgentRank"></a>

Embed Widget docs →

Embed a rich score widget on your site or blog.

<script src="https://agentrank-ai.com/embed.js" data-tool="subnetmarco/pgmcp"></script>

Matched Queries

"mcp server""mcp-server"topic:mcptopic:mcp-server

From the README

# PGMCP - PostgreSQL Model Context Protocol Server

PGMCP connects AI assistants to **any PostgreSQL database** through natural language queries. Ask questions in plain English and get structured SQL results with automatic streaming and robust error handling.

**Works with**: Cursor, Claude Desktop, VS Code extensions, and any [MCP-compatible client](https://modelcontextprotocol.io/)

## Quick Start

PGMCP connects to **your existing PostgreSQL database** and makes it accessible to AI assistants through natural language queries.

### Prerequisites
- PostgreSQL database (existing database with your schema)
- OpenAI API key (optional, for AI-powered SQL generation)

### Basic Usage

```bash
# Set up environment variables
export DATABASE_URL="postgres://user:password@localhost:5432/your-existing-db"
export OPENAI_API_KEY="your-api-key"  # Optional

# Run server (using pre-compiled binary)
./pgmcp-server

# Test with client in another terminal
./pgmcp-client -ask "What tables do I have?" -
Read full README on GitHub →

Get the weekly AgentRank digest

Top movers, new tools, ecosystem insights — straight to your inbox.