mcpbeat Sign in

Mcpg MCP Server

local only

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.

Installs per day peak 411 · avg 90 · +192% w/w
a month agotoday
1 099
Installs / week
pypi · mcpg
10
Stars
1 open issues
14 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Python

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

Capabilities

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.

Builds a database query by concatenation scratch/pg_turboquant/t/015_concurrent_build_and_write.pl:16
        SELECT id
        FROM ${table_name}
Builds a file path from a variable scratch/pr_review.py:174
            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.

This code can reach further than it looks

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add mcpg -- uvx mcpg
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcpg": {
      "args": [
        "mcpg"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcpg]
command = "uvx"
args = ["mcpg"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcpg": {
      "args": [
        "mcpg"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcpg": {
      "args": [
        "mcpg"
      ],
      "command": "uvx"
    }
  }
}

Alternatives to Mcpg

same job, measured the same way
Database MCP Postgres
by arifulislamat

MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

58 installs/wk local only
C
Data
by thinair

PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.

answering
Read Only Local Postgres MCP Server
by hove

MCP server for read-only PostgreSQL database queries in Claude Desktop

159 installs/wk local only
I
Postgres Connector
by martymarkenson

MCP server for querying PostgreSQL databases

30 installs/wk local only
Postgres MCP
by edelciomolina

PostgreSQL MCP wrapper with .env credential mapping, tool selection, and safe read-only defaults.

92 installs/wk local only
PostgreSQL MCP Server
by musaddiq-dev

Python MCP server for PostgreSQL database inspection and querying

77 installs/wk local only
Database MCP Libsql
by arifulislamat

MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.

59 installs/wk local only
Warehouse MCP
by kalehdoo

Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck.

30 installs/wk local only

Mcpg — questions

Answers built from our own checks of this server.

Why is there no uptime for Mcpg?
Mcpg runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package mcpg was installed 1 099 times last week.
How do I connect Mcpg?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls mcpg straight from pypi; nothing to host, nothing to sign up for.
How many people use Mcpg?
The pypi package mcpg was installed 1 099 times in the last week. Week over week that is +192%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Mcpg open source?
Yes — it is published under the MIT licence, written in Python, 10 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.