MCP Database
A modular MCP server that enables interaction with multiple database types including PostgreSQL, MySQL, SQLite, Redis, MongoDB, and LDAP. It provides tools for executing queries, managing SQL commands, and exploring database schemas with configurable
What is MCP Database?
MCP Database is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to modular mcp server that enables interaction with multiple database types including postgresql, mysql, sqlite, redis, mongodb, and ldap. it provides tools for executing queries, managing sql commands, ...
A modular MCP server that enables interaction with multiple database types including PostgreSQL, MySQL, SQLite, Redis, MongoDB, and LDAP. It provides tools for executing queries, managing SQL commands, and exploring database schemas with configurable
This server falls under the Databases category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A modular MCP server that enables interaction with multiple
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-databaseConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Database
The Fireproof MCP database server provides a JSON document store with full CRUD operations accessible through the Model Context Protocol. It is built on Fireproof, a local-first embedded database, and exposes create, read, update, delete, and query operations to AI clients. Developers use it to give Claude or other MCP clients persistent, structured storage without standing up an external database service.
Prerequisites
- Node.js 18 or later installed
- npm for installing dependencies and building the project
- An MCP client such as Claude Desktop
- Git for cloning the repository
Clone the repository
Clone the mcp-database-server repository from GitHub to your local machine.
git clone https://github.com/fireproof-storage/mcp-database-server.git && cd mcp-database-serverInstall dependencies
Install the Node.js dependencies required to build and run the server.
npm installBuild the project
Compile the TypeScript source into the build directory that the server executable references.
npm run buildAdd to your MCP client configuration
Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or %APPDATA%/Claude/claude_desktop_config.json on Windows) and point it at the compiled entry point.
{
"mcpServers": {
"fireproof": {
"command": "node",
"args": ["/absolute/path/to/mcp-database-server/build/index.js"]
}
}
}Restart Claude Desktop and verify
Fully quit and reopen Claude Desktop. Ask it to create a document to confirm the database server is connected and accepting operations.
MCP Database Examples
Client configuration
Claude Desktop configuration pointing at the locally built Fireproof MCP server. Replace the path with the absolute path to your cloned repository.
{
"mcpServers": {
"fireproof": {
"command": "node",
"args": ["/Users/you/mcp-database-server/build/index.js"]
}
}
}Prompts to try
Use natural language to interact with the Fireproof document store through your MCP client.
- "Create a new document with the fields name='Alice' and role='engineer'"
- "Read the document with id abc123"
- "Update document xyz789 and set its status field to completed"
- "Query all documents sorted by the createdAt field"
- "Delete the document with id old-record-001"Troubleshooting MCP Database
Claude Desktop cannot find the server — 'spawn ENOENT' or similar error
Ensure you are using the absolute path to the built index.js file in the args array. Run 'pwd' inside the mcp-database-server directory and prepend that path to 'build/index.js'. The path must not be relative.
npm run build fails with TypeScript errors
Ensure you ran 'npm install' first to pull all type definitions. Check that your Node.js version is 18 or later with 'node --version'. If errors persist, delete node_modules and package-lock.json and run 'npm install' again.
Need to debug MCP communication issues
Run 'npm run inspector' to launch the browser-based MCP Inspector tool. This lets you send raw JSON-RPC messages and inspect responses without going through Claude Desktop, making it much easier to isolate protocol-level problems.
Frequently Asked Questions about MCP Database
What is MCP Database?
MCP Database is a Model Context Protocol (MCP) server that modular mcp server that enables interaction with multiple database types including postgresql, mysql, sqlite, redis, mongodb, and ldap. it provides tools for executing queries, managing sql commands, and exploring database schemas with configurable It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Database?
Follow the installation instructions on the MCP Database GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Database?
MCP Database works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Database free to use?
Yes, MCP Database is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.
MCP Database Alternatives — Similar Databases Servers
Looking for alternatives to MCP Database? Here are other popular databases servers you can use with Claude, Cursor, and VS Code.
Excelize
★ 20.6kGo language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
MCP Toolbox for Databases
★ 15.3kOpen source MCP server specializing in easy, fast, and secure tools for Databases.
DBHub
★ 2.8kA 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.
Tabularis
★ 2.1kA lightweight, cross-platform database client for developers. Supports MySQL, PostgreSQL and SQLite. Hackable with plugins. Built for speed, security, and aesthetics.
Postgres AI Guide
★ 1.7kMCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.
Anyquery
★ 1.7k🏎️ 🏠 ☁️ - 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.
Browse More Databases MCP Servers
Explore all databases servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Database in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Database?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.