S
shibayu36/mysql-schema-explorer-mcp
MySQL schema for large databases, without the rows
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Install command from the repository
claude mcp add mysql-schema-explorer-mcp -- docker run -i --rm --pull always --network=host \
Parsed from the README we fetched on 2026-11-04; we have not executed it.
This is the install method the repository states, not an MCP client config, so no JSON is generated.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
claude mcp add mysql-schema-explorer-mcp -- docker run -i --rm --pull always --network=host \
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
claude mcp add mysql-schema-explorer-mcp -- docker run -i --rm --pull always --network=host \. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# MySQL Schema MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
This is a Model Context Protocol (MCP) server that provides compressed schema information for MySQL databases.
This MCP server is useful when the schema dump file does not fit in the context size because you are using a large database schema.
https://github.com/user-attachments/assets/0cecef84-cd70-4f84-95cb-01c6ec7c9ac7
## Provided Tools
List Tables (listtables)
Lists all table information in the specified database. Includes table name, comment, primary key, unique key, and foreign key information.
Parameters
dbName: The name of the database to retrieve information from (not required when DBNAME environment variable is set)
Describe Tables (describetables)
Displays detailed information for specific tables in the specified database. Provides formatted information such as column definitions, key constraints, and indexes.
Parameters
dbName: The name of the database to retrieve information from (not required when DBNAME environment variable is set)
tableNames: An array of table names to retrieve detailed information for
## Quick Start
1. Configure mcp.json
json
"mcpServers": {
"mysql-schema-explorer-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "--pull", "always", "--network=host",
"-e", "DBHOST=127.0.0.1",
"-e", "DBPORT=3306",
"-e", "DBUSER=root",
"-e", "DBPASSWORD=yourpassword",
"ghcr.io/shibayu36/mysql-schema-explorer-mcp:latest"
If using Claude Code:
bash
claude mcp add mysql-schema-explorer-mcp -- docker run -i --rm --pull always --network=host \
-e DBHOST=127.0.0.1 \
-e DBUSER=root \
-e DBPASSWORD=yourpassword \
-e DBPORT=3306 \
ghcr.io/shibayu36/mysql-schema-explorer-mcp:latest
2. Execute SQL generation using the agent
Example: Using the structure of the ecshop database, list the names of the 3 most recently ordered products by the user shibayu36.
## Usage
### Fixing to a Specific Database
When accessing only one database, you can set the DBNAME environment variable to avoid specifying the database name each time.
json
"mcpServers": {
"mysql-schema-explorer-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "--network=host",
"-e", "DBHOST=127.0.0.1",
"-e", "DBPORT=3306",
"-e", "DBUSER=root",
"-e", "DBPASSWORD=yourpassword",
"-e", "DBNAME=ecshop",
"ghcr.io/shibayu36/mysql-schema-explorer-mcp:latest"
This MCP server is useful when the schema dump file does not fit in the context size because you are using a large database schema.
https://github.com/user-attachments/assets/0cecef84-cd70-4f84-95cb-01c6ec7c9ac7
## Provided Tools
List Tables (listtables)
Lists all table information in the specified database. Includes table name, comment, primary key, unique key, and foreign key information.
Parameters
dbName: The name of the database to retrieve information from (not required when DBNAME environment variable is set)
Describe Tables (describetables)
Displays detailed information for specific tables in the specified database. Provides formatted information such as column definitions, key constraints, and indexes.
Parameters
dbName: The name of the database to retrieve information from (not required when DBNAME environment variable is set)
tableNames: An array of table names to retrieve detailed information for
## Quick Start
1. Configure mcp.json
json
"mcpServers": {
"mysql-schema-explorer-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "--pull", "always", "--network=host",
"-e", "DBHOST=127.0.0.1",
"-e", "DBPORT=3306",
"-e", "DBUSER=root",
"-e", "DBPASSWORD=yourpassword",
"ghcr.io/shibayu36/mysql-schema-explorer-mcp:latest"
If using Claude Code:
bash
claude mcp add mysql-schema-explorer-mcp -- docker run -i --rm --pull always --network=host \
-e DBHOST=127.0.0.1 \
-e DBUSER=root \
-e DBPASSWORD=yourpassword \
-e DBPORT=3306 \
ghcr.io/shibayu36/mysql-schema-explorer-mcp:latest
2. Execute SQL generation using the agent
Example: Using the structure of the ecshop database, list the names of the 3 most recently ordered products by the user shibayu36.
## Usage
### Fixing to a Specific Database
When accessing only one database, you can set the DBNAME environment variable to avoid specifying the database name each time.
json
"mcpServers": {
"mysql-schema-explorer-mcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "--network=host",
"-e", "DBHOST=127.0.0.1",
"-e", "DBPORT=3306",
"-e", "DBUSER=root",
"-e", "DBPASSWORD=yourpassword",
"-e", "DBNAME=ecshop",
"ghcr.io/shibayu36/mysql-schema-explorer-mcp:latest"
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/shibayu36-mysql-schema-explorer-mcp/)
- Source
- awesome · https://github.com/shibayu36/mysql-schema-explorer-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.