Integrations
Enables natural language interaction with MariaDB databases, providing conversational access to data querying and management functions.
Supports conversational interaction with MySQL databases, allowing users to query and manage data using natural language.
Allows direct interaction with PostgreSQL databases through natural language queries, enabling conversational data exploration and manipulation.
Talk with Your Database Using MCP
This guide explains how to set up and run your MCP server to interact with your PostgreSQL database using Claude Desktop. It should also work with MySQL, MariaDB, SQLite as it uses sqlalchemy under the hood. This project is build on top of https://github.com/runekaagaard/mcp-alchemy
Note: This guide assumes you have a basic understanding of Docker, environment variables, and CLI usage.
Prerequisites
- Docker Compose: Installation instructions
- Claude Desktop: Download here
- uv: A modern, high-performance Python package manager. If not installed, follow the instructions below.
1. Set Up Environment Variables
- Copy and Rename the Environment File
Duplicate the provided.env.example
file and rename it to.env
:Copy
2. Set Up Claude Desktop
- Download and Install Claude Desktop
Visit the Claude Desktop download page and install the application.
3. Launch the PostgreSQL Database with Dummy Data
- Run Docker Compose
Ensure Docker Compose is installed and run:Copy- This command will launch a PostgreSQL database on
localhost:5432
and populate it with dummy data.
- This command will launch a PostgreSQL database on
4. Install uv
(if not already installed)
- Install
uv
Execute the following command to installuv
:Copy
5. Configure and Launch the MCP Server
- Create/Update the MCP Server Configuration
Save the following JSON configuration in your MCP server config file (adjust paths if necessary):Copy- Tip: If
uv
is installed in a non-standard location, update the"command"
value to reflect the full path to the executable.
- Tip: If
- Launch the MCP Server
With the configuration in place, the MCP server will automatically start each time Claude Desktop is launched.
6. Enjoy Your Setup
- Open Claude Desktop.
- The tool will automatically call your MCP server, enabling you to interact with your database seamlessly.
Summary
- Set Up Environment Variables: Copy
.env.example
to.env
. - Install and Run Claude Desktop: Download from Claude Desktop.
- Launch PostgreSQL with Docker Compose: Run
docker-compose up
to start the database with dummy data. - Install
uv
: Run the provided installation command if necessary. - Configure MCP Server: Update the config file and ensure paths and environment variables are correct.
- Launch and Enjoy: Start Claude Desktop to begin interacting with your database via MCP.
If you encounter any issues or need further assistance, please refer to the relevant documentation or contact your support team.
Happy coding!
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.
- Prerequisites
- 1. Set Up Environment Variables
- 2. Set Up Claude Desktop
- 3. Launch the PostgreSQL Database with Dummy Data
- 4. Install uv (if not already installed)
- 5. Configure and Launch the MCP Server
- 6. Enjoy Your Setup
- Summary
Related Resources
Related MCP Servers
- -securityFlicense-qualityA simple server that integrates with Claude to allow querying and manipulating Notion pages and databases through natural language prompts.Last updated -275JavaScript
- -securityAlicense-qualityA server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.Last updated -7TypeScriptMIT License
- -securityFlicense-qualityA natural language interface that allows Claude to execute SQL queries on your local MySQL databases, enabling database interaction using natural language.Last updated -2Python
- -securityAlicense-qualityAn MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.Last updated -1PythonMIT License