Mcpg runs on your own machine — the client starts it, so there is no endpoint to ping. 1 099 installs a week from pypi. Last commit 14 Sep 2026.
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.
We read the source, 21 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
SELECT id
FROM ${table_name}
test_path = os.path.join("tests/unit", test_name)
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add mcpg -- uvx mcpg
{
"mcpServers": {
"mcpg": {
"args": [
"mcpg"
],
"command": "uvx"
}
}
}
[mcp_servers.mcpg]
command = "uvx"
args = ["mcpg"]
{
"mcpServers": {
"mcpg": {
"args": [
"mcpg"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"mcpg": {
"args": [
"mcpg"
],
"command": "uvx"
}
}
}
MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
MCP server for read-only PostgreSQL database queries in Claude Desktop
MCP server for querying PostgreSQL databases
PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.
Python MCP server for PostgreSQL database inspection and querying
MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.
Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck.
Answers built from our own checks of this server.