Database Tools for Claude AI
Claude AI를 위한 데이터베이스 도구
이는 Claude AI가 MySQL 데이터베이스와 직접 상호 작용할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.
특징
Claude를 통해 MySQL 데이터베이스 쿼리
유효한 SQL 쿼리를 실행합니다.
크기와 구조를 포함한 테이블에 대한 정보를 얻으세요
Claude에서 쉽게 읽을 수 있도록 형식화된 결과
Related MCP server: MariaDB MCP Server
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 데이터베이스 도구를 자동으로 설치하려면:
지엑스피1
이 도구를 설치하고 사용하려면 다음 단계를 따르세요.
저장소를 복제하거나 다운로드하세요
git clone [repository-url]또는 ZIP 파일을 다운로드해서 압축을 푸세요.
종속성 설치 프로젝트 디렉토리로 이동하여 다음을 실행합니다.
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 데이터베이스와 상호 작용할 수 있습니다.
모든 데이터베이스 나열
"MySQL에서 쿼리를 실행하여 데이터베이스를 보여주세요."데이터베이스의 테이블 보기
"MySQL에서 쿼리를 실행하여 테이블name_table보여주세요."테이블 크기 쿼리
"MySQL에서 쿼리를 실행하여name_table테이블의 크기를 보여주세요."사용자 정의 쿼리 실행
MySQL에서 쿼리 실행: '쿼리로 수행하고자 하는 작업에 대한 설명.'
보안
이 도구는 mysql.js 파일에 설정된 권한으로 실행됩니다. 제공된 자격 증명에 허용하려는 작업에 필요한 권한만 있는지 확인하세요.
문제 해결
연결 문제가 있는 경우 다음을 확인하세요.
MySQL이 실행 중입니다
mysql.js의 자격 증명이 올바른지Claude 구성 파일의 경로가 올바른지
구현
데이터베이스를 쿼리하려면 Claude에게 "MySQL에 있는 모든 데이터베이스를 보여주세요" 또는 "users 테이블의 크기는 얼마인가요?"와 같이 질문하면 됩니다.
Available Tools
1 toolmysqlC
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
Scored across 1 tool
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.
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.
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.
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
Related MCP Connectors
Hosted MySQL MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Hosted SQL Server MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.29MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server implementation that enables Claude to execute read-only queries against MariaDB databases and explore database schemas through natural language.20MIT
- AlicenseAqualityCmaintenanceMCP server for Claude that connects to MySQL, MariaDB, and SQLite databases. Query your databases using natural language.3132 PyPIMIT
- AlicenseBqualityCmaintenanceMCP server that connects AI agents to MySQL databases for schema exploration, data querying, and SQL execution via natural language.722 PyPI2MIT