Atlas / MCP servers / xgenerationlab / XiYan

XiYanSAFE

mcp/xgenerationlab/xiyan

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

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
streamable-http
License
Apache-2.0
Stars
239
01

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)

Read from source at commit 4b412445b200OBSERVED · 2026-10-06
02

Connect

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-code
claude mcp add xiyan_mcp_server -- uvx xiyan_mcp_server
claude-desktop
{
  "mcpServers": {
    "xiyan_mcp_server": {
      "command": "uvx",
      "args": [
        "xiyan_mcp_server"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
get_datareadFetch the data from database through a natural language query
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (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)

MEDIUMAuth / authz · mcp.remote_no_auth · CWE-287, CWE-862
streamable-http
Why it matters. a network transport with no auth environment variable found
Fix. require a token
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README 2.md:310
Otherwise, if you use `sse`, change Type to `SSE` and set the endpoint to `http://127.0.0.1:8000/sse`
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:310
Otherwise, if you use `sse`, change Type to `SSE` and set the endpoint to `http://127.0.0.1:8000/sse`
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README_ja 2.md:242
url: "http://127.0.0.1:5090"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README_ja.md:242
url: "http://127.0.0.1:5090"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README_zh 2.md:243
url: "http://127.0.0.1:5090"
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, mysql-connector-python, sqlalchemy, llama_index, yaml, pandas, pymysql
Why it matters. 7 requirement(s) not pinned with ==
Fix. pin exact versions
INFOInventory / provenance · inv.oversize · CWE-1104
imgs/exp_mcpbench.png
imgs/exp_mcpbench.png
Why it matters. 1216275 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 4b412445b200full audit observations/trust-audit/mcp-server/xgenerationlab__xiyan.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-064b412445b200SAFEB89first audit
06

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.

Advertisement