Koskamo

PostgreSQL MCP Server

An open-source MCP server that provides agents with read-only-by-default access to PostgreSQL databases. It supports parameterized SQL queries, schema and view introspection, EXPLAIN plans with index advice, and performance diagnostics like health checks and lock inspection. Writes are opt-in via an environment variable to prevent accidental data modification.

Package and access

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

PostgreSQL MCP Server logo, by Yaw LabsCommunity listingLocal stdioSource reviewed; not executedPublished by Yaw Labs
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 10 GitHub stars

What you can do with it

  • Describe table structure including columns, primary keys, and foreign keys
  • Find columns by name pattern across every user schema
  • Explain query plans to identify slow queries and index usage
  • Check database health including connections, size, and replication status

Source and maintenance

Community listingRegistry 0.13.10MIT
Last repository push
Latest release
v0.13.10
Maintenance checked

Packages and installation

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

@yawlabs/postgres-mcp 0.13.10

npm
@yawlabs/postgres-mcp package definition
{
  "version": "0.13.10",
  "transport": "stdio",
  "identifier": "@yawlabs/postgres-mcp",
  "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": {
    "postgresql-mcp-server-yawlabs-postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/postgres-mcp@0.13.10"
      ]
    }
  }
}

Cline

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

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": {
    "postgresql-mcp-server-yawlabs-postgres-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/postgres-mcp@0.13.10"
      ]
    }
  }
}

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": {
    "postgresql-mcp-server-yawlabs-postgres-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/postgres-mcp@0.13.10"
      ]
    }
  }
}

Let your agent find its tools

Find servers like PostgreSQL MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.