Self-hosted alternatives to subnetmarco/pgmcp
200 self-hosted apps like subnetmarco/pgmcp, closest match first.
Top picks
- D

Datasette ChatGPT plugin
LaunchEnable natural language questions, real-time insights, interactive user experience, secure and reliable data querying.
Open sourceSelf-hosted
- P

Pgbackweb
Launch🐘 Effortless PostgreSQL backups with a user-friendly web interface! 🌐💾
Open sourceSelf-hosted
- S

StackRender
LaunchDesign database schemas visually and generate incremental SQL migrations automatically. Track schema evolution, manage version history, and support PostgreSQL, MySQL, MariaDB, SQLite, Oracle, and SQL Server.
Open sourceSelf-hosted
- A
AstraSQL Agent — AI-Powered NL to SQL
LaunchTransform your database queries with AI. AstraSQL Agent allows you to convert natural language into SQL using metadata-only processing. This solution is self-hosted and secure, ensuring your data remains private and protected. It supports a
Self-hosted
- O

OrcaQ
LaunchModern database client and IDE for managing, querying, and exploring multiple database types with built-in AI assistant. (Source Code) MIT Nodejs/deb/Docker
Open sourceSelf-hosted
- C

Chmonitor
Launchchmonitor is an open-source operations dashboard for ClickHouse. It watches queries, merges, parts, replication and cluster health, and shows them in one place: running, slow and failed queries with EXPLAIN views, cluster topology with repl
Open sourceSelf-hosted
More like subnetmarco/pgmcp
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





