# text-to-sql-mcp

> text-to-sql-mcp — hamzaouadid-text-to-sql-mcp. Use this tool when you need to translate natural-language questions into SQL queries, validate query structures, and execute read-only queries against a SQLite database. It solves problems related to querying databases using natural language, providing an interface that takes in text-based questions and outputs SQL results or rejections. Ideal for use cases where users need to retrieve data from a database without requiring technical SQL knowledge.

Canonical page: https://skillsregistry.net/skills/hamzaouadid-text-to-sql-mcp  
JSON: https://api.skillsregistry.net/v1/skills/hamzaouadid-text-to-sql-mcp

## Description

MCP server that translates natural-language questions into SQL, validates every query structurally, and executes approved read-only queries against a SQLite database, returning results and rejections.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/qkqmhzk8p1)
- **Repository:** <https://github.com/HamzaOuadid/text-to-sql-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": "hamzaouadid-text-to-sql-mcp"
    }
  }
}
```

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