Skip to main content
Glama
Database Tools for Claude AI

Database Tools for Claude AI

by elber-code

Claude AI를 위한 데이터베이스 도구

대장간 배지

이는 Claude AI가 MySQL 데이터베이스와 직접 상호 작용할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.

특징

  • Claude를 통해 MySQL 데이터베이스 쿼리

  • 유효한 SQL 쿼리를 실행합니다.

  • 크기와 구조를 포함한 테이블에 대한 정보를 얻으세요

  • Claude에서 쉽게 읽을 수 있도록 형식화된 결과

Related MCP server: MariaDB MCP Server

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 데이터베이스 도구를 자동으로 설치하려면:

지엑스피1

이 도구를 설치하고 사용하려면 다음 단계를 따르세요.

  1. 저장소를 복제하거나 다운로드하세요

    git clone [repository-url]

    또는 ZIP 파일을 다운로드해서 압축을 푸세요.

  2. 종속성 설치 프로젝트 디렉토리로 이동하여 다음을 실행합니다.

    npm install

구성

Claude가 이 도구를 사용하려면 claude_desktop_config.json 파일에 구성을 추가해야 합니다. 이 파일은 일반적으로 다음 위치에 있습니다.

C:\Users\YOUR_USER\AppData\Roaming\Claude\claude_desktop_config.json

다음과 같은 구조로:

{
  "mcpServers": {
    // Other existing configurations...
    "database-tools": {
      "command": "node",
      "args": [
        "C:\\path\\to\\index.js"
      ]
    }
  }
}

용법

구성이 완료되면 Claude에서 다음과 같은 명령을 사용하여 MySQL 데이터베이스와 상호 작용할 수 있습니다.

  1. 모든 데이터베이스 나열
    "MySQL에서 쿼리를 실행하여 데이터베이스를 보여주세요."

  2. 데이터베이스의 테이블 보기
    "MySQL에서 쿼리를 실행하여 테이블 name_table 보여주세요."

  3. 테이블 크기 쿼리
    "MySQL에서 쿼리를 실행하여 name_table 테이블의 크기를 보여주세요."

  4. 사용자 정의 쿼리 실행
    MySQL에서 쿼리 실행: '쿼리로 수행하고자 하는 작업에 대한 설명.'

보안

이 도구는 mysql.js 파일에 설정된 권한으로 실행됩니다. 제공된 자격 증명에 허용하려는 작업에 필요한 권한만 있는지 확인하세요.

문제 해결

연결 문제가 있는 경우 다음을 확인하세요.

  • MySQL이 실행 중입니다

  • mysql.js 의 자격 증명이 올바른지

  • Claude 구성 파일의 경로가 올바른지

구현

데이터베이스를 쿼리하려면 Claude에게 "MySQL에 있는 모든 데이터베이스를 보여주세요" 또는 "users 테이블의 크기는 얼마인가요?"와 같이 질문하면 됩니다.

Available Tools

1 tool
mysqlC

Execute a query in MySQL

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as executing MySQL queries, leaving no ambiguity for an agent to misselect among alternatives.

    Naming Consistency5/5

    Since there is only one tool named 'mysql', it inherently follows a consistent pattern with itself. There are no other tools to compare against, so no inconsistencies in naming conventions can arise.

    Tool Count2/5

    A single tool for a server named 'Database Tools for Claude AI' is too few for the apparent scope, which suggests broader database operations. This minimal set limits functionality and does not provide a comprehensive tool surface for database management tasks.

    Completeness2/5

    The tool surface is severely incomplete for a database tools server, as it only offers query execution without supporting essential operations like connection management, schema inspection, data manipulation beyond queries, or CRUD lifecycle coverage. This will likely cause agent failures in handling typical database workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server implementation that enables Claude to execute read-only queries against MariaDB databases and explore database schemas through natural language.
      20
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for Claude that connects to MySQL, MariaDB, and SQLite databases. Query your databases using natural language.
      3
      132 PyPI
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      MCP server that connects AI agents to MySQL databases for schema exploration, data querying, and SQL execution via natural language.
      7
      22 PyPI
      2
      MIT