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

Matching MCP tools:

Matching MCP Connectors:

"MySQL Query Basics and Examples" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    C
    maintenance
    A Model Context Protocol server that provides read-only MySQL database queries for AI assistants, allowing them to execute queries, explore database structures, and investigate data directly from AI-powered tools.
    3
    75 npm
    13
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A lightweight MCP server providing safe, read-only access to MySQL databases. It enables users to query multiple MySQL instances securely while preventing write operations.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI to execute SQL queries (SELECT, DML, DDL) on MySQL/MariaDB databases with strong security: connection credentials never exposed to AI, write queries require user approval, read-only connections enforced, and query results limited to 50 rows.
    6
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    A lightweight MySQL MCP server that enables LLMs to interact with databases through tools for schema inspection and query execution. It features LLM-friendly formatting, SSL support, and a secure read-only mode with query timeout protections.
    7
    61 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides AI agents a secure MCP interface to a single MySQL or MariaDB database, enabling schema inspection, read-only queries, query planning, and guarded write operations with strict safety controls.
    6
    71 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A TypeScript MCP server that provides secure, read-only access to a locally hosted MySQL database for AI-agent workflows, with configurable policies and support for multiple MCP clients.
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MySQL/MariaDB MCP server for running SELECT queries safely, with automatic read-only enforcement and query limits.
    3
    14 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MCP server that lets AI agents safely query SQLite, PostgreSQL, and MySQL/MariaDB. Enforces read-only transactions with column masking, row caps, query timeouts, EXPLAIN-based cost rejection, and rate limiting.
    7
    37 npm
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MySQL database access via MCP. Enables listing databases, tables, schemas, running SELECT queries, and EXPLAIN plans.
    6
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Secure and token-efficient MySQL MCP server built specifically for AI agents. Prevents hallucinations, optimizes context windows and blocks dangerous queries.
    5
    284 npm
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for running read-only SQL queries across MySQL and PostgreSQL databases with safety guardrails, credentials stored outside source, and support for multiple databases.
    2
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A local development MCP server that exposes MySQL databases to VSCode and Copilot CLI with read-only SELECT queries and INSERT/UPDATE operations. It provides secure, schema-specific database access for development environments only.
    2
    -
  • A
    license
    A
    quality
    D
    maintenance
    A multi-database MCP server that enables LLMs to safely interact with MySQL, PostgreSQL, SQLite, and others through a unified tool interface, with permission modes and schema resources.
    10
    44
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A lightweight, multi-environment MySQL MCP server that provides secure, policy-gated database access through simplified query and execution tools. It enables AI agents to interact with multiple database environments safely using environment-based routing and strict security constraints.
    2
    11 npm
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    Enables schema inspection, SELECT queries, and confirmation-gated write/DDL/transaction operations on MySQL and MariaDB databases through natural language.
    14
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude Desktop to execute read-only SQL queries on MySQL databases via natural language, with dynamic connection switching and built-in security.
    3
    163 npm
    7
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides read-only MySQL query execution, database/table browsing, and table structure inspection with SQL safety validation.
    5
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to explore MySQL database schema — tables, columns, foreign keys, indexes, and relationships — through structured tools and resources, without any write access.
    8
    8 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An AI-to-DB secure gateway that enables AI assistants like Claude Code to interact with MySQL databases through controlled, auditable operations with permission modes and AST-level validation.
    6
    3
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI clients to inspect, query, and safely modify MySQL databases through validated SQL tools, policy-controlled approvals, and least-privilege read/write connections. It adds AST-based guardrails, SSH tunneling, and audit logging to prevent destructive or unsafe database operations.
    10
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server for MySQL databases that enables AI assistants to query schemas, execute SQL with permission controls, and manage databases through standardized tools.
    4
    28 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to query MySQL databases read-only and switch connections, servers, or credentials mid-conversation without restarting the client.
    12
    68 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables Claude Code to directly operate MySQL databases through natural language, supporting multi-environment profiles, security modes, and 11 tools.
    11
    2
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    Enables MCP clients such as Codex to safely inspect a MySQL database over stdio by listing tables, describing schemas and indexes, and running only validated single read-only SELECT/CTE queries plus JSON EXPLAIN plans. Queries execute inside read-only transactions with strict AST-based rejection of writes, multi-statements, and other risky operations, and results come back as structured JSON.
    6
    -
  • A
    license
    A
    quality
    Not graded
    maintenance
    Connect and interact with MySQL databases seamlessly. Execute SQL queries, manage database connections, and retrieve data directly through AI assistants. Enhance your AI capabilities with structured access to your MySQL data.
    9
    11 npm
    18
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to inspect and query a MySQL database through safe, structured tools, including schema discovery and read-only queries.
    9
    51 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to safely query MySQL databases with read-only access, featuring SQL injection protection, connection pooling, and automatic query limits for secure database exploration.
    4
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables comprehensive MySQL and MariaDB database operations, including SQL query execution, table inspection, connection testing, and management of multiple database connections with secure HTTP access and enterprise-grade security features.
    7
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI agents to query invoice data through tools that list and filter invoices, fetch a single invoice by ID, compute counts and USD totals, and surface overdue rows with totals. Keeps tabular finance data out of the prompt by exposing small, Zod-validated queries over a sample invoice CSV.
    4
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI models to perform MySQL database operations through a standardized interface, supporting secure connections, query execution, and comprehensive schema management.
    7
    79 npm
    33
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables Claude to work with local MySQL databases through natural language, including creating databases and tables, performing CRUD operations, switching between configured connections, and executing safe read-only or write SQL.
    19
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Connects AI tools and agents to MySQL databases, enabling read-only querying, schema exploration, table listing, data sampling, execution plans, and row counts with safeguards against write operations and SQL injection.
    7
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables AI clients to connect to a MySQL database and run SELECT queries, INSERT/UPDATE/DELETE statements, list tables, and inspect table schemas via the Model Context Protocol.
    5
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Exposes an Oracle database to MCP clients over stdio, offering 75 tools to query, modify, inspect, and triage the database with zero-install thin mode requiring no Oracle Client. Every statement is recorded in a Markdown audit log.
    75
    37 npm
    2
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Comprehensive Model Context Protocol server for MySQL databases featuring 191 specialized tools for CRUD operations, JSON functions, spatial/GIS, schema management, performance monitoring, and advanced features like OAuth 2.1 authentication and connection pooling.
    43
    75 npm
    11
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to manage MySQL databases through natural language commands. Supports database operations, table management, data queries, and import/export functionality with built-in security features.
    15
    16 npm
    1
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Feature-rich MCP server for MySQL and MariaDB with multi-connection support. Connect many instances at once — query schemas, run scripts, test stored procedures with sandbox rollback.
    61
    16 npm
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    Enables AI agents to connect to MySQL databases for schema discovery, safe reads, custom queries, CSV exports, data changes, DDL, and transaction management, with permissions and optional HTTP access.
    49
    589 npm
    4
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Connects MCP-compatible clients like Claude to a MySQL database, enabling schema inspection and read/write queries via stdio transport.
    5
    1
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    Enables executing SQL queries, managing databases, and switching between multiple project environments via MCP, without requiring a local MySQL client.
    14
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables secure, runtime-authenticated MySQL database querying and mutation through dynamic tools, allowing AI assistants to list databases/tables, describe schemas, and perform CRUD operations.
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables coding agents to query and expand a personal tech-stack knowledge vault via MCP tools for searching notes, recommending stacks, retrieving practices and checks, and proposing changes to an inbox for approval.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to execute secure SQL queries against a MySQL database through the Model Context Protocol, with read-only operations by default and optional write/DDL capabilities.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables clients to run raw SQL against MySQL, MariaDB, and PostgreSQL, with read-only connections limited to read queries and other connections allowed to execute writes.
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude to query and manage databases (SQLite, SQL Server, PostgreSQL, MySQL) through natural language, supporting read/write operations and schema management.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLMs to query and analyze data across multiple MySQL databases with enterprise data federation, intelligent caching, cross-system analytics, and automated schema discovery for comprehensive business intelligence.
    13 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A MySQL MCP server for secure database interaction, enabling schema inspection, query execution, and RBAC via AI coding assistants.
    7
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables agents to pull compact MySQL row diffs into their context, supporting before/after changes via triggers or watermark-based updates, with tools to fetch and acknowledge changes.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables coding agents to crawl and check local or private website targets for broken links, redirects, security headers, and SEO basics before committing, with public targets allowed only via an explicit flag.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides secure, read-only access to a single MySQL database for schema inspection and querying.
    129 npm
    5
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to query and modify MySQL and MariaDB databases over MCP, with each connection independently permitting selects, inserts, updates, deletes, and DDL while defaulting to read-only and rejecting anything outside the allowed operations. Connections are configured in JSON, result sets are capped and truncated, and passwords stay server-side.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A secure MySQL Model Context Protocol server that enables AI agents to interact with MySQL databases through standardized operations. Features comprehensive security with SQL injection prevention, connection pooling, and configurable tool access for database operations.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with secure read-only access to MySQL databases through validated SELECT queries. Supports SSL/TLS connections and implements multiple security layers to prevent data modification.
    554 npm
    3
    MIT