dbmcp logo
dbmcp
★ 32
vs
pgmcp logo
pgmcp
★ 541

dbmcp vs pgmcp

dbmcp: dbmcp is a single-binary MCP server that connects AI assistants to SQL databases like MySQL, PostgreSQL, and SQLite. It provides a set of MCP tools for database operations and supports both stdio and HTTP transports. The binary is small (~7 MB) with no runtime dependencies.; pgmcp: 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.

01

TL;DR

dbmcp logo
dbmcpDev Tooling · ★ 32

Connect AI assistants to SQL databases for querying and management

pgmcp logo
pgmcpDev Tooling · ★ 541

Query database using natural language

02

Side-by-Side Comparison

Field
dbmcp logodbmcp
pgmcp logopgmcp
Category
Dev Tooling
Dev Tooling
Stars
★ 32
★ 541
License
MIT
NOASSERTION
Install Command
curl -fsSL https://dbmcp.haymon.ai/install.sh | bash
docker run -e DATABASE_URL='postgres://user:pass@host:5432/db' -p 8080:8080 ghcr.io/subnetmarco/pgmcp:latest
Updated
1d ago
5mo ago
Open Source
Yes
Yes
Tags
ai, ai-agents, database
agent, agentic-ai, ai
03

Features

dbmcp logodbmcp
01Multi-database support (MySQL/MariaDB, PostgreSQL, SQLite)
02MCP tools for database operations
03Single binary (~7 MB) with no runtime dependencies
04Multiple transports (stdio and HTTP)
05Two-layer configuration (CLI flags > environment variables)
pgmcp logopgmcp
01Natural Language to SQL
02Automatic Streaming
03Safe Read-Only Access
04Text Search
05Multiple Output Formats
04

Use Cases

dbmcp logodbmcp
↳Connect AI assistants to SQL databases for querying and management
↳Use with MCP clients like Claude Desktop or Cursor for natural language database interaction
↳Remote database management via HTTP transport
pgmcp logopgmcp
↳Query database using natural language
↳Search across all text columns
↳Integrate with MCP clients like Cursor and Claude Desktop
FAQ

FAQ

What is the difference between dbmcp and pgmcp?
Both dbmcp and pgmcp are in the Dev Tooling category. dbmcp has 32 stars, while pgmcp has 541 stars.
Which is better, dbmcp or pgmcp?
The best choice depends on your use case. Choose dbmcp if Connect AI assistants to SQL databases for querying and management, and pgmcp if Query database using natural language.
Is dbmcp free or open source?
Yes, dbmcp is open source on GitHub (MIT).
Is pgmcp free or open source?
Yes, pgmcp is open source on GitHub (NOASSERTION).
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
→

Related