About Chat2DB
Chat2DB is an MCP server published by OtterMind in the Science category: chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries. Available on desktop, web, Docker, and CLI, with MCP support. Conduid read 56 tools from its source: ABS, ACOS, ASCII, ASIN, ATAN, ATN2 and 50 more. No package is published for it, so it installs from a source checkout.
The repository has 28K stars and 3.0K forks, and its last commit was on 11 Nov 2026. The latest release is v5.3.9-beta.2 (29 Oct 2026): Chat2DB Community 5.3.9-beta.2 adds reusable import format templates, resumable data imports and error-handling policies, improves transfer progress, and fixes SQL and l… It follows v5.3.8 (9 Oct 2026), and the 5 most recent releases go back to v5.3.6 (10 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include clickhouse, database, database-client, database-gui, database-management and jdbc.
Install
git clone https://github.com/OtterMind/Chat2DBTools (56)
ABS返回数值的绝对值。ACOS返回指定浮点表达式的反余弦值。ASCII返回字符表达式最左边字符的 ASCII 码值。ASIN返回指定浮点表达式的反正弦值。ATAN返回指定浮点表达式的反正切值。ATN2返回两个指定浮点表达式之间的角度。CEILING向上舍入为最接近的整数。CHAR根据指定的整数 ASCII 码值返回相应的字符。CHARINDEX返回一个表达式中另一个表达式的第一个实例的起始位置。CONCAT将两个或多个字符串值连接成一个字符串。CONCAT_WS使用指定的分隔符连接两个或多个字符串值。COS返回指定角度的余弦值。COT返回指定角度的余切值。CURRENT_TIMESTAMP返回 SQL Server 实例运行计算机的当前日期和时间。DATEADD返回一个新日期,该日期在指定的日期部分上增加了一定数量的间隔。DATEDIFF返回两个日期之间的指定日期部分的差异。DATENAME返回指定日期的指定部分的名称。DATEPART返回指定日期的指定部分。DAY返回指定日期的日部分。DEGREES将弧度转换为度。EOMONTH返回指定日期所在月份的最后一天。EXP返回 e 的指定次方。FLOOR向下舍入为最接近的整数。GETDATE返回 SQL Server 实例运行计算机的当前日期和时间。GETUTCDATE返回协调世界时(UTC)。ISJSON检测字符串是否包含有效的 JSON。JSON_ARRAY从零个或多个值中构造 JSON 数组文本。JSON_MODIFY更新 JSON 字符串中的属性值并返回更新后的 JSON 字符串。JSON_OBJECT从一个或多个表达式中构造 JSON 对象文本。JSON_QUERY从 JSON 字符串中提取对象或数组。JSON_VALUE从 JSON 字符串中提取标量值。LEFT返回字符串最左边的指定数量的字符。LEN返回字符串的长度。LOG返回指定表达式的自然对数。LOG10返回指定表达式的以10为底的对数。LOWER将字符数据转换为小写。LTRIM从字符串的开始部分去除空格。MONTH返回指定日期的月部分。OPENJSON解析 JSON 文本并返回 JSON 输入中的对象和属性作为行和列。PI返回 PI 的值。POWER返回指定表达式的指定次方。RADIANS将度转换为弧度。RAND返回一个伪随机数。REPLACE将字符串中的某些字符替换为另一组字符。REVERSE返回一个字符串,其中字符串的字符顺序被反转。RIGHT返回字符串最右边的指定数量的字符。ROUND返回指定长度或精度的四舍五入值。RTRIM从字符串的末尾去除空格。SIGN返回指定表达式的符号。SIN返回指定角度的正弦值。SQRT返回指定表达式的平方根。SQUARE返回指定表达式的平方。SUBSTRING返回字符串的子字符串,从指定的位置开始,指定的长度。TAN返回指定角度的正切值。UPPER将字符数据转换为大写。YEAR返回指定日期的年部分。Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.5K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by chat2db-community-client/yarn.lock.
- !No dynamic code executionScanned 3.3K source files and found 33 calls to eval or shell execution, in chat2db-community-client/src/utils/index.ts:31, chat2db-community-server/chat2db-community-jcef/src/main/java/ai/chat2db/community/jcef/utils/MacThemeUtil.java:31 and chat2db-community-server/chat2db-community-jcef/src/main/java/ai/chat2db/community/jcef/utils/MacThemeUtil.java:43 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 24 callschat2db-community-server/chat2db-community-jcef/src/main/java/ai/chat2db/community/jcef/update/DesktopRestartSupport.java:32, chat2db-community-server/chat2db-community-jcef/src/main/java/ai/chat2db/community/jcef/update/v2/FullPackageDesktopUpdater.java:641, chat2db-community-server/chat2db-community-jcef/src/main/java/ai/chat2db/community/jcef/utils/MacThemeUtil.java:31
- Outbound network calls
- 21 callschat2db-community-client/src/blocks/AI/components/AIButton/APNGPlayer/index.tsx:20, chat2db-community-client/src/utils/file.ts:31, chat2db-community-client/src/utils/file.ts:77
- Writes or deletes files
- 167 callschat2db-community-server/chat2db-community-domain/chat2db-community-domain-core/src/main/java/ai/chat2db/community/domain/core/impl/ai/AiChatHistoryServiceImpl.java:205, chat2db-community-server/chat2db-community-domain/chat2db-community-domain-core/src/main/java/ai/chat2db/community/domain/core/impl/ai/AiChatHistoryServiceImpl.java:311, chat2db-community-server/chat2db-community-domain/chat2db-community-domain-core/src/main/java/ai/chat2db/community/domain/core/impl/ai/AiChatHistoryServiceImpl.java:316
- Lockfile
- chat2db-community-client/yarn.lock
Pattern matches on the source text of 3253 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.5K words, fetched 7 days ago. The original in the repository is authoritative.
Read full README