MCP.so
Sign In

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

Category

Databases

Runtime

node

Transports

stdio

Publisher

elber-code

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.

Comments

More Databases MCP servers