Zaturn

by kdqed
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides community support and feedback through a Discord server

  • Connects to DuckDB databases to run SQL queries and generate insights from the data

  • Hosts source code and enables issue tracking for support and feature requests

Zaturn 让您使用 AI 聊天分析您的数据;而无需您编写 SQL/Python 代码或摆弄美观(但令人不知所措)的仪表板。

您可以将 Zaturn MCP 添加到 Claude Desktop(或任何 MCP 客户端),连接您的数据源,使用自然语言提问,并通过可视化获得即时洞察。借助 Zaturn,您的 AI 可以自动理解您拥有的数据类型,进行查询,并以连贯的叙述方式为您提供有用的指导。您可以提出具体的问题,例如“谁是我们最有价值的客户?”,或者让 AI 通过提出“这是我们拥有的所有数据,请为下一季度提供一些建议”之类的问题来探索您的数据。

加入 Discord

但是我可以将我的数据上传到 ChatGPT 并让它进行分析,对吗?

是的,但 ChatGPT 对 CSV 文件/电子表格的上传大小限制约为 50MB,而且上传也需要时间。此外,它无法直接从您的 MySQL 或 PostgreSQL 服务器读取数据。Zaturn 可以克服所有这些限制,而无需将您的数据移动到任何地方。它只需为您的 AI 配备 SQL 和可视化功能,即可让 AI 直接查询您的数据、获取结果、进行处理并为您提供即时洞察。使用 Zaturn,AI 无需处理您的完整数据集并将其保存在内存中即可回答您关于数据的问题。

Zaturn 行动

https://github.com/user-attachments/assets/d42dc433-e5ec-4b3e-bef0-5cfc097396ab

特征:

多个数据源

Zaturn 目前可以连接以下数据源:

  • SQL 数据库:PostgreSQL、SQLite、DuckDB、MySQL
  • 文件:CSV、Parquet

正在添加更多数据源的连接器。

可视化

除了提供表格和文本摘要外,Zaturn 还可以生成以下图像可视化

  • 散点图和线图
  • 直方图
  • 条形图和箱线图
  • 条形图

注意:仅当您的 MCP 客户端支持图像渲染(例如 Claude Desktop)时才会显示视觉效果

如果您的 MCP 客户端不支持图像(例如 Cursor),请在 MCP 配置中添加--noimg参数。这样,绘图将以文件形式存储,并返回文件位置。您可以使用文件浏览器查看绘图。

正在添加更多可视化功能。

安装和设置

  1. 安装uv
  2. 使用 uv 安装Zaturn
uv tool install zaturn
  1. 添加到 MCP 配置,包含数据源:
"mcpServers": { "zaturn": { "command": "zaturn_mcp", "args": [ "postgresql://username:password@host:port/dbname", "mysql+pymysql://username:password@host:3306/dbname", "sqlite:////full/path/to/sample_dbs/northwind.db", "/full/path/to/sample_dbs/titanic.parquet", "/full/path/to/sample_dbs/ny_aq.csv", "/full/path/to/sample_dbs/duckdb_sample.duckdb" ] }, }

或者将sources.txt添加到 Zaturn 配置目录:

postgresql://username:password@host:port/dbname mysql+pymysql://username:password@host:3306/dbname sqlite:////full/path/to/sample_dbs/northwind.db /full/path/to/sample_dbs/titanic.parquet /full/path/to/sample_dbs/ny_aq.csv /full/path/to/sample_dbs/duckdb_sample.duckdb

该文件在 Linux/MacOS 上需要位于~/.config/zaturn/sources.txt ,在 Windows 上需要位于%APPDATA%\zaturn\sources.txt

如果您的 MCP 客户端不支持图像渲染,请添加--noimg参数:

... "args": [ "--noimg", "mysql+pymysql://username:password@host:3306/dbname", ...
  1. 如果您的 LLM/IDE 允许您执行以下操作,请设置系统提示:
You are a helpful data analysis assistant. Use only the tool provided data sources to process user inputs. Do not use external sources or your own knowledge base.
  1. 提出问题并观看魔术:
User: List the top 5 customers by revenue for Northwind AI: The top 5 customers by revenue for Northwind are: 1. B's Beverages with a revenue of $6,154,115.34 2. Hungry Coyote Import Store** with a revenue of $5,698,023.67 3. Rancho grande with a revenue of $5,559,110.08 4. Gourmet Lanchonetes with a revenue of $5,552,597.90 5. Ana Trujillo Emparedados y helados with a revenue of $5,534,356.6

路线图

  • 支持更多数据源类型
  • 更多数据可视化
  • 预测分析和预报,例如:
Based on the revenue of the last 3 months, forecast next month's revenue.
  • 生成演示文稿和 PDF
Manager: I need a presentation to show the boss. Can you do it by EOD? Analyst: EOD?! Are you still in the 2010s? I can get it done right now. Actually, you can do it right now. You know what? The boss can do it right now.
  • 原生笔记本界面

支持和反馈

提出问题加入 Discord

示例数据集

Sarah Taha 和 PokéAPI 编制的 pokemon 数据集已纳入CC BY-NC-SA 4.0许可,用于演示目的。

星史

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

一个开源 MCP 服务器,可连接到各种数据源(SQL 数据库、CSV、Parquet 文件),允许 AI 模型执行 SQL 查询并生成数据可视化以用于分析和商业智能。

  1. Zaturn in Action
    1. Features:
      1. Multiple Data Sources
      2. Visualizations
    2. Installation & Setup
      1. Roadmap
        1. Support And Feedback
          1. Example Dataset Credits
            1. Star History
              ID: 0k2rr5trod