Overview
what is XiYan MCP Server?
XiYan MCP Server is a Model Context Protocol (MCP) server that enables natural language queries to databases, powered by XiYan-SQL, which is a state-of-the-art text-to-SQL model.
how to use XiYan MCP Server?
To use the XiYan MCP Server, install it via pip, configure a YAML file with your database and model settings, and run the server to start processing natural language queries.
key features of XiYan MCP Server?
- 🌐 Fetch data by natural language through XiYanSQL
- 🤖 Support for general LLMs and state-of-the-art text-to-SQL models
- 💻 Option for pure local mode for enhanced security
- 🖱️ List available MySQL tables and read their contents
use cases of XiYan MCP Server?
- Enabling users to query databases using natural language.
- Integrating with applications that require database interactions without SQL knowledge.
- Supporting data retrieval in research and data analysis tasks.
FAQ from XiYan MCP Server?
- Can I use XiYan MCP Server with any database?
Yes! It currently supports MySQL and will support more dialects in the future.
- Is there a local mode for enhanced security?
Yes! The server can be run in a local mode for higher security.
- How do I install XiYan MCP Server?
You can install it using pip with the command
pip install xiyan-mcp-server.