Koskamo

mcp-pg-server

A community MCP server for PostgreSQL that enables AI assistants to query databases, inspect schemas, and explain query plans from the IDE. It supports local and development Postgres instances, connecting via DATABASE_URL or per-call connectionString. The server is read-only by default for safety but can be configured to allow writes.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-pg-server logo, by Ofer ShapiraCommunity listingLocal stdioSource reviewed; not executedPublished by Ofer Shapira
Vendor documentation

What you can do with it

  • Query PostgreSQL databases using SQL
  • Inspect table schemas and row counts
  • Explain query execution plans

Source and maintenance

Community listingRegistry 1.0.0MIT
Last repository push
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-pg-server 1.0.0

npm
mcp-pg-server package definition
{
  "version": "1.0.0",
  "transport": "stdio",
  "identifier": "mcp-pg-server",
  "registryType": "npm"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-pg-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pg-server@1.0.0"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-pg-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pg-server@1.0.0"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-pg-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-pg-server@1.0.0"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-pg-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pg-server@1.0.0"
      ]
    }
  }
}

Let your agent find its tools

Find servers like mcp-pg-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.