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.
Related MCP Servers
- Alicense-qualityCmaintenanceConnects Claude Desktop directly to databases, allowing it to explore database structures, write SQL queries, analyze datasets, and create reports through an API layer with tools for table exploration and query execution.Last updated412Mozilla Public 2.0
- Flicense-qualityDmaintenanceProvides Claude Desktop with secure access to multiple database connections, allowing users to query MySQL, PostgreSQL, SQLite, and SQL Server databases directly through natural language.Last updated
- Alicense-qualityDmaintenanceProvides Claude with direct access to databases including SQLite, SQL Server, PostgreSQL, and MySQL, enabling execution of SQL queries and table management through natural language.Last updated9011MIT
- Alicense-qualityDmaintenanceEnables Claude to connect to and interact with SQLite, SQL Server, PostgreSQL, and MySQL databases through natural language. Supports executing queries, managing tables, exporting data, and storing business insights with authentication options including AWS IAM.Last updated901MIT
Related MCP Connectors
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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