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 "Deploy 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 deployed
Maintenance
Related MCP Connectors
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Ask data questions in natural language. Get SQL, insights, and charts from your databases.
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceConnects 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.3,303 PyPI419Mozilla Public 2.0
- FlicenseNot gradedqualityDmaintenanceProvides Claude Desktop with secure access to multiple database connections, allowing users to query MySQL, PostgreSQL, SQLite, and SQL Server databases directly through natural language.-
- AlicenseNot gradedqualityDmaintenanceProvides Claude with direct access to databases including SQLite, SQL Server, PostgreSQL, and MySQL, enabling execution of SQL queries and table management through natural language.676 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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.676 npmMIT