Text2Sql.Net MCP Server
shuyu-labs/Text2Sql.Net
[](https://agentrank-ai.com/tool/shuyu-labs--Text2Sql.Net/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) Are you the maintainer of shuyu-labs/Text2Sql.Net? Claim this listing →
Text2Sql.Net 是一个使用DotNet和Semantic Kernel开发的Text2Sql工具
Add AgentRank to Claude Code Discover and compare tools like shuyu-labs/Text2Sql.Net — your AI finds the right one automatically
Get API Access → claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
shuyu-labs/Text2Sql.Net is a C# tool licensed under Apache-2.0. Text2Sql.Net 是一个使用DotNet和Semantic Kernel开发的Text2Sql工具 Topics: chatbi, dotnet, rag, text2sql, mcp.
Ranked #3958 out of 24838 indexed tools.
Ecosystem
C# Apache-2.0
chatbidotnetragtext2sqlmcp
Score Breakdown
Stars 15% 139
139 stars → growing community
Freshness 25% 15d ago
Last commit 15d ago → recently updated
Issue Health 25% 50%
1/2 issues closed → decent issue management
Contributors 10% 4
4 contributors → small team
Dependents 25% 0
No dependents → no downstream usage
npm Downloads N/A
PyPI Downloads N/A
Forks 33
Description Good
License Apache-2.0
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
How to Improve
Description low impact
Dependents medium impact
Matched Queries
From the README
简体中文 | [English](./README.en.md)
## Text2Sql.Net - 自然语言转SQL的.NET实现
### 项目背景
Text2Sql.Net是一个基于.NET平台的自然语言转SQL工具,旨在帮助开发者和数据分析师通过简单的自然语言描述快速生成数据库查询语句。项目结合了大型语言模型(LLM)和传统SQL解析技术,支持多种主流数据库。
### 核心功能
- 自然语言转SQL:输入日常语言描述,自动生成对应的SQL查询语句
- 多数据库支持:兼容SQL Server、MySQL、PostgreSQL和SQLite
- 智能上下文理解:基于聊天历史理解用户查询意图
- 向量搜索集成:支持基于语义的相似度搜索
- 语法校验:自动检查生成的SQL语法正确性
- **MCP协议支持**:与IDE工具(Cursor、Trae等)无缝集成
- **智能问答示例系统**:通过示例学习提升SQL生成准确性
## 技术架构
配置文件。项目支持使用sqlite或者pgsql运行,支持配置SqlService、MySql、PgSql、Sqlite进行Text2Sql
```
"Text2SqlOpenAI": {
"Key": "你的秘钥",
"EndPoint": "https://api.antsk.cn/",
"ChatModel": "gpt-4o",
"EmbeddingModel": "text-embedding-ada-002"
},
"Text2SqlConnection": {
"DbType": "Sqlite", //PostgreSQL
"DBConnection": "Data Source=text2sql.db",
"VectorConnection": "text2sqlmem.db",
"VectorSize": 1536 //PostgreSQL需要设置,sqlite可以不设置
}
```
也欢迎大家加入我们的微信交流群,可以添加我的微信:**xuzeyu91** 发送进群
### 核心模块
**数据库适配层**
**向量数据库集成**
- 基于策略模式实现多数据库支持
- 通过IDatabaseProvi Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.