# db-query-mcp

> db-query-mcp — andychinghk01-db-query-mcp. Use this tool when you need to run read-only SQL queries across multiple databases, such as MySQL and PostgreSQL, with enhanced security features like safety guardrails and external credential storage. It solves problems related to querying disparate databases, providing a unified interface for retrieving data while minimizing security risks. The tool accepts SQL queries as input and returns query results as output, making it ideal for use cases that require secure, multi-database querying.

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

## Description

MCP server for running read-only SQL queries across MySQL and PostgreSQL databases with safety guardrails, credentials stored outside source, and support for multiple databases.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-29

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/bxtah5051c)
- **Repository:** <https://github.com/andychinghk01/db-query-mcp>

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

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