PostgreSQL MCP by InsightfulPipe

com.insightfulpipePublished by insightfulpipe.comv1.0.0Updated Nov 4, 2026

Hosted PostgreSQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.

VerifiedStreamable HTTPWeb executableDatabasesData & Analytics

Overview

AI-generated overview

Hosted PostgreSQL MCP server that lets an AI assistant browse schemas and tables, inspect metadata, run SQL and check database health on your own database.

What you can do
  • List schemas, tables, views, sequences and extensions in the connected database
  • Inspect table and view structure: columns, constraints, indexes, row estimates and size
  • Run SQL statements and get EXPLAIN plans for queries
  • Review database health (connections, vacuum age, replication slots, cache hit rates) and slowest queries from pg_stat_statements
When to use it
Useful when you want an assistant to explore and query a PostgreSQL database without installing anything locally, and when you want per-account control over which actions are allowed, including read-only connections.
Requirements
A remote endpoint at postgresql.insightfulmcp.com added as a custom connector in Claude, ChatGPT (developer mode), Claude Code or Cursor. OAuth sign-in to an InsightfulPipe account is required, and the server connects to your PostgreSQL database as a role whose GRANT/REVOKE privileges determine read versus read-write access. A paid InsightfulPipe plan is needed after the 7-day trial.
Before you install
The server runs SQL against your database, so a read-write connection can change or delete data; destructive actions are off by default and should stay that way unless needed. Read versus write capability depends on the privileges of the database role the connector logs in as, so use a least-privilege role. Your database is accessed through a third-party hosted service, and usage requires a paid subscription.

Installation

In SourceWeft

  1. Open PostgreSQL MCP by InsightfulPipe in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.insightfulpipe%2Fpostgresql/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "postgresql-by-insightfulpipe": {
      "type": "http",
      "url": "https://postgresql.insightfulmcp.com/"
    }
  }
}

README

PostgreSQL MCP Server by Insightful Pipe

[MCP Compatible] [Insightful Pipe] [License]

Connect PostgreSQL to AI assistants: schemas, tables, SQL and database health.

Part of the Insightful Pipe MCP Server Collection — use PostgreSQL from Claude, ChatGPT, Cursor, and other AI assistants through the Model Context Protocol (MCP).

[PostgreSQL MCP Server]

MCP Server URL

https://postgresql.insightfulmcp.com/

What is PostgreSQL MCP?

PostgreSQL MCP is a remote Model Context Protocol server hosted by InsightfulPipe. Browse schemas and tables, inspect columns, run SQL, and read pg_stat insights against your own PostgreSQL database. Read vs. read-write is decided by the GRANT/REVOKE privileges on the role this connector logs in as.

Installation

Claude

  1. Copy the MCP Server URL: https://postgresql.insightfulmcp.com/
  2. Open Claude Connectors Settings
  3. Scroll to the bottom and click Add custom connector
  4. Paste the URL and click Add
  5. Click Connect and sign in to InsightfulPipe if asked. Claude then lists the connector as connected.

ChatGPT

Custom MCP servers are added through ChatGPT's Developer mode. Availability depends on your ChatGPT plan, and workspace admins may need to allow it.

  1. Turn on Developer mode in ChatGPT settings
  2. Create a new app for a remote MCP server and paste the URL: https://postgresql.insightfulmcp.com/
  3. Sign in to InsightfulPipe if asked. The connection finishes as soon as you are signed in.

See OpenAI's guide: Developer mode and MCP apps in ChatGPT

Claude Code

bash
claude mcp add --transport http postgresql https://postgresql.insightfulmcp.com/

Cursor

Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

json
{  "mcpServers": {    "postgresql": {      "url": "https://postgresql.insightfulmcp.com/"    }  }}

When Cursor shows Needs authentication, click Connect and sign in to InsightfulPipe if asked.

Available Actions

8 actions: 7 read, 1 write.

Read Actions (7)

ActionDescription
analyze_db_healthReport database health (connections, vacuum age, replication slots, cache hit rates, invalid constraints)
explain_queryReturn the EXPLAIN plan for a query
get_table_metadataFull metadata for a table or view: columns, constraints, indexes, estimated row count, size
get_table_schemaReturn the column list (name, data_type, is_nullable, default) for a table or view
get_top_queriesSlowest or most resource-intensive queries from the pg_stat_statements extension
list_schemasList all schemas in the connected database
list_tablesList tables, views, sequences, or extensions in a schema

Write Actions (1)

ActionDescription
run_queryExecute a SQL statement against the connected database

Control What Your AI Can Do

You decide what AI agents can do with each connected account:

  • Turn individual actions on or off for every connected account, so agents only see the actions you allow.
  • Connect as Read-only or Read & Write. A read-only connection can only enable read actions.
  • Destructive actions stay off by default. Actions such as deletes are disabled until an admin enables them.
  • Team access per account. Restricted team members only use the accounts they are granted, with the read actions enabled on them.

Usage Examples

"List the tables in the public schema"
"Show the schema of the orders table"
"Check my database health"

Pricing

The PostgreSQL MCP server is included in every InsightfulPipe plan, together with all other MCP servers and the CLI. Plans start at $29.99/month, and you can try it for 7 days. See insightfulpipe.com/pricing for current plans.

Explore More MCP Servers by Insightful Pipe

Visit insightfulpipe.com/mcp-servers to discover our full collection of MCP servers.

View All MCP Servers →

Resources

Support


Insightful Pipe — AI-powered marketing analytics through MCP servers. Explore all integrations →

License

MIT License - see LICENSE for details.

Source: README.md at commit 4306548

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v1.0.0LatestOct 21, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts