PostgreSQL MCP by InsightfulPipe
Server Details
Hosted PostgreSQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- Insightful-Pipe/postgresql-mcp-server
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
query_data and execute_action share nearly identical boilerplate (both labeled 'Step 3 (FINAL) of workflow' with the same required preamble), differing only by the read-only vs write rule buried mid-description, which invites misselection. query_contexts overlaps with both by offering the same 'accounts'/'actions_details' request verbs, and prompts_menu introduces a fourth request-style tool whose purpose (a prompt library) is unrelated to SQL work.
Three tools follow a clear verb_noun pattern (query_data, query_contexts, execute_action) and the query_* prefix groups the read-side helpers sensibly. prompts_menu is the lone noun_noun outlier, a minor deviation rather than a systemic inconsistency.
Four tools is thin for a database server whose real surface is SQL execution plus context discovery. The inclusion of prompts_menu as one of only four slots displaces more essential database operations, so the count feels under-scoped rather than well-scoped.
There is no schema-discovery tool (list tables, describe columns, list databases/schemas), which is a core need for an agent to write correct SQL; it must manually probe information_schema through query_data. Read and write paths exist, but the absence of any introspection or connection-testing operation leaves significant gaps that will cause agent failures on unfamiliar schemas.
Available Tools
4 toolsexecute_actionpostgresql Data Execute ActionADestructiveInspect
Execute postgresql action (Step 3 (FINAL) of workflow).
REQUIRED: Complete these steps first using query_contexts:
request='accounts' - Get workspace_id, brand_id, connection_slug AND available_actions
request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] - Get detailed body structure for specific action(s) using actions from available_actions
IMPORTANT: Always call step 2 to see the exact body structure before executing.
execute_action runs write SQL (INSERT/UPDATE/DELETE/DDL). Writes succeed only if your workspace role allows writes and the connected database role has the needed privileges.
Inputs: body (required). Returns: object
query_contextspostgresql Setup HelperARead-onlyInspect
Helper for planning InsightfulPipe postgresql requests.
Step 1: request='accounts' – Retrieve workspace_id, brand_id, connection_slug, other source metadata, AND available_actions (all read-only actions you can call).
Step 2: request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] – REQUIRED before querying. Replace with actions from available_actions to get the exact request body, required identifiers, fields, and notes for each action.
Optional: request='available_actions' – Standalone call to list all available actions (already included in accounts response).
Optional: request='brands' with brand_id + workspace_id to pull brand guidelines.
Inputs: request (required), actions, brand_id, platform, +1 more. Returns: object
query_datapostgresql DataARead-onlyInspect
Query postgresql data (Step 3 (FINAL) of workflow).
REQUIRED: Complete these steps first using query_contexts:
request='accounts' - Get workspace_id, brand_id, connection_slug AND available_actions
request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] - Get detailed body structure for specific action(s) using actions from available_actions
IMPORTANT: Always call step 2 to see the exact body structure before querying.
query_data accepts read-only SQL only: a single SELECT (or EXPLAIN) statement. Write statements (INSERT/UPDATE/DELETE/DDL) are rejected here - send them through execute_action.
Inputs: body (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted MySQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted BigQuery MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted Airtable MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server for PostgreSQL — built for Claude Desktop, Claude Code, and any MCP-compatible AI agent.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA general-purpose PostgreSQL MCP server with full read-write SQL access, atomic multi-statement transactions, and schema inspection. Works with any PostgreSQL instance — local, Supabase, AWS RDS, or self-hosted — and connects to Claude, Cursor, Windsurf, or any MCP-compatible AI client.94 npm3ISC
- FlicenseNot gradedqualityDmaintenanceA secure PostgreSQL MCP server allowing AI models to read, write, update, and delete database records with parameterized queries, transactional dry-runs, disposable testing, and automated backups.-
- AlicenseNot gradedqualityDmaintenanceAn extensible MCP server for database operations that supports PostgreSQL for managing schemas, tables, data, and user permissions. It features automatic migration recording for DDL changes and integrates with various AI-powered editors like Cursor, Zed, and Claude Code.2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.