Home / Best MCP Servers / Databases Best MCP Servers for Databases (2026) A data-ranked shortlist of the 12 strongest MCP servers for databases — every entry links to its full page with copy-paste configs for Claude Desktop, Claude Code, Cursor, VS Code and Windsurf. List compiled 2026-10-28; rankings refresh as the underlying data updates.
How entries are picked: An entry is eligible only if it meets at least one of: 10+ GitHub stars, 100+ monthly npm/PyPI downloads, or a verified official/reference tier on its brand page; entries meeting none of the three are excluded, as are archived repositories. Eligible entries are ranked by a score built from: GitHub stars — multiplied by 10 when the entry has a verified official/reference tier, so official status counts as ten times the community traction rather than a flat bonus; maintenance recency (last push); and npm/PyPI downloads where available. Two tie-break rules keep the list honest: when the same repository is shared by several listings, its star count does not contribute to ranking (the shared figure would otherwise swamp independent projects), and when several implementations share a product name, only the highest-scoring one is listed — the others stay in the directory. Data comes from the public MCP Registry (description, install method), GitHub repository stats and package download counts — no editorial scoring, no paid inclusion, and sponsorship never affects these lists.
MCP official reference implementations These entries sit outside the ranking: they are the Model Context Protocol steering group's own reference implementations for this scenario. They are not scored, they do not affect the order below, and archived ones are marked as such with a maintained alternative where one exists.
Listed under archived servers in the steering group's README; the code now lives in modelcontextprotocol/servers-archived.
Maintained alternative: crystaldba/postgres-mcp ↗ — A maintained local PostgreSQL server; our Postgres page documents it as the community-recommended local option.
Listed under archived servers in the steering group's README; the code now lives in modelcontextprotocol/servers-archived.
No maintained replacement is named by the MCP steering group for this one; the archived code remains available in servers-archived.
Listed under archived servers in the steering group's README; the code now lives in modelcontextprotocol/servers-archived.
Maintained alternative: Redis MCP Server (YawLabs) ↗ — A community implementation listed in this directory; it is not published or endorsed by Redis. Page in this directory
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
⭐ 3,667 stars Last push: 2026-10-13 License: MIT Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env DSN=<YOUR_DSN> --env DB_PASSWORD=<YOUR_DB_PASSWORD> dbhub -- npx -y @bytebase/dbhubCursorconfig JSON Cursor
Copy {
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"dbhub": {
"command": "npx",
"args": [
"-y",
"@bytebase/dbhub"
],
"env": {
"DSN": "<YOUR_DSN>",
"DB_PASSWORD": "<YOUR_DB_PASSWORD>"
}
}
}
}Keys / environment: DSN · DB_PASSWORD
#2 Official by supabase-community Manage a Supabase project — run SQL, apply migrations, inspect tables and work with branches and edge functions.
⭐ 2,959 stars Last push: 2026-10-17 License: Apache-2.0 Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add supabase -- npx -y @supabase/mcp-server-supabase@latestCursorconfig JSON Cursor
Copy {
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"supabase": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest"
]
}
}
}MCP Toolbox for Databases enables your agent to connect to your database.
⭐ 16,676 stars Last push: 2026-10-17 License: Apache-2.0 Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"genai-toolbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add genai-toolbox -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0Cursorconfig JSON Cursor
Copy {
"mcpServers": {
"genai-toolbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"genai-toolbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"genai-toolbox": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:0.31.0"
]
}
}
}Query and explore Elasticsearch indices from your AI assistant — search, mappings and aggregations.
⭐ 719 stars Last push: 2026-10-16 License: Apache-2.0 Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"@elastic/mcp-server-elasticsearch"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add elasticsearch -- npx -y @elastic/mcp-server-elasticsearchCursorconfig JSON Cursor
Copy {
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"@elastic/mcp-server-elasticsearch"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"@elastic/mcp-server-elasticsearch"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"@elastic/mcp-server-elasticsearch"
]
}
}
}MCP server for interacting with the Supabase platform
⭐ 2,959 stars Last push: 2026-10-17 License: Apache-2.0 Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"mcp-1103": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase"
],
"env": {
"SUPABASE_ACCESS_TOKEN": "<YOUR_SUPABASE_ACCESS_TOKEN>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env SUPABASE_ACCESS_TOKEN=<YOUR_SUPABASE_ACCESS_TOKEN> mcp-1103 -- npx -y @supabase/mcp-server-supabaseCursorconfig JSON Cursor
Copy {
"mcpServers": {
"mcp-1103": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase"
],
"env": {
"SUPABASE_ACCESS_TOKEN": "<YOUR_SUPABASE_ACCESS_TOKEN>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"mcp-1103": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase"
],
"env": {
"SUPABASE_ACCESS_TOKEN": "<YOUR_SUPABASE_ACCESS_TOKEN>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"mcp-1103": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase"
],
"env": {
"SUPABASE_ACCESS_TOKEN": "<YOUR_SUPABASE_ACCESS_TOKEN>"
}
}
}
}Keys / environment: SUPABASE_ACCESS_TOKEN
Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.
⭐ 889 stars Last push: 2026-10-15 License: Apache-2.0 240,897/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"mcp-clickhouse": {
"command": "uvx",
"args": [
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "<YOUR_CLICKHOUSE_HOST>",
"CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
"CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env CLICKHOUSE_HOST=<YOUR_CLICKHOUSE_HOST> --env CLICKHOUSE_USER=<YOUR_CLICKHOUSE_USER> --env CLICKHOUSE_PASSWORD=<YOUR_CLICKHOUSE_PASSWORD> mcp-clickhouse -- uvx mcp-clickhouseCursorconfig JSON Cursor
Copy {
"mcpServers": {
"mcp-clickhouse": {
"command": "uvx",
"args": [
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "<YOUR_CLICKHOUSE_HOST>",
"CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
"CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"mcp-clickhouse": {
"command": "uvx",
"args": [
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "<YOUR_CLICKHOUSE_HOST>",
"CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
"CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"mcp-clickhouse": {
"command": "uvx",
"args": [
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "<YOUR_CLICKHOUSE_HOST>",
"CLICKHOUSE_USER": "<YOUR_CLICKHOUSE_USER>",
"CLICKHOUSE_PASSWORD": "<YOUR_CLICKHOUSE_PASSWORD>"
}
}
}
}Keys / environment: CLICKHOUSE_HOST · CLICKHOUSE_USER · CLICKHOUSE_PASSWORD
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
⭐ 2,278 stars Last push: 2026-10-18 License: AGPL-3.0 Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"mindwtr": {
"command": "npx",
"args": [
"-y",
"mindwtr-mcp"
],
"env": {
"MINDWTR_MCP_CLOUD_TOKEN": "<YOUR_MINDWTR_MCP_CLOUD_TOKEN>",
"MINDWTR_MCP_API_TOKEN": "<YOUR_MINDWTR_MCP_API_TOKEN>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env MINDWTR_MCP_CLOUD_TOKEN=<YOUR_MINDWTR_MCP_CLOUD_TOKEN> --env MINDWTR_MCP_API_TOKEN=<YOUR_MINDWTR_MCP_API_TOKEN> mindwtr -- npx -y mindwtr-mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"mindwtr": {
"command": "npx",
"args": [
"-y",
"mindwtr-mcp"
],
"env": {
"MINDWTR_MCP_CLOUD_TOKEN": "<YOUR_MINDWTR_MCP_CLOUD_TOKEN>",
"MINDWTR_MCP_API_TOKEN": "<YOUR_MINDWTR_MCP_API_TOKEN>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"mindwtr": {
"command": "npx",
"args": [
"-y",
"mindwtr-mcp"
],
"env": {
"MINDWTR_MCP_CLOUD_TOKEN": "<YOUR_MINDWTR_MCP_CLOUD_TOKEN>",
"MINDWTR_MCP_API_TOKEN": "<YOUR_MINDWTR_MCP_API_TOKEN>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"mindwtr": {
"command": "npx",
"args": [
"-y",
"mindwtr-mcp"
],
"env": {
"MINDWTR_MCP_CLOUD_TOKEN": "<YOUR_MINDWTR_MCP_CLOUD_TOKEN>",
"MINDWTR_MCP_API_TOKEN": "<YOUR_MINDWTR_MCP_API_TOKEN>"
}
}
}
}Keys / environment: MINDWTR_MCP_CLOUD_TOKEN · MINDWTR_MCP_API_TOKEN
MCP Server for Discogs
⭐ 128 stars Last push: 2026-10-05 License: MIT 10,377,167/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"args"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add discogs -- npx -y argsCursorconfig JSON Cursor
Copy {
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"args"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"args"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"discogs": {
"command": "npx",
"args": [
"-y",
"args"
]
}
}
}Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
⭐ 85 stars Last push: 2026-10-16 License: MIT 9,221/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"mcp-519": {
"command": "uvx",
"args": [
"keboola-mcp-server"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add mcp-519 -- uvx keboola-mcp-serverCursorconfig JSON Cursor
Copy {
"mcpServers": {
"mcp-519": {
"command": "uvx",
"args": [
"keboola-mcp-server"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"mcp-519": {
"command": "uvx",
"args": [
"keboola-mcp-server"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"mcp-519": {
"command": "uvx",
"args": [
"keboola-mcp-server"
]
}
}
}Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.
⭐ 104 stars Last push: 2026-10-17 License: Apache-2.0 7,019/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<YOUR_SCHEMAGATE_DATABASE_URL>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env SCHEMAGATE_DATABASE_URL=<YOUR_SCHEMAGATE_DATABASE_URL> schemagate -- uvx schemagateCursorconfig JSON Cursor
Copy {
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<YOUR_SCHEMAGATE_DATABASE_URL>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<YOUR_SCHEMAGATE_DATABASE_URL>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"schemagate": {
"command": "uvx",
"args": [
"schemagate"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<YOUR_SCHEMAGATE_DATABASE_URL>"
}
}
}
}Keys / environment: SCHEMAGATE_DATABASE_URL
Read-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL.
⭐ 277 stars Last push: 2026-10-18 License: Apache-2.0 1,135/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp"
],
"env": {
"GEOLENS_INSTANCE": "<YOUR_GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<YOUR_GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<YOUR_GEOLENS_TOKEN>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env GEOLENS_INSTANCE=<YOUR_GEOLENS_INSTANCE> --env GEOLENS_API_KEY=<YOUR_GEOLENS_API_KEY> --env GEOLENS_TOKEN=<YOUR_GEOLENS_TOKEN> geolens -- uvx geolens-mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp"
],
"env": {
"GEOLENS_INSTANCE": "<YOUR_GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<YOUR_GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<YOUR_GEOLENS_TOKEN>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp"
],
"env": {
"GEOLENS_INSTANCE": "<YOUR_GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<YOUR_GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<YOUR_GEOLENS_TOKEN>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp"
],
"env": {
"GEOLENS_INSTANCE": "<YOUR_GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<YOUR_GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<YOUR_GEOLENS_TOKEN>"
}
}
}
}Keys / environment: GEOLENS_INSTANCE · GEOLENS_API_KEY · GEOLENS_TOKEN
Skill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key.
⭐ 9 stars Last push: 2026-10-17 License: Apache-2.0 4,269/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"skillmem": {
"command": "uvx",
"args": [
"skillmem"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add skillmem -- uvx skillmemCursorconfig JSON Cursor
Copy {
"mcpServers": {
"skillmem": {
"command": "uvx",
"args": [
"skillmem"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"skillmem": {
"command": "uvx",
"args": [
"skillmem"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"skillmem": {
"command": "uvx",
"args": [
"skillmem"
]
}
}
}Sources & last verified ▸ Server descriptions, categories and install methods: the public MCP Registry (modelcontextprotocol.io) as of 2026-10-28. ▸ Stars, last-push dates and licenses: GitHub repository API, fetched per entry's own repository on 2026-10-28. ▸ Download counts: npm and PyPI public APIs where a package is listed. ▸ Official / Reference labels follow MCPNav's verified brand table (each verified against the publisher's own repository and documentation). Last verified: 2026-10-28. Entries change as the underlying data changes; archived repositories are excluded.