Enables AI assistants supporting the Model Context Protocol to query databases.
Db-mcp is a utility designed to allow AI assistants that utilize the Model Context Protocol (MCP) to interact with and query databases. It offers a simple interface for connecting to various database systems using Data Source Names (DSN), executing queries, and retrieving results in CSV format. The tool supports PostgreSQL, MySQL, and SQLite, making it versatile for different database environments.
主要功能
01Supports PostgreSQL, MySQL, and SQLite databases
02Executes queries and returns results in CSV format
03Provides a command to determine database flavor
040 GitHub stars
05Connects to databases using DSN (Data Source Name)
使用案例
01Allowing AI assistants to fetch real-time data from databases
02Integrating database queries into AI-driven workflows
03Providing a standardized interface for AI to interact with different database systems