mcpopen-sourceverified

Postgres MCP Server

Read-only SQL access with schema introspection

View repository ↗

Connect your agent to Postgres with safe, read-only queries by default. Ships with schema inspection, query plans and role-scoped access.

Install

npx -y @modelcontextprotocol/server-postgres

Runtime: node

Works with

How to install Postgres MCP Server

Install Postgres MCP Server in your MCP client in under two minutes.

  1. Open your MCP client

    Open Claude Desktop, Cursor or any MCP-compatible host and locate the MCP configuration file.

  2. Install Postgres MCP Server

    Add the server to your MCP config and paste the install command below.

    npx -y @modelcontextprotocol/server-postgres
  3. Restart and verify

    Fully restart your MCP client. You should see Postgres MCP Server and its tools available in the tools panel.

Frequently asked questions

  • What is Postgres MCP Server?

    Postgres MCP Server is an MCP server by Anthropic. Connect your agent to Postgres with safe, read-only queries by default. Ships with schema inspection, query plans and role-scoped access.

  • Is Postgres MCP Server free?

    Yes — open-source and free to self-host.

  • What can I do with Postgres MCP Server?

    Postgres MCP Server is designed for Postgres. Read-only SQL access with schema introspection

  • How do I install Postgres MCP Server?

    Run `npx -y @modelcontextprotocol/server-postgres` in your MCP client configuration. See the install steps above for the full walkthrough.

  • Who maintains Postgres MCP Server?

    Postgres MCP Server is maintained by Anthropic (official author). It is verified by Loadout.

  • Does Postgres MCP Server work with other Databases tools?

    Yes — Postgres MCP Server is part of the Databases category on Loadout and works alongside other Databases MCP servers. Pair it with any MCP-compatible host like Claude Desktop, Cursor or Windsurf.