DB Explorer MCP
Allows connecting to a MySQL database, exploring schemas, running read-only queries, and visualizing results with interactive charts.
Allows connecting to a PostgreSQL database, exploring schemas, running read-only queries, and visualizing results with interactive charts.
Allows connecting to a SQLite database, exploring schemas, running read-only queries, and visualizing results with interactive charts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DB Explorer MCPlist all tables in the database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DB Explorer MCP
Connect to any SQL database and explore schemas, run queries, and visualize results with interactive charts — all from Claude Desktop.
Install
npx @anthropic-ai/mcpb add db-explorer-mcpOr add manually to your Claude Desktop config:
{
"mcpServers": {
"db-explorer": {
"command": "npx",
"args": ["db-explorer-mcp"],
"env": {
"DB_CONNECTION_STRING": "postgres://user:pass@localhost:5432/mydb"
}
}
}
}Related MCP server: MCPDB - Database Access MCP Server
Supported databases
PostgreSQL —
postgres://user:pass@host:5432/dbMySQL —
mysql://user:pass@host:3306/dbSQLite —
sqlite:///path/to/file.db
Tools
Tool | Description |
| Connect to a database via connection string |
| List all tables with estimated row counts |
| Describe columns, types, constraints, and foreign keys |
| Get the full database schema with relationships |
| Execute a read-only SQL query |
| Render an interactive chart from query results |
License
This project is released under the MIT License. See LICENSE for details.
Support
If you like this project, please consider giving it a star.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/851-labs/db-explorer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server