Skip to main content
Glama
136,599 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
    A
    quality
    B
    maintenance
    Enables AI agents and MCP clients to drive real Chrome, Edge, Brave, and Firefox browsers through native automation protocols. It exposes tools for navigation, page snapshots, form filling, clicks, screenshots, console/network inspection, and tab management.
    23
    MIT
  • 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
    A
    quality
    B
    maintenance
    Read-only MCP server for Huawei GaussDB (centralized & distributed), built for coding agents. Three-layer write protection, multi-instance config, schema exploration and single-SELECT execution.
    5
    1
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Read-only MCP server that tells a coding agent what its change did to the whole repository: new dependencies, import rings, functions made hard to read, planning files committed. Every finding is measured, names its limit and says how to check it.
    3
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    7 SQL tools (validate, format, parse, lint, security scan, metadata extraction, full analysis) over Streamable HTTP. Supports 6 SQL dialects with 1.25M+ ops/sec.
    7
    127
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Read-only MCP server for SQL Server and PostgreSQL health checks. It runs the codeDB Lens diagnosis (A–F grade with rule coverage, findings with evidence, impact and next actions), reads 24-hour performance recordings, lists databases and tables, describes table schemas, and runs one guarded SELECT at a time within per-profile row and time limits. It uses the user's saved connection profiles; pass
    14
    8
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to explore a PostgreSQL database, run bounded read-only SQL, inspect query plans, test hypothetical indexes, find slow queries, and check database health with compact CSV output.
    10
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables SQL queries against PostgreSQL databases through MCP-compatible clients and includes a natural language agent for forming SQL queries from natural language.
    253
    PostgreSQL
  • A
    license
    Not graded
    quality
    B
    maintenance
    LLM Optimizer is an AI visibility intelligence platform. It analyzes how large language models and AI search engines perceive, cite, and recommend brands; then provides research-backed optimization strategies to improve that visibility.
    11
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI tools to perform real-time Google Search with grounded answers and inline citations, free with a Google account.
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A self-hosted MCP server that provides capability packs for AI agents to perform browser, desktop, git, and code actions via schema-validated JSON calls, enabling reliable agentic workflows even with small open-weight models.
    7
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI tools to query a PostgreSQL database, read its schema, list and describe tables, and explain queries while enforcing read-only transactions, row and byte limits, and timeouts.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A governed SQL gateway for untrusted AI agents, providing controlled access to PostgreSQL, MySQL, and OceanBase with RBAC, field ACLs, row policies, and cost controls.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to perform deterministic, Decimal-precision arithmetic, including basic, statistical, financial, utility, comparison, and variable-referenced calculations to avoid floating-point and LLM math errors.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Finds N+1 queries in PostgreSQL apps: runs a command through a local Postgres proxy (or reads Postgres server logs) and reports each loop, the query that caused it, an index suggestion and the ORM fix, with a before/after diff to verify a fix.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP-Server from your Database optimized for LLMs and AI-Agents. Supports PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle Database, SQLite, ElasticSearch, DuckDB
    550
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Read-only PostgreSQL ops/DBA server for the Model Context Protocol, providing diagnostics like slow queries, index health, lock waits, replication lag, and configuration tuning advice.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables analyzing sales and stock CSV files to identify what to reorder, how much to buy, when products will run out, and how much inventory is tied up in dead stock. Provides read-only inventory checks and CSV column inspection without uploading data.
    68 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI agents to interact directly with Prometheus metrics data through natural language queries.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Records how any command-line tool behaves (flags, stdin, outputs, exit codes, edge cases) as golden tests, then diffs a Rust or Go rewrite against the original to prove it behaves the same.
    25
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
    24
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    The Multi DB MCP Server is a high-performance implementation of the Database Model Context Protocol designed to revolutionize how AI agents interact with databases. Currently supporting MySQL and PostgreSQL databases.
    488
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to inspect database schemas and run single read-only statements across PostgreSQL, MySQL, MariaDB, SQLite and MongoDB connections, returning compact TSV results that keep token usage low. Both MCP tools work uniformly regardless of how many connections are configured, and connection names are exposed in the server instructions.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to diagnose PostgreSQL performance issues—slow queries, plans, bloat, locks, replication lag, and unused indexes—through read-only, fixed-SQL tools that cannot modify the database or expose row data. Includes prompts, scoped tokens, OAuth, rate limits, audit logs, and OpenTelemetry tracing for shared deployments.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants and MCP-compatible clients to discover graph schemas, execute read and write Cypher queries, and inspect nodes, relationships, and paths in a graph database.
    310
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to review PostgreSQL EXPLAIN plans and compare before-and-after plans, ranking likely performance problems and suggested fixes without connecting to a database.
    50 npm
    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
    A
    quality
    C
    maintenance
    Records your terminal sessions per command (PTY + OSC 133) into local SQLite, so AI agents can search, retrieve, and diff what commands actually printed. Secret redaction is applied by default to everything served over MCP.
    4
    7
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Agentic DevOps control loop and MCP server featuring polyglot Tree-sitter AST blast-radius analysis, OPA Rego policy evaluation, and isolated --network=none Docker test verification[cite: 1]. Exposes tools to inspect impacted dependency closures, validate security guardrails, and run targeted test suites.
    3
    2
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Serves the review notes left at lines of a diff in seam, a terminal diff viewer, to an agent with the code around them. The agent answers each note, and the answer shows in seam at that line.
    3
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    PCI DSS v4.0.1 compliance scanner for Go payment services, delivered as an MCP server. Every finding maps to a specific PCI DSS requirement ID. Taint-aware cardholder data flow analysis with PCI SSC FAQ semantics, designed to complement broad SAST tools like Semgrep and CodeQL - not replace them.
    15
    5
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Turn any OpenAPI/Swagger/Postman spec into an MCP server — give your LLM live access to any API.
    19
    1
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for a self-hostable personal planner — exposes memo, todo, calendar event, and cross-resource full-text search tools so Claude, Cursor, or any MCP client can manage your schedule and notes in natural language.
    18
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables querying GeoIP2, GeoLite2, and custom MMDB databases through the Model Context Protocol for IP lookups, filtered network queries, resumable pages, and MaxMind database downloads.
    10
    2
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    Cross-platform native service manager (systemd, launchd, Windows services) with a built-in stdio MCP server, so coding agents can start, inspect, read logs of, and schedule long-running processes as persistent services instead of backgrounding them with & or nohup.
    12
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants and local LLMs to interact with BirdNET-Go bioacoustic observatories, providing tools to query recent and historical bird detections, monitor station health, and retrieve audio clips.
    8
    9 npm
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for GLEIF LEI (Legal Entity Identifier) database access. Look up, validate, and search legal entities and their relationships in the global LEI system.
    12
    8
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Radar is an open-source Kubernetes observability and diagnostics MCP server. It exposes cluster health, workload diagnosis, logs, events, topology, audit findings, and remediation actions to AI agents through the Model Context Protocol.
    25
    4,324
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Local CI/CD engine for AI agents. ActionD listens to LGH git events and runs plugin jobs (Go/Python/Java/web toolchains) in isolated checkouts, with structured results, root-cause failure diagnosis, approval gates, and auto-rollback. The MCP server exposes 23 tools, including dev_cycle_run (commit → CI → structured verdict in one call) and actiond_diagnose for failed-job analysis.
    22
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Local-first Microsoft Outlook MCP server: a single Go binary that manages calendar events and mail through the Microsoft Graph API over stdio, with tokens stored in the OS keychain and no Entra ID app registration required. Exposes four aggregate tools (calendar, mail, account, system) dispatched by an operation verb, with multi-account support and read-only and mail-gating modes.
    4
    47
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Zabbix MCP server and CLI in one Go binary. 15 task-shaped tools: current problems, host investigation, why an alert did or did not arrive, metrics, maintenance. Zabbix 6.4+.
    15
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Baryon connects MCP-compatible AI assistants to Proton Mail through a local bridge, enabling email search, reading, attachment handling, and draft creation while enforcing deliberate permission limits. It runs locally and cannot send, delete, or modify mail.
    12
    1
    BSD 3-Clause
  • A
    license
    A
    quality
    B
    maintenance
    See which process holds a local port and who started it, find free ports, wait for services, and stop a dev server safely. Fixes "port already in use" (EADDRINUSE) for AI coding assistants. Never stops system processes; Docker and WSL ports get the right stop command. Run with: npx -y portcheck-cli mcp
    5
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Coordination for parallel coding agents: TTL file claims stored in the git common dir (visible across all worktrees), enforcement hooks that block colliding edits, agent presence, handoff notes, and a git-committed lessons knowledge base with BM25 search. Single static Go binary — no server, no database.
    8
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Scans source code for possible Korean compliance risks (PIPA, Network Act, Credit Information Act, E-Commerce Act) and maps findings to specific legal provisions. Runs locally, exposes MCP tools for scanning and law lookup, and does not constitute legal advice. That's hedged (matches the project's "possible risk / not legal advice" rule), keyword-rich for search, and names all four laws.
    4
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    CI health reports for GitHub Actions: flaky tests named from logs, wasted compute priced in dollars, zombie crons, PR feedback time, plus 21 lint rules with safe auto-fixes. Read-only MCP tools wrap the same Go binary.
    7
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Read-only attack-path tools for cloud and Kubernetes: list the reachable routes from internet exposure to sensitive assets, explain each hop and the evidence behind it, and simulate a fix before recommending it. Connects to a running PerspectiveGraph engine.
    4
    8
    10
    Apache 2.0