# mcp_db

> mcp_db — seraved-mcp-db. Use this tool when you need to execute SQL queries on PostgreSQL and ClickHouse databases with fine-grained access control. It solves problems related to secure query execution by enforcing per-connection allow/deny policies based on statement groups. The tool takes SQL queries as input and returns query results as output, making it suitable for use cases requiring controlled database access.

Canonical page: https://skillsregistry.net/skills/seraved-mcp-db  
JSON: https://api.skillsregistry.net/v1/skills/seraved-mcp-db

## Description

MCP server for executing SQL queries on PostgreSQL and ClickHouse with per-connection allow/deny policies by statement group.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-08-30

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/iu0oijmz56)
- **Repository:** <https://github.com/seraved/mcp_db>

## 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": "seraved-mcp-db"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/seraved-mcp-db` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/seraved-mcp-db/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
