Open source alternatives to subnetmarco/pgmcp
200 open source apps like subnetmarco/pgmcp, closest match first.
Top picks
- F

FreePeak/db-mcp-server
GetMulti Database MCP Server is a Model Context Protocol server that gives AI assistants structured access to several databases at once. It can connect to MySQL, PostgreSQL, SQLite and Oracle databases concurrently. For each connected database
- C

centralmind/gateway
GetCentralmind Gateway turns a database into an API that AI agents can use. It reads the table schema and sampled data, generates an AI-optimized API, and serves it as REST or as a Model Context Protocol server, including SSE mode. The README
- R

runekaagaard/mcp-alchemy
GetMCP Alchemy is a server that connects Claude Desktop to SQL databases through SQLAlchemy, so the model can inspect a schema, write and check queries, and see how tables relate to each other. It works with PostgreSQL, MySQL and MariaDB, SQLi
- D

Database Build
LaunchIn-browser Postgres sandbox with AI assistance (formerly postgres.new)
Open source
- D

Datasette ChatGPT plugin
LaunchEnable natural language questions, real-time insights, interactive user experience, secure and reliable data querying.
Open sourceSelf-hosted
- D
Db2rest
LaunchDB2Rest is an open-source tool that turns a relational database into a REST data API without writing code. You connect it to your database and it exposes the data over HTTP, so web, mobile or AI tool integrations can read and write it witho
Open source
More like subnetmarco/pgmcp

ClickHouse/mcp-clickhouse
ClickHouse database integration with schema inspection and query capabilities

supabase-community/supabase-mcp
Connect to your Supabase project to manage tables, fetch config and query data
About subnetmarco/pgmcp

subnetmarco/pgmcp
Natural-language queries for any PostgreSQL database
PGMCP is a Model Context Protocol server that connects AI assistants to any PostgreSQL database. You ask questions in plain English, and the server turns them into SQL and returns structured results as a table, JSON or CSV. It handles large result sets with automatic streaming, and it gives read-only access that prevents write operations. You can search text across all text columns, and it handles mixed-case table names correctly. You point it at an existing database with a DATABASE_URL connection string. An OpenAI API key is optional and is only needed for AI-powered SQL generation, with gpt-4o-mini as the default model. It can also run over HTTP, with a configurable address, endpoint path and an optional bearer token. The README says it works with Cursor, Claude Desktop, VS Code extensions and any MCP-compatible client. Pre-compiled binaries for Linux, macOS and Windows are on GitHub Releases, and the README lists alternative install options too.
- Price
- Open source
- Made by
- subnetmarco
- Category
- AI Skills
- Website
- github.com/subnetmarco/pgmcp











