Database Tools for Claude AI
@elber-code
About Database Tools for Claude AI
MCP tool that allows you to interact with MySQL databases
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"database-tools": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@elber-code/database-tools",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Database Tools for Claude AI?
Database Tools for Claude AI is an MCP (Model Context Protocol) server that enables Claude AI to interact directly with MySQL databases. It allows executing SQL queries, retrieving table information, and viewing formatted results within Claude.
How to use Database Tools for Claude AI?
The server is installed via Smithery (npx -y @smithery/cli install @elber-code/database-tools --client claude) or manually by cloning the repository, installing dependencies with npm install, and adding the configuration to claude_desktop_config.json. Once configured, users can ask Claude to list databases, view tables, check table sizes, or execute custom SQL queries.
Key features of Database Tools for Claude AI
- Query MySQL databases directly through Claude.
- Execute any valid SQL query.
- Retrieve information about tables, including size and structure.
- Provides formatted results for easy reading in Claude.
Use cases of Database Tools for Claude AI
- List all databases available in a MySQL server.
- Display the tables inside a specific database.
- Check the size of a given table.
- Run ad‑hoc custom SQL queries based on natural language descriptions.
- Explore database schema and table structures interactively.
FAQ from Database Tools for Claude AI
What does Database Tools for Claude AI do?
It is an MCP server that lets Claude AI connect to MySQL databases, execute SQL queries, and display the results in a readable format.
How do I install Database Tools for Claude AI?
You can install it automatically via Smithery (npx -y @smithery/cli install @elber-code/database-tools --client claude) or manually by cloning the repository, running npm install, and configuring the path in claude_desktop_config.json.
How do I configure Database Tools for Claude AI?
Add the server to your claude_desktop_config.json file with the command node and the argument pointing to the full path of index.js.
What security considerations are there?
The tool uses the credentials configured in the mysql.js file. Ensure that those credentials have only the minimum permissions required for the operations you intend to allow.
What should I do if I have connection problems?
Verify that MySQL is running, that the credentials in mysql.js are correct, and that the path in the Claude configuration file points to the right location.
More Databases MCP servers
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展

Sqlite
modelcontextprotocolModel Context Protocol Servers
MongoDB Lens
furey🍃🔎 MongoDB Lens: Full Featured MCP Server for MongoDB Databases
Comments