MySQL MCP Server

by alittleyellowkevin · data-analytics · mcp-server, lobehub, developer

Medium setupBest for experimentalTrust score 15/100

A Model Context Protocol (MCP) server that provides access to a MySQL database, allowing agents to execute SQL queries. Requires a running MySQL server configured via environment variables MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE.

Source: https://github.com/alittleyellowkevin/MYSQL-MCP

Install

git clone https://github.com/alittleyellowkevin/MYSQL-MCP

Use this forAI-extracted

  • Execute SQL queries against MySQL databases from Claude
  • Retrieve database schemas and table structures for analysis
  • Perform CRUD operations on MySQL records programmatically

Works with

Claude CodeClaude Desktop

Tags: mcp-server, lobehub, developer

35 GitHub stars · Source: lobehub

About data-analytics MCP servers and Claude skills

data-analytics MCP servers extend what AI agents can do inside Claude Code, Cursor, Copilot, Codex, and Windsurf. The Skiln directory indexes 16,000+ such integrations across 22 categories.

MySQL MCP Server is one of hundreds of data-analytics entries indexed on Skiln. Browse the full data-analytics category or the complete directory of Claude skills, MCP servers, agents, commands, and hooks.

Related data-analytics MCPs and skills

  • ssas-mcp-server-by-cdata by cdatasoftware

    CData 提供的只读 Model Context Protocol (MCP) 服务器,用于 SQL Server Analysis Services。需要外部的 CData JDBC 驱动程序(SQL Server Analysis Services 版),必须单独下载并获得授权。该服务器使用 .prp 配置文件连接到数据源。

  • mcp-embedding-search by spences10

    A Model Context Protocol (MCP) server that queries a Turso database containing embeddings and transcript segments. Requires environment variables TURSO_URL and TURSO_AUTH_TOKEN to configure the Turso database connection.

  • Magic Garden Neo4j MCP Server by yourusername

    用于 Neo4j 图数据库操作的 Model Context Protocol (MCP) 服务器,专为 Magic Garden AI 儿童教育平台设计。需要通过环境变量(例如 NEO4J_URI、NEO4J_USER、NEO4J_PASSWORD、NEO4J_DATABASE)配置外部 Neo4j 数据库连接。

  • Fusion MCP by ramesharavapally

    A local stdio MCP server providing read-only access to Oracle Fusion/ERP Cloud databases via the BI Publisher SOAP API, enabling object discovery, table descriptions, source reading, and SELECT queries.

  • postgres-mcp-query-tool by nskha101

    An MCP server that gives an AI agent scoped, safe access to your Postgres databases with per-connection access control, row caps, timeouts, and defense-in-depth read-only enforcement.

  • query-executor by Nitesh-Nandan

    Enables AI agents to read and optionally write to PostgreSQL databases through a multi-project setup with schema inspection, query execution, and performance analysis tools.

  • oraclemcp by io.github.MuhDur

    Engine-free, read-only Oracle Database MCP server with a fail-closed SQL guard (unofficial).

  • MySQL Query — MCP Server — MCP.Directory by devakone

    Title: MySQL Query — MCP Server

Frequently asked questions

How do I install MySQL MCP Server?

Add the install command above to your Claude Code, Cursor, or Windsurf MCP configuration. Most servers register via npx, a local command, or a Docker image. Refer to the source repository for environment variables and credential requirements.

Which clients support MySQL MCP Server?

Any MCP-compatible client works: Claude Desktop, Claude Code CLI, Cursor, Windsurf, Zed, and VS Code with the official MCP extension. OpenAI Codex and GitHub Copilot increasingly support MCP via adapter bridges.

Is MySQL MCP Server free?

The server itself is typically open source. Any upstream service (API keys, paid tiers, hosted infrastructure) may have its own pricing. Check the source repository for details.