MCP DB Connect
MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector…
- Pricing
- Open source
- Runs
- Locally or Remotely
- Version
- 0.1.21
- Listing updated
- 4 days ago
About MCP DB Connect
MCP DB Connect is an open-source MCP server for databases. It can run locally on your machine or as a hosted remote server.
MCP server for Oracle, MSSQL, PostgreSQL, MySQL, SQLite, MongoDB, and Qdrant vector search access.
Install
Run in a terminal
claude mcp add mcp-db-connect --env MCP_DB_CONFIG='<MCP_DB_CONFIG>' -- npx -y mcp-db-connectAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-db-connect": {
"command": "npx",
"args": [
"-y",
"mcp-db-connect"
],
"env": {
"MCP_DB_CONFIG": "<MCP_DB_CONFIG>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-db-connect": {
"command": "npx",
"args": [
"-y",
"mcp-db-connect"
],
"env": {
"MCP_DB_CONFIG": "<MCP_DB_CONFIG>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-db-connect": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-db-connect"
],
"env": {
"MCP_DB_CONFIG": "<MCP_DB_CONFIG>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-db-connect": {
"command": "npx",
"args": [
"-y",
"mcp-db-connect"
],
"env": {
"MCP_DB_CONFIG": "<MCP_DB_CONFIG>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-db-connect": {
"command": "npx",
"args": [
"-y",
"mcp-db-connect"
],
"env": {
"MCP_DB_CONFIG": "<MCP_DB_CONFIG>"
}
}
}
}Configuration
MCP_DB_CONFIGFull mcp-db-connect config (security + connections) as YAML or JSON. When set, file-based config discovery is skipped entirely.MCP_DB_CONFIGFull mcp-db-connect config (security + connections) as YAML or JSON. When set, file-based config discovery is skipped entirely.
Pricing
Open source
MCP DB Connect FAQ
Is MCP DB Connect free?
Yes. MCP DB Connect is open source, so you can use and self-host it for free.
How do I add MCP DB Connect to Claude Code?
Run this command in your terminal: claude mcp add mcp-db-connect --env MCP_DB_CONFIG='<MCP_DB_CONFIG>' -- npx -y mcp-db-connect
What are the best alternatives to MCP DB Connect?
The closest alternatives to MCP DB Connect are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Midplane.
Alternatives to MCP DB Connect

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

Nautilus Compass Memory
MCP serverLocal-first long-term memory layer for AI agents, served over MCP
Not checked yet- 5 tools
- Remote
- Open source
- 1.3K GitHub stars
- Knowledge and memory

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

note1
MCP serverMCP server giving AI assistants search and summaries across your note1 meetings
- 4 tools
- Remote
- Free trial
- 1 GitHub star
- Productivity