Databasesβ€’ MCP Alternatives Guide

Best Alternatives to Pgmcp

Looking for an alternative to Pgmcp? Whether you need a different runtime environment, custom authentication support, or alternative API integrations in the Databases ecosystem, we have cataloged and compared the top alternative MCP servers below.

Browse all Databases servers β†’View Pgmcp Specs β†’
Pgmcp logo
Target Reference Server

Pgmcp Overview

The subnetmarco/pgmcp MCP server connects MCP-compatible clients to an existing PostgreSQL database through natural-language questions. It can generate SQL with OpenAI, enforce read-only access, stream large result sets, search text columns, and return table, JSON, or CSV output. The server exposes HTTP MCP access at a configurable endpoint and can run with precompiled binaries, Docker, or from source. Reach for it when an AI assistant needs to inspect or query PostgreSQL data without modifying the database schema.

Primary Use Cases for Pgmcp:
  • Ask natural-language questions about PostgreSQL data
  • Search text columns across an existing database
  • Stream large query results with pagination
  • Inspect database contents from Cursor or Claude Desktop

Specification Matrix: Pgmcp vs Alternatives

Direct comparison of key metrics, runtimes, authentication methods, and community popularity.

Server NameRuntimeAuthPricingGitHub StarsDownloadsAction
Pgmcp logoPgmcp (Target)
β€”API keyFree543β€”Current
Dbhub logoDbhubnpxOtherFree4,026β€”
MCP Server Neon logoMCP Server NeonnpxOAuthFreemium669β€”
MCP Toolbox for Databases logoMCP Toolbox for Databasesnpxβ€”Free17,023β€”
Nhost logoNhostnpxOAuthFree9,399β€”
Pg Aiguide logoPg Aiguideβ€”β€”β€”1,889β€”
MCP Server Mysql logoMCP Server MysqlnpxOtherFree2,231β€”
MCPg logoMCPguvxOtherFree15β€”
Dbx logoDbxnpxNo auth requiredFree31,948β€”
Postgres MCP logoPostgres MCPuvxAPI keyFree3,510β€”
MCP Bigquery Server logoMCP Bigquery ServernpxAPI keyBring your own API key (usage-based cost)148β€”
Supabase logoSupabaseStreamable HTTP (Remote)OAuthβ€”3,031β€”
QueryWeaver logoQueryWeaveruvxβ€”β€”1,094β€”

Detailed Evaluation of Pgmcp Alternatives

Dbhub logo

Dbhub

Runtime: npxDatabases

Minimal MCP database gateway for querying and exploring PostgreSQL, MySQL, SQL Server, Oracle, ClickHouse, MariaDB, and SQLite.

Key Features:
Supports seven database systems through one MCP gateway
Executes SQL with transactions and safety controls
Searches schemas, tables, columns, indexes, and procedures
10 0 4,026
MCP Server Neon logo

MCP Server Neon

Runtime: npxDatabases
Official

Manage Neon Postgres projects, branches, schemas, queries, and related services through natural-language MCP tools.

Key Features:
Natural-language Neon database management
Project, branch, endpoint, and snapshot operations
Schema inspection and comparison
11 0 669
MCP Toolbox for Databases logo

MCP Toolbox for Databases

Runtime: npxDatabases
Official

Connects MCP-compatible agents and IDEs to databases with prebuilt or custom, controlled tools.

Key Features:
Prebuilt database-specific MCP tools
Custom YAML-defined tools and toolsets
Structured queries, semantic search, and NL2SQL support
13 0 17,023
Nhost logo

Nhost

Runtime: npxDatabases
Official

Connects AI coding assistants to Nhost projects for schema-aware GraphQL work, migrations, permissions, configuration, and documentation.

Key Features:
GraphQL schema access
Permission-controlled queries and mutations
Migration and permission management
5 0 9,399
Pg Aiguide logo

Pg Aiguide

Runtime not confirmedDatabases

Search versioned PostgreSQL, TimescaleDB, and PostGIS documentation from AI coding tools.

Key Features:
Semantic search across PostgreSQL manuals
Version-aware PostgreSQL references
TimescaleDB documentation search
1 0 1,889
MCP Server Mysql logo

MCP Server Mysql

Runtime: npxDatabases

Connects AI clients to MySQL for schema inspection and SQL queries, with opt-in writes and configurable database access controls.

Key Features:
Read-only SQL access by default
Schema and column metadata resource
Opt-in insert, update, and delete permissions
9 0 2,231
MCPg logo

MCPg

Runtime: uvxDatabases
Verified owner

PostgreSQL MCP server with 279 tools for safe queries, catalog inspection, tuning, search, operations, and database administration.

Key Features:
279 PostgreSQL-focused MCP tools
AST-validated SQL with read-only defaults
stdio and HTTP/SSE transports
25 0 15
Dbx logo

Dbx

Runtime: npxDatabases

Manage DBX-configured database connections from AI agents through MCP.

Key Features:
Lists DBX-configured database connections
Adds new database connections
Duplicates complete connection settings
21 0 31,948
Postgres MCP logo

Postgres MCP

Runtime: uvxDatabases

Postgres MCP server for health checks, index tuning, query plans, schema-aware SQL, and controlled database access.

Key Features:
PostgreSQL health checks
Workload-driven index tuning
EXPLAIN plan analysis
8 0 3,510
MCP Bigquery Server logo

MCP Bigquery Server

Runtime: npxDatabases

Read-only MCP access to BigQuery for natural-language queries, schema exploration, billing limits, and sensitive-field protection.

Key Features:
Read-only SELECT query execution
BigQuery dry-run validation
Table and materialized-view schema access
6 0 148
Supabase logo

Supabase

Runtime: Streamable HTTP (Remote)Databases
Official

Connects AI assistants to Supabase for database queries, table management, configuration, and project tooling over MCP.

Key Features:
Database queries and table management
Project configuration and URL retrieval
Feature-group filtering
6 0 3,031
QueryWeaver logo

QueryWeaver

Runtime: uvxDatabases

Converts natural-language database questions into SQL using graph-based schema context and exposes Text2SQL through MCP and REST.

Key Features:
Graph-powered schema understanding
HTTP MCP endpoint
Natural-language to SQL generation
3 0 1,094

Frequently Asked Questions: Pgmcp Alternatives

The top-rated alternatives to Pgmcp in the Databases category include Dbhub, MCP Server Neon, MCP Toolbox for Databases. These servers offer complementary or alternative capabilities depending on your deployment stack and authentication requirements.

Pgmcp and its alternatives vary by runtime requirement (Node.js/npx, Python/uvx, Docker, or remote HTTP/SSE endpoints). Check the specification comparison table above to verify command requirements before installing.

It varies by server. Pricing, auth and license are declared by each maintainer and shown in the comparison table where provided β€” a dash means nothing was declared, so check that project's own site before assuming it's free.

Click the "Compare side-by-side β†’" button on any alternative card to see an in-depth comparison matrix covering feature lists, stars, npm downloads, install configurations, and schema specifications.