An MCP-based database server with support for SQLite, MySQL, PostgreSQL, and MSSQL.
A database server based on Model Context Protocol (MCP), supporting SQLite, MySQL, PostgreSQL, and MSSQL databases.
đ¨đł ä¸ćć楣 / Chinese Documentation: README_cn.md
Download the latest release for your platform from GitHub Releases:
Platform | Download |
---|---|
Windows (x64) | rbdc-mcp-windows-x86_64.exe |
macOS (Intel) | rbdc-mcp-macos-x86_64 |
macOS (Apple Silicon) | rbdc-mcp-macos-aarch64 |
Linux (x64) | rbdc-mcp-linux-x86_64 |
Installation Steps:
Windows:
rbdc-mcp-windows-x86_64.exe
)[https://github.com/rbatis/rbdc-mcp/releases]rbdc-mcp.exe
C:\tools\rbdc-mcp.exe
C:\tools
to the path listrbdc-mcp --help
macOS:
rbdc-mcp-macos-x86_64
)[https://github.com/rbatis/rbdc-mcp/releases]rbdc-mcp-macos-aarch64
)[https://github.com/rbatis/rbdc-mcp/releases]mv rbdc-mcp-macos-* rbdc-mcp
chmod +x rbdc-mcp
sudo mv rbdc-mcp /usr/local/bin/
rbdc-mcp --help
Linux:
rbdc-mcp-linux-x86_64
mv rbdc-mcp-linux-x86_64 rbdc-mcp
chmod +x rbdc-mcp
sudo mv rbdc-mcp /usr/local/bin/
rbdc-mcp --help
Prerequisites: Install Rust first.
cargo install --git https://github.com/rbatis/rbdc-mcp.git
git clone https://github.com/rbatis/rbdc-mcp.git
cd rbdc-mcp
cargo build --release
# Executable: target/release/rbdc-mcp
Configuration File Location:
%APPDATA%\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
Basic Configuration:
{
"mcpServers": {
"rbdc-mcp": {
"command": "rbdc-mcp",
"args": ["--database-url", "sqlite://./database.db"]
}
}
}
Platform-Specific Examples:
{
"mcpServers": {
"rbdc-mcp-sqlite": {
"command": "rbdc-mcp",
"args": ["--database-url", "sqlite://./database.db"]
},
"rbdc-mcp-mysql": {
"command": "rbdc-mcp",
"args": ["--database-url", "mysql://user:password@localhost:3306/database"]
},
"rbdc-mcp-postgres": {
"command": "rbdc-mcp",
"args": ["--database-url", "postgres://user:password@localhost:5432/database"]
}
}
}
{
"mcpServers": {
"rbdc-mcp": {
"command": "C:\\tools\\rbdc-mcp.exe",
"args": ["--database-url", "sqlite://C:\\path\\to\\database.db"]
}
}
}
After saving the configuration, restart Claude Desktop to load the MCP server.
In Claude Desktop, try asking:
Database | Connection URL Format |
---|---|
SQLite | sqlite://path/to/database.db |
MySQL | mysql://user:password@host:port/database |
PostgreSQL | postgres://user:password@host:port/database |
MSSQL | mssql://user:password@host:port/database |
Parameter | Description | Default |
---|---|---|
--database-url, -d | Database connection URL | Required |
--max-connections | Maximum connection pool size | 1 |
--timeout | Connection timeout (seconds) | 30 |
--log-level | Log level (error/warn/info/debug) | info |
sql_query
: Execute SELECT queries safelysql_exec
: Execute INSERT/UPDATE/DELETE operationsdb_status
: Check connection pool statusStep 1: Configuration
Step 2: Usage in Claude
Apache-2.0
Connects Claude Desktop to Tableau Server, enabling natural language interactions with your Tableau data and administrative capabilities.
Provides programmatic access to Borsa Istanbul (BIST) stock data, financials, news, and analysis using KAP and Yahoo Finance.
A read-only MCP server for Pipedrive, enabling LLMs to query live data using the CData JDBC Driver.
A read-only MCP server for querying live SurveyMonkey data, powered by CData.
Query and manage data through CData Connect Cloud, providing a unified interface to various data sources.
Interact with the microCMS headless CMS API, enabling AI assistants to manage content.
A desktop application for managing and interacting with the MCP Memory Service, a semantic memory system built on the Model Context Protocol.
A persistent memory system for MCP using libSQL, providing vector search and efficient knowledge storage.
Provides comprehensive building and office address information queries, including enterprise office address search and building information queries.
Access a comprehensive database of over 30,000 SaaS products, including reviews, pricing, alternatives, and growth metrics.