db-mcp-server
High-performance multi-database MCP server built with Golang, supporting MySQL & PostgreSQL, with tools for query execution, transaction management, and performance analysis.
About this tool
db-mcp-server
A high-performance multi-database MCP (Model Context Protocol) server built with Golang, designed to provide AI assistants with structured, unified access to multiple databases.
- Source: https://github.com/FreePeak/db-mcp-server
- Category: database-messaging-mcp-servers
- Tags: mcp, database, golang, mysql, postgresql
Features
-
Multi-Database Support:
- Connects to and interacts with multiple databases concurrently
- Supported databases:
- MySQL: Full support for queries, transactions, schema analysis, and performance insights
- PostgreSQL (v9.6-17): Full support for queries, transactions, schema analysis, and performance insights
- TimescaleDB: Full support including hypertables, time-series queries, continuous aggregates, compression, and retention policies
-
Dynamic Tool Generation:
- Automatically generates specialized tools for each connected database
-
Query Tools:
query_<db_id>: Execute SELECT queries and get results as tabular datasetsexecute_<db_id>: Run data manipulation statements (INSERT, UPDATE, DELETE)transaction_<db_id>: Begin, commit, and rollback transactions
-
Schema Tools:
schema_<db_id>: Get information about tables, columns, indexes, and foreign keysgenerate_schema_<db_id>: Generate SQL or code from database schema
-
Performance Tools:
performance_<db_id>: Analyze query performance and get optimization suggestions
-
TimescaleDB Specialized Tools:
timescaledb_<db_id>: General TimescaleDB operationscreate_hypertable_<db_id>: Convert standard tables to hypertableslist_hypertables_<db_id>: List all hypertablestime_series_query_<db_id>: Execute optimized time-series queries with bucketingtime_series_analyze_<db_id>: Analyze time-series data patternscontinuous_aggregate_<db_id>: Create materialized views that auto-updaterefresh_continuous_aggregate_<db_id>: Manually refresh continuous aggregates
-
Deployment Options:
- Docker deployment
- STDIO mode (for IDE integration)
- SSE mode (Server-Sent Events)
- Source code installation
-
Configuration:
- Supports configuration via JSON files and command-line options
-
Clean Architecture:
- Follows clean architecture principles for maintainability
-
Logging:
- Verbose logging available for troubleshooting
Pricing
- The project is open source and licensed under the MIT License. No pricing plans are specified.
Loading more......
Information
Categories
Tags
Similar Products
6 result(s)A universal MCP server supporting multiple database types, such as PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.
An MCP server bridging to ClickZetta databases for executing SQL queries, exploring schema information, and documenting insights via natural language interaction.
Provides a JSON-RPC interface to Datomic databases through the MCP protocol, enabling schema exploration and Datalog query execution. This makes it a specialized MCP server for interacting with Datomic.
A Model Context Protocol (MCP) implementation for connecting to and working with various database systems, serving as a versatile MCP server.
An all-in-one MCP service that allows AI-powered data analysis by connecting to multiple types of databases (sqlite, mysql, postgres, etc.) within a single, unified configuration, making it a comprehensive MCP server solution.
Convex MCP server for database integration, providing introspection, table exploration, and query execution.