XiYanSAFE
A Model Context Protocol (MCP) server that enables natural language queries to databases
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
XiYan MCP Server
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
[](https://archestra.ai/mcp-catalog/xgenerationlab_xiyanmcp_server)
4b412445b200OBSERVED · 2026-10-06Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add xiyan_mcp_server -- uvx xiyan_mcp_server
{
"mcpServers": {
"xiyan_mcp_server": {
"command": "uvx",
"args": [
"xiyan_mcp_server"
]
}
}
}Exposed tools (1)
1 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_data | read | Fetch the data from database through a natural language query |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (8)
streamable-http
Otherwise, if you use `sse`, change Type to `SSE` and set the endpoint to `http://127.0.0.1:8000/sse`
Otherwise, if you use `sse`, change Type to `SSE` and set the endpoint to `http://127.0.0.1:8000/sse`
url: "http://127.0.0.1:5090"
url: "http://127.0.0.1:5090"
url: "http://127.0.0.1:5090"
mcp, mysql-connector-python, sqlalchemy, llama_index, yaml, pandas, pymysql
imgs/exp_mcpbench.png
Gates applied: no_behavioural_pass.
4b412445b200full audit observations/trust-audit/mcp-server/xgenerationlab__xiyan.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-06 | 4b412445b200 | SAFE | B | 89 | first audit |
Questions
What is the XiYan MCP server?
A Model Context Protocol (MCP) server that enables natural language queries to databases
What tools does XiYan expose?
1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is XiYan safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does XiYan need?
No credential environment variables were found in its source, so it appears to need none.
How does XiYan run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as xiyan_mcp_server.
How current is this page?
The grade is for one exact copy of the source (4b412445b200), read on 2026-10-06. The repository is watched and re-audited when it changes.