Skip to main content
Glama
Zaturn
by kdqed

Zaturn を使用すると、SQL/Python コードを記述したり、見た目が美しい (ただし、面倒な) ダッシュボードを操作したりすることなく、AI チャットを使用してデータを分析できます。

Zaturn MCPをClaude Desktop(または任意のMCPクライアント)に追加し、データソースを接続して自然言語で質問し、視覚化によって即座にインサイトを得ることができます。Zaturnを使用すると、AIが保有するデータの種類を自動的に理解し、クエリを実行し、一貫性のある説明とともに役立つヒントを提供します。「最も価値のある顧客は誰ですか?」といった具体的な質問をしたり、「保有しているすべてのデータはこちらです。次の四半期のアイデアを教えてください」といった質問でAIにデータを探索させたりすることも可能です。

PyPI ダウンロード

Discordに参加する

しかし、ChatGPTにデータをアップロードして分析を依頼するだけでいいのでしょうか?

はい、可能です。ただし、ChatGPTではCSVファイル/スプレッドシートのアップロードサイズが約50MBに制限されており、アップロードにも時間がかかります。さらに、MySQLまたはPostgreSQLサーバーから直接データを読み込むこともできません。Zaturnは、データを移動することなく、これらの制限をすべて克服できます。AIにSQLと可視化機能を搭載するだけで、AIがデータを直接クエリし、結果を取得・処理し、即座に洞察を提供できるようになります。Zaturnを使えば、AIはデータに関する質問に答えるために、データセット全体を処理してメモリに保持する必要はありません。

Related MCP server: Superset MCP Server

Zaturn の動作

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

特徴:

複数のデータソース

Zaturn は現在、次のデータ ソースに接続できます。

  • SQL データベース: PostgreSQL、SQLite、DuckDB、MySQL、ClickHouse

  • ファイル: CSV、Parquet

さらに多くのデータ ソース用のコネクタが追加されています。

視覚化

Zaturnは表形式とテキスト形式の要約に加えて、次のような画像視覚化も生成できます。

  • 散布図と折れ線グラフ

  • ヒストグラム

  • ストリッププロットとボックスプロット

  • 棒グラフ

注: ビジュアルは、MCP クライアントが画像レンダリングをサポートしている場合にのみ表示されます (例: Claude Desktop)

MCPクライアントが画像(例:カーソル)をサポートしていない場合は、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"
    ]
  },
}

または、Zaturn 構成ディレクトリにsources.txtを追加します。

postgresql://username:password@host:port/dbname
mysql+pymysql://username:password@host:3306/dbname
clickhouse://username:password@host:port/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 に参加してください。

プロジェクトを支援する

Zaturn が役に立つと思われる場合は、次の方法でこのプロジェクトをサポートしてください。

皆さんのサポートのおかげで、私は Zaturn にもっと多くの時間を費やすことができるようになります。

データセットのクレジット例

Sarah Taha と PokéAPI によってコンパイルされたポケモン データセットは、デモンストレーションの目的でCC BY-NC-SA 4.0ライセンスの下に含まれています。

スターの歴史

星の歴史チャート

Available Tools

12 tools
bar_plotA

Run query against specified source and make a bar plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), x (required), y (required), +2 more.

box_plotA

Run query against specified source and make a box plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), x (required), y (required), +1 more.

density_heatmapA

Run query against specified source and make a 2d-histogram aka. Density Heatmap using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), column_x (required), column_y (required), +2 more.

describe_tableB

Lists columns and their types in the specified table of specified data source.

Inputs: source_id (required), table_name (required). Returns: result

histogramB

Run query against specified source and make a histogram using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), column (required), color, +1 more.

line_plotC

Run query against specified source and make a line plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), x (required), y (required), +1 more.

list_data_sourcesA

List all available data sources. Returns a list of unique source_ids to be used for other queries. Source type is included in the source_id string. While drafting SQL queries use appropriate syntax as per source type.

Inputs: no named parameters. Returns: result

polar_lineA

Run query against specified source and make a polar line plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), r (required), theta (required), +1 more.

polar_scatterB

Run query against specified source and make a polar scatter plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), r (required), theta (required), +1 more.

run_queryA

Run query against specified source For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name for csv sources. Use 'PARQUET' as the table name for parquet sources.

This will return a dataframe with the results.

Inputs: source_id (required), query (required). Returns: result

scatter_plotC

Run query against specified source and make a scatter plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), x (required), y (required), +1 more.

strip_plotB

Run query against specified source and make a strip plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.

This will return an image of the plot

Inputs: source_id (required), query (required), x (required), y (required), +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose: 10 visualization tools each create different plot types (bar, box, scatter, etc.), 'run_query' returns raw data, 'list_data_sources' enumerates sources, and 'describe_table' provides schema information. There is no functional overlap between tools - an agent can easily select the right tool for each task.

    Naming Consistency5/5

    All tools follow a consistent snake_case naming convention with clear verb_noun patterns: visualization tools use plot_type names (bar_plot, scatter_plot), while utility tools use action_object patterns (run_query, list_data_sources, describe_table). The naming is perfectly predictable and follows a single convention throughout.

    Tool Count5/5

    12 tools is well-scoped for a data visualization and query server. The count includes comprehensive visualization coverage (10 plot types), core data operations (run_query), and metadata utilities (list_data_sources, describe_table). Each tool earns its place without redundancy or bloat.

    Completeness4/5

    The toolset provides excellent coverage for data exploration and visualization: query execution, schema inspection, source enumeration, and multiple plot types. Minor gaps include lack of data modification tools (update/delete) and advanced analytics functions, but these may be outside the server's intended scope as a visualization-focused tool.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP (Model Context Protocol) server that exposes natural language to SQL functionality, allowing any MCP-compatible client to convert plain English questions into SQL queries for database interaction using AI.
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for Apache Superset that enables AI models to manage dashboards, create charts with auto-detection, and execute SQL queries programmatically. It utilizes stateless HTTP transport to ensure compatibility with integration tools like Open WebUI.
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      An MCP server that exposes relational databases (PostgreSQL/MySQL) to AI agents with natural language to SQL query support.
      19
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables SQL analytics on DuckDB and MotherDuck databases, allowing AI assistants and IDEs to query and analyze data.
      MIT