How to install database-mcp-mariadb in Claude Code
To install database-mcp-mariadb in Claude Code, run "claude mcp add database-mcp-mariadb -e MARIADB_HOST=YOUR_MARIADB_HOST -e MARIADB_USER=YOUR_MARIADB_USER -e MARIADB_DATABASE=YOUR_MARIADB_DATABASE -- npx -y @database-mcp/mariadb" in your terminal, then check it with "claude mcp list". It takes about a minute.
Built from the published package · server updated 13 days ago
- 1
Run the install command
Open a terminal in your project and run:
claude mcp add database-mcp-mariadb -e MARIADB_HOST=YOUR_MARIADB_HOST -e MARIADB_USER=YOUR_MARIADB_USER -e MARIADB_DATABASE=YOUR_MARIADB_DATABASE -- npx -y @database-mcp/mariadb - 2
Choose where it applies (optional)
Add --scope user to use it in every project, or --scope project to share it with your team through a .mcp.json file.
claude mcp add --scope user database-mcp-mariadb -e MARIADB_HOST=YOUR_MARIADB_HOST -e MARIADB_USER=YOUR_MARIADB_USER -e MARIADB_DATABASE=YOUR_MARIADB_DATABASE -- npx -y @database-mcp/mariadb - 3
Check that it is connected
List your servers, or type /mcp inside a Claude Code session to see its status and tools.
claude mcp list
MCP servers run with your permissions. If database-mcp-mariadb needs an API key, add it under env in the config. Check its README.
Install database-mcp-mariadb in another app
Similar servers
Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
Questions
Does database-mcp-mariadb work in Claude Code?
Yes. Claude Code supports mcp servers (local and remote), skills and plugins, and database-mcp-mariadb installs with the steps above.
database-mcp-mariadb does not show up in Claude Code. What now?
Restart Claude Code fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is database-mcp-mariadb safe?
It scores 73 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
