Skip to main content
Glama
112,965 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, October 2026Ranked from 1,524 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"postgresql" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    B
    quality
    C
    maintenance
    It connects an agent to a PostgreSQL database so it can inspect schemas, run validated reads and writes, resolve fuzzy names via trigram search, and perform or store pgvector embedding searches. Vector and hybrid search operate through an OpenAI-compatible embeddings endpoint, letting agents query by text without handling embedding arrays.
    11
    1,186 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server enabling text-to-SQL on PostgreSQL databases using a CrewAI multi-agent system. It generates and executes read-only SQL queries from natural language, with security layers against prompt injection.
    2
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables read-only access to a PostgreSQL database, allowing users to inspect schema, generate SQL from natural language, and execute read-only queries via MCP.
    5
    -
  • F
    license
    A
    quality
    B
    maintenance
    MCP server that allows natural language queries in Portuguese to a PostgreSQL database using Ollama, ensuring read-only access with parameterized SQL and strict safety policies.
    24
    -
  • A
    license
    D
    quality
    B
    maintenance
    A local-first MCP server that provides safe, governed read-only SQL access to SQLite and PostgreSQL, with validation, limits, task tracking, and report generation.
    20
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables inventory management through FastAPI with AI chat powered by Ollama, allowing natural language interaction with PostgreSQL data via MCP for clients like Claude Desktop and VS Code.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables users to ask plain-English questions against MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and MariaDB databases by auto-detecting schemas and converting requests into safe, read-only SQL queries.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A generic MCP memory service that provides AI clients with long-term memory capabilities, including semantic search, categorization, and priority management. Supports both local JSON and cloud PostgreSQL storage.
    11
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables users to ingest documents into a PostgreSQL/pgvector knowledge base, run semantic search over them, and get grounded answers through a retrieval-augmented generation pipeline backed by a free LLM. It also lets clients spin up specialized AI agents on demand and exposes knowledge-base stats and configuration as resources for tutoring workflows.
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP clients to run text chat, deep reasoning, vision analysis, and image generation through the xAI Grok API, alongside workspace file read/write/shell tools, web search, speech-to-text and text-to-speech, and background jobs with persistent conversation history in PostgreSQL. Supports both HTTP and stdio transports with per-tool model selection from the live xAI catalog.
    3
    MIT