Database Tools for Claude AI
@elber-code
关于 Database Tools for Claude AI
MCP tool that allows you to interact with MySQL databases
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"database-tools": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@elber-code/database-tools",
"--client",
"claude"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
数据库 分类下的更多 MCP 服务器
Elasticsearch/OpenSearch MCP Server
cr7258A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
mcp_mysql_server
xwb602625136Model Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展

Redis
modelcontextprotocolModel Context Protocol Servers
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
MySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
评论