Skip to main content
Glama
851-labs

DB Explorer MCP

by 851-labs

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-mcp

Or 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

  • PostgreSQLpostgres://user:pass@host:5432/db

  • MySQLmysql://user:pass@host:3306/db

  • SQLitesqlite:///path/to/file.db

Tools

Tool

Description

connect

Connect to a database via connection string

list_tables

List all tables with estimated row counts

describe_table

Describe columns, types, constraints, and foreign keys

get_schema

Get the full database schema with relationships

query

Execute a read-only SQL query

chart

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.

A
license - permissive license
-
quality - not tested
F
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

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

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