Xiyan MCP Server

<b>A Model Context Protocol (MCP) server that enables natural language queries to databases</b>

Local serverstdioPython

What is the Xiyan MCP Server?

A Model Context Protocol (MCP) server that enables natural language queries to databases

What it actually does

  • 🌐 Fetch data by natural language through XiYanSQL
  • 🤖 Support general LLMs (GPT,qwenmax), Text-to-SQL SOTA model
  • 💻 Support pure local mode (high security!)
  • 📝 Support MySQL and PostgreSQL
  • 🖱️ List available tables as resources
  • 🔧 Read table contents

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Xiyan MCP Server

{
  "mcpServers": {
    "xiyan-mcp-server": {
      "command": "/xxx/python",
      "args": [
        "-m",
        "xiyan_mcp_server"
      ],
      "env": {
        "YML": "PATH/TO/YML"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
YMLDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Xiyan to Architecture.”
  • “Use Xiyan to STDIO.”
  • “Use Xiyan to MySQL.”

Frequently asked questions

<b>A Model Context Protocol (MCP) server that enables natural language queries to databases</b> Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.