Skip to main content
Glama
132,127 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,766 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"PostgreSQL database information and resources" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI agents with read-only access to a PostgreSQL database through fixed query tools and, for authorized agents, free SELECT on a PII-free view, with per-agent API keys, scopes, hardened SQL validation, audit logging, and Prometheus metrics.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to query PostgreSQL databases securely with read-only defaults, PII masking, rate limiting, and human-approved, expiring mutation tokens.
    9
    1
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to securely use real secrets (API keys, database passwords) by requiring human approval for each release, ensuring secrets never enter the model's context.
    2
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables Claude to redact personally identifiable information from text and files and scan content for PII, routing detected data through a human review workflow before redacted output is returned.
    3
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLMs to run read-only queries against MySQL and PostgreSQL while detecting and masking PII in columns, values, and JSON/text fields before results reach the model.
    4
    57 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables local detection of protected health information in source code before it reaches LLM prompts, log statements, or analytics calls.
    2
    71 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Detects and redacts sensitive personal information such as names, emails, phone numbers, ID numbers, and locations in text before it is processed by AI agents, using configurable mask, hash, or remove strategies.
    1
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables cleaning and sanitizing prompts through an LLM-powered tool that removes sensitive information, provides structured feedback with notes and risks, and normalizes prompt formatting. Supports configurable local or remote OpenAI-compatible APIs with automatic secret redaction.
    4
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides governed, read-only PostgreSQL access for AI agents via MCP. Enforces schema/table allowlists, query limits, and audit events.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A plugin-based MCP server that securely exposes custom tools to AI agents, keeping sensitive information hidden while enabling operations like email whitelisting through pluggable plugins.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    This server enables AI agents to connect to free, authenticated, or paid MCP servers, make native x402 payments for premium tools and resources, and require interactive user approval before payments are made.
    43 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Let LLMs analyze sensitive data safely by querying a tokenized, join-preserving copy of the database, with fail-closed PII scanning and provable numeric equivalence.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLM clients to read and modify MS-SQL, PostgreSQL, MySQL/MariaDB and SQLite databases through 38 MCP tools, with every table, view, function and procedure gated by explicit permission rules that deny by default. Ships with a desktop GUI for authoring rules, approving destructive operations and auditing what the model did.
    GPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to run PostgreSQL SQL through a controlled MCP gateway that blocks destructive commands, holds risky writes for human approval, records changed rows, and supports undoing applied writes including cascades.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agent sessions to reach a database through MCP with per-session, human-approved access grants, exclusive leased pool credentials, and revocable, auditable operations. It can be deployed locally or remotely with passkey-verified session administration.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to query a database through a small non-SQL DSL, restricted per person by a scope file that hides out-of-scope tables and fields and caps result limits. Writes happen in two steps, returning a before/after preview plus a short-lived single-use token that only applies after human approval, and every call is recorded to a JSONL audit trail without sensitive values.
    PolyForm Noncommercial 1.0.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A default-deny SQL firewall sidecar for AI agents that enforces per-agent policies on database queries, provides safe rewrites, and maintains a tamper-evident audit chain.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    This MCP server lets an AI agent query a Postgres database freely while routing every write to a human approver on Telegram with the exact SQL, parameters and reason, so changes only run after an explicit Approve tap and never on timeout or rejection. All decisions are recorded in an append-only audit log.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI clients to inspect schemas and run guarded, single-statement read-only SQL against SQLite, MySQL, and PostgreSQL, with enforced row limits, engine-level read-only sessions, and JSONL audit logging.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables SQL query sanitization by rewriting queries at the AST level to prevent PII/PHI exposure, acting as a proxy between AI agents and PostgreSQL databases.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP agents to rehearse risky database plans on a no-network clone, measure blast radius and guardrail violations, and apply only approved plans to production when the rehearsal matches.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables enterprise AI agents to discover and invoke MCP tools, resources, and prompts across GitHub, ITSM, and business systems through a policy-controlled gateway with human approval and auditability.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables autonomous agents to run shell and subprocess commands through a guardrail that blocks destructive system mutations, path traversals, and reverse shells. It also adds prompt-injection detection, spend circuit breakers, loop detection, and privacy sanitization so agent execution stays within safe, budgeted bounds.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Zero-dependency local proxy that wraps any MCP server to redact secrets, strip hidden-Unicode prompt injection, and block writes to protected paths like ~/.ssh and .env.
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables database-connected assistants to run reads immediately while holding data-changing and schema-changing calls until a separate supervisor approves them through a hosted page or push notification, after which the exact call executes once.
    277 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that brokers access to secrets for coding agents, enabling them to perform operations like database queries and CLI commands without ever reading the underlying values.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Security scanner and trust verification layer for MCP ecosystem, enabling users to scan PyPI packages and GitHub repos for secrets, dangerous patterns, and prompt injection vectors, and compare security scores.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP clients to redact API keys, JWTs, database URIs, cloud connection strings, and internal IPs into deterministic semantic placeholders and then locally restore the original values, plus audit a workspace for leaked secrets. Runs as a zero-dependency local stdio server with a fully local in-memory vault and no cloud calls.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a security scanner for AI agent skills and MCP servers, detecting threats like prompt injection, identity hijacking, and memory poisoning.
    44 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables agent clients to safely connect to tools and execution resources through MCP with authorization, approvals, audit, chat-context isolation, SSH/Docker access, and long-running command session tracking.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Passive security scanner that audits a running MCP server against the OWASP MCP Top 10 and grades it A-F. Read-only static analysis of the advertised tools, prompts and resources with console/JSON/SARIF output, and it also runs as an MCP server itself.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to share connections, skills, library items, encrypted secrets, approval rules, and permissions through one local or hosted MCP hub. It connects upstream tools, resources, and prompts over HTTP, SSE, OpenAPI/GraphQL, and local stdio servers while managing access through a web dashboard.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Security scanner for MCP servers. Detects prompt injection, command injection, auth bypass, and excessive permissions across tools, resources, and prompts.
    75 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to safely query PostgreSQL by intercepting and auditing every generated SQL statement before it reaches the database, blocking destructive commands like DROP/TRUNCATE, unbounded DELETE/UPDATE statements, stacked queries, and SQL injection probes. It exposes tools for validating query safety and enforcing a strict read-only (SELECT/EXPLAIN) policy.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A local MCP filesystem wrapper that previews file mutations, requires user approval, and records verifiable undo information for supported clients like Claude Desktop, OpenCode, and Codex.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Scans text and files for common secrets (AWS, GitHub, etc.) and redacts them to prevent credential leakage in AI-assisted development. Runs entirely locally with no telemetry.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables secure runtime mediation of tool requests from MCP-connected AI agents, enforcing least-privilege policies, validating intent and inputs, detecting multi-step attacks and information leaks, and supporting explainable decisions, audit trails, and human approval for sensitive actions.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An enterprise AI integration gateway that lets AI agents read and modify business systems (clients, cameras, contracts, tickets, maintenance, notifications) through typed, permission-filtered tools, resources and prompts, with OAuth 2.1 authentication, role/scope/tenant authorization, schema validation, idempotency, human approval for sensitive writes, and a tamper-evident audit trail.
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Policy-driven MCP servers that split web fetching and code execution into isolated containers, preventing prompt injection and data exfiltration by ensuring neither can both execute code and reach the network.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables verification of agent control file provenance (signature, integrity, certificate, and trust group) via MCP tools before loading.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to query CRM accounts, tickets, orders, and invoices and to issue controlled credit memos over PostgreSQL with OAuth scopes, audit logging, and human-confirmed writes.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents and humans to manage Docker hosts, Kubernetes clusters, and cloud resources through scoped MCP tools instead of direct SSH or Docker socket access. Every call is authenticated, permission-checked, guardrail-evaluated, optionally human-approved, and logged for auditable operations.
    4
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to answer business questions from a company database through shared semantic-layer metrics and guarded read-only SQL, with audit logging and layered protections against unsafe queries.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A decoy MCP tool server honeypot that exposes fake file system access, web search and a read-only database connector over the Streamable HTTP and HTTP+SSE transports, with plausible decoy files, tables and credentials. It records every connection, client handshake and tool invocation as structured JSON, optionally forwarding alerts to a webhook, so any client that reaches it is revealed along with exactly what it asked for.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Governs AI agent HTTP requests with policy enforcement, security scanning, and audit logging via MCP.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Lets MCP-compatible assistants vet inbound prompts and untrusted text for instruction-override manipulation, separator escapes, and concealed encodings before processing them. Additional inline controls cover spending limits, repetitive-plan interruption, unsafe host-action denial, and output sanitization without third-party libraries.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLM agents to run read-only SQL against PostgreSQL with safety enforced by the database itself — forced row-level security, signed tenant context, role limits, and fail-closed auditing. Queries stay confined to the rows and columns a principal may read, cannot modify or exhaust the database, and remain audited even when the SQL validator is switched off.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to safely invoke enterprise tools such as Supabase PostgreSQL and the Notion API through a zero-trust gateway that performs server-side policy and risk evaluation, cryptographically binds approval tickets to exact parameters, and requires out-of-band human approval for destructive operations. It also scrubs credentials from logs and responses while providing audit trails, rate limiting, and a web console for reviewing pending authorizations.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides a unified MCP gateway enabling AI agents to securely access multiple tool servers (knowledge base, database, repo, etc.) with dynamic tool selection and OAuth2/RBAC security.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to execute on-chain transactions through policy validation, KeeperHub orchestration, and tamper-evident evidence recording.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Zero-trust PostgreSQL MCP server and wire-protocol proxy in Go for safe AI agent database access (listing tables, inspecting schemas, running read-only queries, and viewing query plans). Enforces a PostgreSQL 17 AST SQL firewall, PII side-channel blocking, dynamic PII and secret masking across 8 compliance packs, row caps, and runaway loop protection.
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Gives AI agents an MCP gate that inspects generated SQL against declared schema semantics before execution, deterministically flagging fan-out double-counting, additivity violations, wrong join keys, and PHI/PII exposure. Each rejection includes a machine-actionable fix so the agent can self-repair through a draft-check-fix loop, all offline and without database access.
    81 PyPI
    99
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time threat intelligence for AI agents, enabling checks on IPs, domains, URLs, hashes, CVEs, prompt-injection payloads, and malicious AI-skill/MCP-tool definitions against a free database of 890K+ IOCs.
    -
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    An MCP server that validates tool calls against JSON Schema, performs deterministic repair, redacts secrets, and maintains a hash-chained audit ledger.
    -