SkillTide Submit
Official description10 sourcesMCP servers8d ago
XGenerationLab/xiyan_mcp_server

XGenerationLab/xiyan_mcp_server

๐Ÿ“‡ โ˜๏ธ - Fetch data from databases with natural-language queries, using XiyanSQL as the text-to-SQL model
View on GitHub โ†—Direct link ยท no redirect page
Config template (adjust for your client)
claude mcp add xiyan-mcp-server -- npx -y xiyan_mcp_server
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
238 โ˜… ยท XGenerationLab/xiyan_mcp_server ยท read from the GitHub search API ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร— ยท listed by 10 sources
Score
score 1,003 ยท 238 โ˜… ยท 10 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆœๅŠก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository XGenerationLab/xiyan_mcp_server๏ผ›first catalogued 2026-10-09๏ผ›last seen 2026-10-16ใ€‚There is no official certification or quality rating here โ€” we record sources and dates only.
Third-party quality signals

XiYan MCP Server

ไปฅไธ‹ๆ‘˜ๅฝ•่‡ช่ฏฅไป“ๅบ“็š„ README๏ผˆ็‰‡ๆฎต๏ผ‰ ยท ๅœจ GitHub ่ฏปๅฎŒๆ•ด README โ†’

A Model Context Protocol (MCP) server that enables natural language queries to databases
powered by XiYan-SQL , SOTA of text-to-sql on open benchmarks
๐Ÿ’ป XiYan-mcp-server |
๐ŸŒ XiYan-SQL |
๐Ÿ“– Arxiv |
๐Ÿ† XiYanSQL Model |
๐Ÿ“„ PapersWithCode
๐Ÿค— HuggingFace |
๐Ÿค– ModelScope |
๐ŸŒ• ๆž่จ€GBI
English | ไธญๆ–‡ | ๆ—ฅๆœฌ่ชž
Ding Group้’‰้’‰็พค ๏ฝœ
Follow me on Weibo
Table of Contents
- Features
- Preview
- Architecture
- Best Practice
- Tools Preview
- Installation
- Installing from pip
- Installing from Smithery.ai
- Configuration
- LLM Configuration
- General LLMs
- Text-to-SQL SOTA model
- Local Model
- Database Configuration
- MySQL
- PostgreSQL
- Launch
- Claude Desktop
- Cline
- Goose
- Cursor
- It Does Not Work
- Citation
Features
- ๐ŸŒ 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
Preview
Architecture
There are two ways to integrate this server in your project, as shown below:
The left is remote mode, which is the default mode. It requires an API key to access the xiyanSQL-qwencoder-32B model from service provider (see Configuration).
Another mode is local mode, which is more secure. It does not require the API key.
Best practice and reports
"Build a local data assistant using MCP + Modelscope API-Inference without writing a single line of code"
"Xiyan MCP on Modelscope"
Evaluation on MCPBench
The following figure illustrates the performance of the XiYan MCP server as measured by the MCPBench benchmark. The XiYan MCP server demonstrates superior performance compared to both the MySQL MCP server and the PostgreSQL MCP server, achieving a lead of 2-22 percentage points. The detailed experiment results can be found at MCPBench and the report "Evaluation Report on MCP Servers".
Tools Preview
- The tool get_data provides a natural language interface for retrieving data from a database. This server will convert the input natural language into SQL using a built-in model and call the database to return the query results.
- The {dialect}://{table_name} resource allows obtaining a portion of sample data from the database for model reference when a specific table_name is specified.
- The {dialect}:// resource will list the names of the current databases
Installation
Installing from pip
Python 3.11+ is required.
You can install the server through pip, and it will install the latest version:
If you want to install the development version from source, you can install from source code on github:
Installing from Smithery.ai
See @XGenerationLab/xiyan_mcp_server
Not fully tested.
Configuration
You need a YAML config file to configure the server.
A default config file is provided in config_demo.yml which looks like this:
MCP Configuration
You can set the transport protocol to stdio or sse.
STDIO
For stdio protocol, you can set just like this:
SSE
For sse protocol, you can set mcp config as below:
The default port is 8000. You can change the port if needed.
The default log level is ERROR. We recommend to set log level to INFO for more detailed information.
Other configurations like debug, host, sse_path, message_path can be customized as well, but normally you don't need to modify them.
LLM Configuration
Name is the name of the model to use, key is the API key of the model, url is the API url of the model. We support following models.
| versions | general LLMs(GPT,qwenmax) | SOTA model by Modelscope | SOTA model by Dashscope | Local LLMs |
Source
awesome ยท https://github.com/XGenerationLab/xiyan_mcp_server
Browse by field
MCP servers
Traction
238 โ˜…
added
yesterday

More in MCP servers

All 5,525 in MCP servers โ†’

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields โ†’

โ† Back to index