← Back to directory
COMPARE UP TO 4 SERVERS

Compare MCP servers

Compare scores, permissions, risks, and fit in one decision-focused table.

DimensionMySQL MCP ServerA read-only MySQL MCP server for querying databases through Claude Desktop.DBHubBytebase's official, minimalist two-tool database MCP server
FMRS53 / 100 · D74 / 100 · B
Reliability9 / 2013 / 20
Security and permissions8 / 2013 / 20
Maintenance9 / 2016 / 20
Documentation14 / 2015 / 20
Setup experience13 / 2017 / 20
Best for
  • Data analysts and developers who want to query read-only MySQL data using natural language
  • Claude Desktop users who need to interact with local MySQL databases seamlessly
  • Teams that need to query MySQL without directly writing SQL
  • Scenarios wanting the smallest possible tool count and lowest context-window overhead for database access
  • Cases needing to grant non-technical teammates safe, read-only database access
Not for
  • Applications that require write or modify operations on the database
  • Applications that need to connect to non-MySQL databases (e.g., PostgreSQL)
  • Production environments without additional security measures and a dedicated read-only user
  • Scenarios needing database administration operations (creating indexes, altering schema) rather than just querying (DBHub is positioned as a query tool, not a DBA management tool)
Required permissions
  • Requires Node.js v16 or higher
  • Requires a MySQL database server
  • Requires Claude Desktop or Claude Code
  • Requires database credentials (via environment variables or connection string)
  • Grants only SELECT operations if credentials are limited, but if broad credentials are used, read access to all data is possible
  • Requires a database connection string (DSN), which may contain sensitive credentials
  • execute_sql can run arbitrary SQL (including writes) by default — must be constrained via read-only mode or the underlying database account's own permissions
Risks and side effects
  • Security may be misleading: the server only blocks non-SELECT statements, but if the provided credentials have write permissions, data could be modified; use a dedicated read-only user
  • Data privacy: database credentials are stored in environment variables, accessible to other processes on the same system
  • Network exposure: if the MySQL server is exposed, unauthorized access is possible; ensure network security
  • Resource usage: complex queries may consume significant resources; monitor query performance
  • Under default settings, if the connected database account has write access, execute_sql could let the assistant perform an unintended write or delete — pair with a read-only database account in production
  • The DSN contains a plaintext password — pay attention to the access permissions on wherever the config is stored
Supported clientsClaude DesktopClaude Desktop, Claude Code, VS Code, Cursor, Zed
Tools32