# XiYanSQL (MySQL)

> Use this tool when you need to interact with MySQL databases using natural language queries, enabling secure and controlled exploration and analysis of database content. It solves problems of direct SQL access risks and impracticalities, providing capabilities to list tables, read data, and execute queries. Ideal for database analysis workflows, XiYanSQL takes natural language inputs and returns query results, integrating with LLM APIs for seamless processing.

Canonical page: https://skillsregistry.net/skills/xgenerationlab-xiyan-mysql  
JSON: https://api.skillsregistry.net/v1/skills/xgenerationlab-xiyan-mysql

## Description

XiYan MCP Server enables AI assistants to interact with MySQL databases through natural language queries using XiYanSQL. Developed by Zhiling Luo, this server provides capabilities to list tables, read data, and execute SQL queries in a controlled, secure environment. It integrates with LLM APIs for natural language processing and requires minimal configuration through environment variables, making it particularly valuable for database exploration and analysis workflows where direct SQL access might be risky or impractical.

## Trust

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

## Facts

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

## Source

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

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