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
    Not graded
    quality
    B
    maintenance
    Enables agents to connect to Kafka clusters, discover topics and consumer groups, draft and activate a catalog describing what events carry, inspect stuck or at-risk value, and optionally redrive dead letters after a dry run.
    5
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to convert CSV text into JSON arrays with automatic delimiter detection and optional header-row handling, accessed through a pay-per-call x402 micropayment API.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to discover metrics and dimensions and query business metrics over e-commerce data through MCP tools that translate metric requests into SQL via a dbt and MetricFlow semantic layer.
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A server that connects to PostgreSQL databases and provides tools for safely exploring schemas, running read-only SQL queries, and performing data analysis with pre-built templates.
    6
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with PostgreSQL databases through the Model Context Protocol, providing database schema exploration, table structure inspection, and SQL query execution capabilities.
    15
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An open-source MCP server that imports HR CSV data into an in-memory SQLite database for structured querying and metadata retrieval. It enables users to perform read-only SQL queries and structured searches on employee data through natural language.
    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
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server for configuring the konsol Frappe app via the CLI. Enables AI clients to manage dimensions, measures, fact tables, connectors, and schemas using natural language.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLMs to perform analytical SQL queries on PostgreSQL/MySQL databases via DuckDB, with tools for querying, aggregation, and materialized views.
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to perform read-only data hub queries including table listing, schema details, distinct values, and row-limited SELECT/aggregation, while rejecting free SQL.
    -
  • A
    license
    A
    quality
    B
    maintenance
    Lets an agent query JSON files too large for its context: JSONPath with aggregation pipes, schema, field profiles, samples, identity-keyed diff, CSV and spreadsheet export, and checks that gate a file. Int64 IDs and decimals keep their exact digits, and zstd, Base64-Zstd and PostgreSQL bytea payloads open directly.
    12
    68 npm
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that provides safe, read-only access to a PostgreSQL warehouse, enabling schema introspection, guarded SQL queries, and truncated result reporting for LLMs.
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Yandex Metrica over MCP: 13 tools for counters, goals, Reporting API queries with period comparison, and the full Logs API export lifecycle with preview-first downloads.
    13
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables language models and users to perform exact arithmetic, symbolic math, unit/date conversions, statistics, and read-only SQL queries over registered files, with every operation logged by a citable ID that humans can re-run.
    11
    MIT
  • A
    license
    A
    quality
    Not graded
    maintenance
    Enables AI clients to perform opponent scouting, retrieve athlete box scores, diagnose P1–P6 rotation sideout issues, audit serve-receive, and export event-level touches to DataVolley (.dvw) or pandas.
    7
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only SQL across PostgreSQL, MySQL, S3-compatible buckets and folders of Parquet, CSV and JSON files — and one query can join across all of them, federated in-process by DuckDB. Sources are given as connection strings at startup, and no tool writes: they are absent rather than disabled.
    2
    24
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to interact with Hadoop Hue for executing SQL queries using Hive, SparkSQL, or Impala and managing HDFS files. It supports directory browsing, file transfers, and exporting query results to CSV through the Model Context Protocol.
    8
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    The definitive standard for SaaS metrics. One authoritative definition, formula, benchmark and warehouse SQL query for each of 320 metrics, with the graph of how they relate. Read-only.
    24
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Hydra ETL: lets AI assistants write declarative YAML ETL pipelines (CSV, Parquet, PostgreSQL, MySQL, MongoDB, APIs) and validate them before any data is read or written.
    17
    146 PyPI
    8
    AGPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    Enables executing SQL queries, exploring database schemas, and exporting results from Redash via MCP, with ad-hoc queries and write protection.
    5
    22 npm
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    MCP server for Durable energy trading analytics that connects Claude Desktop to Snowflake data, enabling natural-language queries about spreads, constraints, generators, and prices.
    11
    -
  • A
    license
    A
    quality
    C
    maintenance
    Exposes a governed semantic layer to AI agents so they select metrics and dimensions from a closed, engineer-declared vocabulary instead of writing SQL. Validates every typed call against the contract, rejects out-of-contract requests with structured errors and suggestions, and returns query rows together with the compiled SQL and dbt lineage for auditing.
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    This MCP server enables database migration between heterogeneous systems (Oracle, PostgreSQL, SQL Server, Netezza to PostgreSQL or SQL Server) through AI assistants by providing tools for command preview, execution, validation, and workflow suggestions.
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to search multiple tech job boards at once, summarize what the market is asking for, and rank postings by how well they match a user's own skills.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides GraphQL access to Airtable and Google Sheets data, enabling natural language queries for data exploration, schema introspection, and record management.
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to perform end-to-end machine learning workflows, including data inspection, SQL-based processing, AutoML model training, and prediction across CSV, Parquet, and JSON files.
    6
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Bridges Claude (or any MCP client) to manufacturing data via the i3X standard, enabling natural language queries about equipment status, hierarchy, and historical trends.
    12
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables an MCP client to browse Power BI workspaces, reports, and semantic models, run DAX queries and summaries, inspect refresh history and schedules, and optionally trigger dataset refreshes.
    12
    Functional Source , Version 1.1, ALv2 Future
  • A
    license
    A
    quality
    C
    maintenance
    Lets an AI assistant explore a read-only data warehouse schema through three core tools — list tables, describe a table, and run row-capped SQL queries — plus curated business tools you add yourself, so recurring questions get one reviewed answer every time. Runs instantly on built-in demo data with no dependencies, then connects to Redshift or Postgres behind its own read-only database user.
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables LLMs to interact with Metabase instances through 33 tools for querying cards, dashboards, databases, collections, and executing SQL queries against your Metabase installation.
    23
    ISC
  • F
    license
    A
    quality
    D
    maintenance
    An MCP server that connects Claude and other MCP clients to Microsoft Power BI via its REST API using a Service Principal, enabling natural language queries to list workspaces, run DAX queries, refresh datasets, and explore reports.
    7
    -
  • A
    license
    A
    quality
    B
    maintenance
    Connects AI agents to Allegro, Base.com and WooCommerce through one self-hosted, read-only-by-default server that unifies product, order, stock and price queries. Writes are staged as proposals that only run after the user approves them in a terminal.
    9
    77 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to discover and query data federated across MySQL/MariaDB, PostgreSQL, ClickHouse, S3 and Kafka with SQL, exposing tools to list databases, schemas, tables and connections, describe columns, search objects, inspect table statistics, run EXPLAIN, and execute arbitrary statements. It runs locally over stdio against a PostgreSQL-wire endpoint and returns structured results or SQLSTATE-coded errors.
    8
    Apache 2.0
  • A
    license
    A
    quality
    Not graded
    maintenance
    Enables AI assistants to securely connect to Snowflake data warehouses and execute SQL queries through natural language interactions. Supports multiple authentication methods and provides formatted query results with built-in security controls.
    1
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Turns a working curl into a recipe for SyncLane, a .NET library for API sync jobs, and tests it for two pages without a database: where the records are, how the API pages and whether the key is unique.
    6
    4
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents and their users to ask business questions in plain language and receive governed metric values, breakdowns, share-of-total figures, and the exact parameterized SQL behind them, drawn from a single semantic model rather than ad-hoc SQL. It also lets clients inspect available metrics and their definitions, and preview optimized queries without executing them.
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables Claude to query your personal Power BI Service workspaces, datasets, reports, and DAX queries using your own account and existing permissions.
    6
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    Model Context Protocol server that lets AI assistants explore and query SAP Datasphere — metadata discovery, catalog search, OData and SQL queries, ETL extraction, data lineage and column profiling — with built-in config-driven PII masking.
    42
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI assistants to perform real-time carbon emissions calculations and provide climate impact insights by interfacing with the Climatiq API.
    10
    12
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.
    12
    75
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables you to interact with your Fivetran environment through natural language, supporting read-only queries about connections and syncs, and write operations like updating sync frequency when enabled.
    22
    27
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An AI-powered treasury management MCP server that enables users to perform commercial banking analysis, including cash flow forecasting, idle cash detection, and debt covenant monitoring. It provides tools to surface financial insights and optimize working capital through automated processing of bank and transaction data.
    9
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Self-hosted EVM indexer in one binary: point it at a contract and an agent queries every event as SQL over a local database, with no API key.
    13
    9
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to read, create, and modify SAP BW/4HANA modeling objects via the internal REST API, including aDSOs, InfoObjects, transformations, DTPs, queries, and more.
    23
    512 npm
    92
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to explore Power BI workspaces and semantic models, discover their schema, run DAX queries, and trigger or monitor dataset refreshes through natural language.
    8
    MIT