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.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Connects 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 updated
    412
    Mozilla Public 2.0
  • F
    license
    -
    quality
    D
    maintenance
    Provides 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
  • A
    license
    -
    quality
    D
    maintenance
    Provides 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 updated
    901
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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 updated
    901
    MIT

View all related MCP servers

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.

View all MCP Connectors

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