# Text2SQL-MCP

> Text2SQL-MCP — yusufferen-text2sql-mcp. Use this tool when you need to convert natural language into secure SQL queries for PostgreSQL databases, solving problems of data retrieval and schema exploration while ensuring multi-layer security validation. It takes natural language inputs and outputs validated SELECT queries, schema information, and sampled table data. Ideal for use cases requiring read-only access to PostgreSQL databases with enhanced security measures.

Canonical page: https://skillsregistry.net/skills/yusufferen-text2sql-mcp  
JSON: https://api.skillsregistry.net/v1/skills/yusufferen-text2sql-mcp

## Description

Converts natural language to safe SQL queries for PostgreSQL databases with read-only access and multi-layer security validation. Provides tools for running validated SELECT queries, retrieving schema, and sampling table data.

## Trust

- **Trust score (0–1):** 0.09
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/occd3ya9zi)
- **Repository:** <https://github.com/YusuffEren/text2sql-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": "yusufferen-text2sql-mcp"
    }
  }
}
```

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