turbular
by raeudigerRaeffi·★ 99·综合分 44
Turbular 是一个 MCP 服务器,让 LLM 智能体能够通过统一的 API 接口连接和查询多个数据库。
databasedeveloper-toolsai-llm
13
Forks
1
活跃 Issue
10 个月前
最近提交
2 天前
收录于
概述
Turbular 是一个设计精良的 MCP 服务器,为语言模型提供无缝的数据库连接功能。它支持多种数据库类型,包括 PostgreSQL、MySQL、SQLite、BigQuery、Oracle、MS SQL 和 Redshift。该服务器具有模式标准化功能,可提高 LLM 兼容性,支持安全连接和 SSL,并提供查询转换能力。基于 FastAPI 构建,为人工智能应用程序提供高性能和优化的查询执行。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
你:构建需要查询多种数据库类型的 AI 应用程序
你:使 LLM 智能体能够安全地访问和分析企业数据
你:创建可跨不同数据库系统工作的数据分析工具
你:Turbular 支持哪些数据库?
你:模式标准化如何帮助提高 LLM 兼容性?
什么时候选它
当您需要 MCP 解决方案将 LLM 代理连接到多种数据库类型且配置最少、自动架构标准化时,选择 Turbular。
什么时候不要选它
如果您需要写入数据库访问权限(当前实现似乎是只读的)或需要文档中未涵盖的高级身份验证功能,请不要选择 Turbular。
此 server 暴露的工具
从 README 抽取出 6 个工具get_schemaRetrieve the schema of a connected database for your LLM agent
execute_queryExecute SQL queries on the connected database with optimization
upload_bigquery_keyUpload a BigQuery service account key file
upload_sqlite_fileUpload a SQLite database file
health_checkVerify if the API is running
supported_databasesGet a list of all supported database types
可对比工具
sql-mcpneon-mcppostgres-mcpdirect database connections via shell-mcp
安装
安装
- 克隆仓库:
git clone https://github.com/raeudigerRaeffi/turbular.git
cd turbular- 使用 Docker(推荐):
docker-compose -f docker-compose.dev.yml up --build- 手动安装:
pip install -r requirements.txt
uvicorn app.main:app --reloadClaude Desktop 配置
{
"mcpServers": {
"turbular": {
"command": "uvicorn",
"args": ["app.main:app", "--reload"],
"env": {
"PYTHONPATH": "."
}
}
}
}FAQ
- Turbular 支持哪些数据库?
- Turbular 支持 PostgreSQL、MySQL、SQLite、BigQuery、Oracle、MS SQL 和 Redshift 数据库。
- 模式标准化如何帮助提高 LLM 兼容性?
- 模式标准化自动将数据库模式转换为一致的命名约定,这些约定更易于 LLM 理解和使用,然后将生成的查询转换回其原始形式执行。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by raffasch123 · 2025-05-24
turbular 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。