# Text-to-SQL (MySQL)

> Use this tool when you need to interact with MySQL databases using natural language queries, enabling conversational data analysis and exploration. It solves problems such as simplifying database querying and reporting by allowing users to ask questions in plain English, and provides secure database connectivity with authentication token support. The tool takes natural language inputs and outputs structured SQL query results, making it ideal for use cases where users want to access database information without writing SQL directly.

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

## Description

Text-to-SQL MCP server that enables AI assistants to interact with MySQL databases through natural language queries. Built with FastMCP and mysql-connector-python, it provides secure database connectivity with authentication token support and includes a sample dataset for testing. Designed for developers who want to enable conversational database interactions without writing SQL directly, making it valuable for data analysis, reporting, and database exploration workflows where users can ask questions in plain English and receive structured query results.

## Trust

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

## Facts

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

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/tmstack-text-to-sql-mysql)
- **Repository:** <https://github.com/tmstack/text-to-sql-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": "tmstack-text-to-sql-mysql"
    }
  }
}
```

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