mcpbeat Sign in

Database MCP Mariadb MCP Server

local only

Database MCP Mariadb runs on your own machine — the client starts it, so there is no endpoint to ping. 99 installs a week from pypi. Last commit 17 Oct 2026.

MCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged.

Installs per day peak 344 · avg 18 · -79% w/w
a month agotoday
99
Installs / week
npm · @database-mcp/mariadb
5
Stars
1 open issue
17 Oct 2026
Last commit
2 releases in 90 days
MIT
License
Rust

What the code does

We read the source, 1 d ago · rules 995398eba69f

In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Claims read-only, but the code runs commands conformance/leak-check.mjs:23, conformance/run.mjs:101
const child = spawn(command, args, { env: process.env });
const child = spawn(command, args, { env: process.env });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

Nothing serious here today

Today is the operative word: we check Database MCP Mariadb every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add database-mcp-mariadb -e 'MARIADB_HOST=<MARIADB_HOST>' -e 'MARIADB_USER=<MARIADB_USER>' -e 'MARIADB_DATABASE=<MARIADB_DATABASE>' -- npx -y @database-mcp/mariadb
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "database-mcp-mariadb": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mariadb"
      ],
      "env": {
        "MARIADB_DATABASE": "<MARIADB_DATABASE>",
        "MARIADB_HOST": "<MARIADB_HOST>",
        "MARIADB_USER": "<MARIADB_USER>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.database-mcp-mariadb]
command = "npx"
args = ["-y", "@database-mcp/mariadb"]
env = { MARIADB_HOST = "<MARIADB_HOST>", MARIADB_USER = "<MARIADB_USER>", MARIADB_DATABASE = "<MARIADB_DATABASE>" }
.cursor/mcp.json
{
  "mcpServers": {
    "database-mcp-mariadb": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mariadb"
      ],
      "env": {
        "MARIADB_DATABASE": "<MARIADB_DATABASE>",
        "MARIADB_HOST": "<MARIADB_HOST>",
        "MARIADB_USER": "<MARIADB_USER>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "database-mcp-mariadb": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mariadb"
      ],
      "env": {
        "MARIADB_DATABASE": "<MARIADB_DATABASE>",
        "MARIADB_HOST": "<MARIADB_HOST>",
        "MARIADB_USER": "<MARIADB_USER>"
      }
    }
  }
}

Put your own values in place of <MARIADB_HOST> (Database host), <MARIADB_USER> (Database user (a read-only user is recommended)), <MARIADB_DATABASE> (Database name). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: MARIADB_PASSWORD (Database password (or use MARIADB_PASSWORD_FILE)).

Alternatives to Database MCP Mariadb

same job, measured the same way
Database MCP Postgres
by arifulislamat

MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

114 installs/wk local only
Database MCP Mysql
by arifulislamat

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

147 installs/wk local only
Database MCP Libsql
by arifulislamat

MCP server for libSQL/Turso, local or remote. Read-only by default, row caps, timeouts.

96 installs/wk local only
Database MCP Sqlite
by arifulislamat

MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.

137 installs/wk local only
Mcpg
by devopam

Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.

220 installs/wk local only
NexQL Postgres MCP
by nexql-oss

Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.

50 installs/wk local only
Secure Schema MCP
by siddharth-coder13

Read-only MCP server for exposing database schema metadata without row data.

87 installs/wk local only
LogCarver
by caiderek

Read-only MCP server that finds deleted SQL Server rows from the transaction log (fn_dblog).

local only

Database MCP Mariadb — questions

Answers built from our own checks of this server.

Why is there no uptime for Database MCP Mariadb?
Database MCP Mariadb runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @database-mcp/mariadb was installed 99 times last week.
How do I connect Database MCP Mariadb?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @database-mcp/mariadb straight from npm; nothing to host, nothing to sign up for.
How many people use Database MCP Mariadb?
The npm package @database-mcp/mariadb was installed 99 times in the last week. Week over week that is -79%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Database MCP Mariadb open source?
Yes — it is published under the MIT licence, written in Rust, 5 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.