Best Databases MCP Servers for Cursor

Connect databases tools to Cursor using MCP servers. These servers let Cursor interact with databases resources, enabling powerful AI-assisted workflows for developers.

MCPgee indexes 1,255 databases MCP servers with a median of 38 GitHub stars; 80% are written in typescript and 26% install via npm. All work with Cursor.

Top 30 of 1,255 Databases Servers for Cursor

Excelize MCP Server

Go language library for reading and writing Microsoft Excelโ„ข (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets

20,607 starsmanual

MCP Toolbox for Databases

Open source MCP server specializing in easy, fast, and secure tools for Databases.

15,301 starsnpm

DBHub

A universal database gateway MCP server that enables AI assistants to connect to and query multiple databases (PostgreSQL, MySQL, MariaDB, SQL Server, SQLite) with support for schema exploration, SQL execution, and secure connections via SSH tunnels.

2,810 starsnpm

Tabularis MCP Server

A lightweight, cross-platform database client for developers. Supports MySQL, PostgreSQL and SQLite. Hackable with plugins. Built for speed, security, and aesthetics.

2,150 starsmanual

Pg Aiguide MCP Server

MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.

1,737 starsnpm

Anyquery MCP Server

๐ŸŽ๏ธ ๐Ÿ  โ˜๏ธ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.

1,696 starsmanual

MCP Server for MySQL

Provides access to MySQL databases with fine-grained access control, supporting multiple databases simultaneously with configurable access modes (readonly, readwrite, full) and table-level permissions using whitelists, blacklists, wildcards, and rege

1,696 starsmanual

Data Api Builder MCP Server

Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.

1,414 starsmanual

mcp-server-qdrant

MCP server for document ingestion and semantic search on Qdrant. Enables ingesting local documents, generating embeddings with OpenAI, and performing vector search with metadata filters.

1,404 starsnpm

MySQL MCP Server

Enables AI assistants to securely interact with MySQL databases for schema discovery, data querying, and record management with configurable access controls. It provides specialized tools for listing tables, describing structures, and performing CRUD

1,255 starsnpm

MongoDB MCP Server

This repository implements an MCP (Model Context Protocol) server that connects to a MongoDB database and exposes operations for managing databases, collections, documents, indexes, and bulk operations. It uses Node.js, TypeScript, and the MCP SDK, e

1,029 starsnpm

Neo4j MCP Clients & Servers

This lets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things with Neo4j and your Aura account.

946 starsnpm

ToolFront MCP Server

Securely connects AI agents to multiple databases simultaneously while enabling collaborative learning from team query patterns, all while keeping data private by running locally.

878 starsmanual

Restheart MCP Server

The Agent-Ready Backend for MongoDB.

875 starsmanual

Supabase MCP Server

Connects Supabase projects to AI assistants, enabling them to manage database tables, execute SQL queries, and deploy Edge Functions through natural language. It provides a comprehensive suite of tools for project administration, including logs acces

821 starsnpm

Nornicdb MCP Server

Nornicdb is a distributed low-latency, Graph+Vector, Temporal MVCC with all sub-ms HNSW search, graph traversal, and writes. Using Neo4j Bolt/Cypher and qdrant's gRPC means you can switch with no changes. Then, adding intelligent features like schema

744 starsmanual

mcp-server-neon

Lets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things with Neon.

598 starsnpm

pg-mcp

PG-MCP is an HTTP server implementation that enables AI systems to interact with PostgreSQL databases via MCP, providing tools for querying, connecting to multiple databases, and exploring schema resources. The system enriches context by extracting t

539 starsnpm

CentralMind/Gateway

MCP-Server from your Database optimized for LLMs and AI-Agents. Supports PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle Database, SQLite, ElasticSearch, DuckDB

531 starsmanual

Pgmcp MCP Server

๐ŸŽ๏ธ ๐Ÿ  - Natural language PostgreSQL queries with automatic streaming, read-only safety, and universal database compatibility.

529 starsmanual

Mcp Redis MCP Server

The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently

512 starsmanual

Redis MCP Server

Enables users to perform Redis database operations using the Model Context Protocol (MCP) tools, allowing for efficient data management through commands like setting, getting, and scanning hash fields.

511 starsmanual

mcp-server-motherduck

SQL analytics and data engineering for AI Assistants and IDEs

483 starsnpm

MCP Alchemy

๐Ÿ ๐Ÿ  - Universal SQLAlchemy-based database integration supporting PostgreSQL, MySQL, MariaDB, SQLite, Oracle, MS SQL Server and many more databases. Features schema and relationship inspection, and large dataset analysis capabilities.

403 starsmanual

MongoDB Official

Official MongoDB integration with Atlas and database operations

380 starsnpm

Multi Database MCP Server

๐ŸŽ๏ธ ๐Ÿ  โ€“ A high-performance multi-database MCP server built with Golang, supporting MySQL & PostgreSQL (NoSQL coming soon). Includes built-in tools for query execution, transaction management, schema exploration, query building, and performance analysi

380 starsmanual

EVM MCP Server

Provides comprehensive access to Ethereum Virtual Machine (EVM) JSON-RPC methods for querying blockchain data, executing smart contract calls, and interacting with any EVM-compatible network including Ethereum, Polygon, Arbitrum, and more. Enables us

376 starsmanual

ExecuteAutomation Database Server

A Model Context Protocol server that enables LLMs like Claude to interact with SQLite and SQL Server databases, allowing for schema inspection and SQL query execution.

353 starsmanual

Exograph MCP Server

Build production-ready backends in minutes

347 starsmanual

Microsoft SQL Server MCP Server

A Model Context Protocol (MCP) server for Microsoft SQL Server that enables secure database interactions through a controlled interface. Allows AI assistants to safely list tables, read data, and execute SQL queries while maintaining security and str

347 starsmanual

Cursor Configuration

Add databases MCP servers to your Cursor configuration at .cursor/mcp.json:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
      }
    },
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost:5432/mydb"]
    },
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-brave-search"],
      "env": {
        "BRAVE_API_KEY": "your_brave_api_key_here"
      }
    },
    "memory": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-memory"]
    }
  }
}

Related Resources