Back to connectors
PostgreSQL logo

PostgreSQL

FeaturedYour key

Read-only access to your PostgreSQL databases, with schema inspection and SQL queries.

Needs your own PostgreSQL key. Included on Free.

What you can ask

  • “What does PostgreSQL have for the area or asset I'm working on?”
  • “Pull the most recent PostgreSQL records and put them in a table.”
  • “What does PostgreSQL cover, and how fresh is the data?”

Connect to your AI assistant

Paste this URL into Claude, ChatGPT, or any MCP client, then sign in when prompted. After you sign in, add your PostgreSQL key in PatchOps.

https://patchops.ai/api/mcp

Claude: use Add to Claude, or Settings > Connectors > Add custom connector and paste the URL.

Claude Code

claude mcp add --transport http patchops https://patchops.ai/api/mcp

Step by step

  1. 1

    Open connectors

    In Claude, open Settings > Connectors and click "Add custom connector".

  2. 2

    Paste the URL

    Name it PatchOps and paste https://patchops.ai/api/mcp as the server URL, then click Add.

  3. 3

    Sign in

    Click Connect and sign in to PatchOps when Claude asks.

  4. 4

    Start using

    Ask Claude a question. It uses PostgreSQL through PatchOps when it needs to.

› Technical details

Read-only access to your PostgreSQL databases, with schema inspection and SQL queries.

View the data contract and method schemas →

Setup

A few steps to connect your AI agents to PostgreSQL.

Continue setup
  1. 1

    Create Your Account

    Sign up for PatchOps to access our MCP server management platform.

  2. 2

    Add PostgreSQL Connection

    Navigate to the Dashboard and add your PostgreSQL connection string to establish secure access.

  3. 3

    Configure Your AI Agent

    Add the PostgreSQL MCP server URL to your AI agent's configuration file.

  4. 4

    Start Querying

    Begin asking your AI agent to query your PostgreSQL database using natural language. All queries are read-only for safety.