# MariaDB MCP Server

> Use this tool when you need to efficiently query local MariaDB and MySQL databases with optimized output formats, reducing token consumption. It solves problems related to secure database exploration and read-only query execution, while preventing destructive commands. Ideal for use cases requiring secure and controlled database querying, with inputs including SQL queries and database connections, and outputs including query results and schema information.

Canonical page: https://skillsregistry.net/skills/ophecy-mariadb-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/ophecy-mariadb-mcp-server

## Description

Enables querying local MariaDB and MySQL databases with optimized output formats designed to significantly reduce token consumption. It provides secure tools for exploring schemas and executing read-only SQL queries while automatically blocking destructive commands.

## Trust

- **Trust score (0–1):** 0.96
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/cy72dth7fz)
- **Repository:** <https://github.com/Ophecy/mariadb-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ophecy-mariadb-mcp-server"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ophecy-mariadb-mcp-server` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ophecy-mariadb-mcp-server/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
