Skip to main content
Glama
136,596 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, December 2026Ranked from 1,895 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"How to perform SELECT queries in PostgreSQL" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents and MCP clients to call pay-per-use metered MCP endpoints, handle HTTP 402 payment challenges, top up compute packs, and enforce spend authorization with atomic reserve-commit-rollback accounting.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables LLM clients to query a CRM (local reference CRM or Salesforce) over MCP while enforcing per-user field-level security and record sharing on every query, serving results from an index that stores only ids and hashes rather than text, and re-reading fields live. Retrieved content is sanitized before reaching the model, and the model can only propose CRM writes that a human approves by payload hash.
    Apache 2.0
  • F
    license
    A
    quality
    A
    maintenance
    An MCP server that sends plain-text Gmail messages only to a predefined allowlist, using generated recipient IDs instead of email addresses to enforce security.
    2
    1
    -
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables authorized web/API security analysis as a stateful, multi-stage workflow with persistent session state, human-controlled validation, candidate versus confirmed finding tracking, and stop conditions.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables secure exploration and administration of PostgreSQL databases, including schema discovery, query and index performance analysis, health checks, and safe SQL execution. Supports developer and production modes with allowlisted queries, row-level tenant isolation, JWT authentication, audit logging, and dual stdio/HTTP transports.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables authenticated, role-scoped MCP clients to read the caller's synthetic employee profile and support requests, with Operator-only creation of support requests. Access is enforced through Entra roles, fixed parameterised SQL, row-level security, and private PostgreSQL connectivity without arbitrary SQL exposure.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables chatting with a PostgreSQL database through tools that list schema, run read-only queries, and perform writes for privileged users, secured by GitHub OAuth and deployable as a remote server on Cloudflare Workers.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Blocks AI coding assistants from installing non-existent packages and accessing non-existent files.
    1
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for PostgreSQL with typed tools (list, describe, read, aggregate, insert, update, delete), catalog SQL served as named tools, and free SQL that runs under the grants of each login. Each caller is limited to its own tools, databases and tables, and start checks refuse unsafe setups, such as a superuser login with free SQL on. Serves stdio and Streamable HTTP. Written in Go, Apache-2.0
    12
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Authentik MCP provides seamless integration with Authentik's API, supporting both full-featured and diagnostic modes. These enable secure, automated user, group, and system management through MCP-compatible tools.
    18
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A secure MCP server that enables querying PostgreSQL databases through an SSH tunnel with enforced read-only access, connection pooling, and comprehensive data exploration tools.
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables chatting with PostgreSQL databases through secure GitHub OAuth authentication, supporting read operations for all users and write operations for privileged users. Deployable as a production-ready remote MCP server on Cloudflare Workers with automatic schema discovery and SQL injection protection.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP authorization server implementing OAuth2/OIDC flows, supporting dynamic client registration, PKCE, consent screens, and client ID metadata documents for MCP authorization.
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to discover allowed PostgreSQL schemas, run parameterized SELECT queries, and inspect query plans safely through parser-checked read-only transactions, timeouts, row caps, and role-based access controls.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLM agents to inspect PostgreSQL schemas and run guarded, SELECT-only queries with table allow-lists, read-only transactions, timeouts, row/byte caps, and JSONL auditing.
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude to run validated, read-only SELECT queries against PostgreSQL while refusing non-approved tables and unsafe statements, capping returned rows, and recording every call in a JSONL audit log.
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables safe, read-only querying of PostgreSQL databases with defense-in-depth protections including single-statement SELECT guard, row caps, and per-identity audit logging.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to safely explore and query SQLite or PostgreSQL databases through read-only, guarded SELECT queries with column masking, row limits, timeouts, and audit logging.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables Claude to list Iceberg tables and run read-only DuckDB SQL queries, including time travel by snapshot, with per-caller token authentication and audit logging.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Exposes a fictitious ITSM toolset (ticket search/read, commenting, and closing) behind OAuth bearer-token validation, so clients and users only see and call tools their scope and role allow. It also demonstrates audience binding, so tokens minted for other resources are rejected.
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables users to point an agent at a PostgreSQL database and safely run SQL through a single execute_sql tool, with writes closed by default and only opened by an explicit environment flag. It bounds results and timeouts and treats every returned value as untrusted data.
    1
    GPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    Lets AI agents check whether an EVM wallet address carries an EIP-7702 delegation across eight chains (Ethereum, Base, BNB Chain, Arbitrum, OP, Polygon, Gnosis, Unichain) and learn how to obtain a deeper paid report with delegate bytecode heuristics and risk levels. Read-only, never touching private keys or seed phrases.
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server that integrates Apache Ranger authorization with RAG, enforcing Ranger policies to control access to knowledge bases before forwarding queries to RAG Studio.
    4
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to perform passive security scans on domains, checking email spoofing (DMARC/SPF/DKIM), TLS weaknesses, security headers, exposed files, and subdomain-takeover risk without needing an API key.
    7
    70 npm
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Deterministic LIFO rollback, pre-flight blast-radius gates, net-zero Stripe holds, and a 60-second outbound Slack/Email airlock proxy for AI agents across PostgreSQL, Stripe, S3, and GitHub.
    2
    16
    1
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    Connect your database to your AI agent, read-only, without sharing your password. Maplith Bridge serves a folder of data files over MCP behind a token you create, and fills it from PostgreSQL under a role that can only read.
    2
    70 npm
    1
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to check whether an EVM token is a honeypot, what buy and sell taxes it charges, what powers its owner retains, and how concentrated its holders are across 13 chains. Returns normalized risk levels, warnings, and explicit unknowns from GoPlus data with no API key required.
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI agents to securely interact with PostgreSQL databases with least-privilege scopes, PII masking, and human approval for writes.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables an AI agent to check whether contracts are covered by ERC-7730 descriptors, preview how transactions and typed-data signatures would appear to a person, and simulate execution outcomes before signing, without holding keys or submitting transactions.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude to query a PostgreSQL database read-only with table allow-lists, row limits, statement timeouts, and an audit log of every query.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A drop-in Model Context Protocol (MCP) server that lets an AI agent query PostgreSQL — read-only, enforced at the database level, with real SQL validation, timeouts, cost limits, OAuth 2.1, and an audit trail.
    10
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables managing DNS zones and records, registrar checks and changes, and certificate operations through the official DNSimple CLI, using browser OAuth sign-in instead of API tokens and separating read-only queries from destructive mutations.
    8
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables read-only PostgreSQL interaction through safe query execution, query planning, table and column inspection, and privilege checks, with multi-layer defenses against write operations and transaction-control exploits.
    5
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Lets an LLM explore a cryptic legacy ERP schema in plain language through a semantic layer (table listing, column descriptions, published dictionary) and run single read-only SELECT queries that return capped results. Enforces safety at the database engine level: only reads are authorized, sensitive columns are masked to NULL, queries are aborted after a few seconds, and every call is written to an append-only audit log.
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Turn PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite or Snowflake into MCP tools and a REST API, with API keys and per-table role-based access.
    8
    177
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Enables an AI assistant to perform read-only defensive security lookups and analysis, including privacy-preserving breach checks, CVE and MITRE ATT&CK queries, log parsing, IOC defanging/refanging, hashing, and Windows event ID explanations.
    9
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude to answer questions from a SQL Server database by running guarded SELECT-only queries, with table discovery, row limits, timeouts, and an audit log that keep the data read-only.
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for connecting to SQL Server in readonly mode. Allows any MCP client to explore the schema and run SELECT queries against a SQL Server database.
    6
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Audits PostgreSQL/Supabase schemas for security issues like missing RLS, permissive policies, and sensitive data exposure during AI conversations.
    3
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Enables LLMs to safely query databases through a secure gateway that masks PII, enforces role-based table access, rate limits requests, and logs all queries, with Prisma support.
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to perform real-time email verification via RFC 5321 SMTP handshakes, including single-address checks, bulk list cleaning, disposable/risky/catch-all detection, and job/credit management.
    9
    103 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables Claude Desktop and Claude Code to inspect a Postgres schema and run read-only SQL queries against a demo database through the tools describe_schema and query_readonly. Every proposed query passes the same deterministic guardrails — SELECT-only, allow-listed tables, enforced row limits, statement timeouts and a read-only role — before execution.
    2
    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
    C
    maintenance
    Enables AI assistants to perform cybersecurity tasks including hash analysis, CVE lookup, HTTP header auditing, WHOIS/OSINT, payload decoding, password strength evaluation, and threat report generation.
    7
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude to inspect SQLite table schemas, sample rows, and run safe read-only SELECT queries over a local database, with layered SQL safety and audit logging.
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server for Microsoft Defender Advanced Hunting that enables AI assistants to investigate security events using natural language by translating queries to KQL and executing them against Defender.
    2
    16 PyPI
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform IP geolocation, proxy detection, and domain WHOIS lookups using IP2Location.io and IP2WHOIS data.
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables an AI agent to audit a fleet of PostgreSQL and Oracle databases against a single compliance baseline, cross-check configuration with CMDB inventory, backup logs and network discovery, and produce prioritized, human-validated remediation proposals without ever modifying anything.
    6
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Query CVEs, yanked releases, known exploits, and upgrade paths for any PostgreSQL version directly from your AI assistant.
    5
    161 PyPI
    Apache 2.0