DataCharter

io.github.datacharter由 GitHub 帳號 datacharter 發布v0.44.0更新於 Oct 24, 2026

Local-first, contract-governed data explorer with read-only, PII-masked query tools for AI agents.

發布方自己的服務:Charter Boats

概覽

AI 產生的概覽

DataCharter 是本地優先的 SQL 工作區,讓 AI 助理在 charter.yaml 契約規範下,以唯讀、PII 去識別化的方式查詢檔案與資料庫。

可以做什麼
透過以 DuckDB 為基礎的本地 SQL 工作區查詢檔案與資料庫,跨資料來源聯合查詢,並由 charter.yaml 契約檔控管。只向助理開放契約授予的欄位與資料列,PII 預設拒絕並去識別化。套用資料列篩選與「僅彙總」等自然語言原則,並提供金絲雀標記與飛行記錄器。可執行本地服務或帶 principals 與 grants 的共用 MCP 端點,也可把其他 MCP 伺服器包在同一層防護之下。
適用情境
當你希望助理探索本地或公司資料而不暴露敏感欄位,並需要一份納入版本控管、明確限制助理可讀範圍的書面契約時使用。也適合需要在共用端點上實現可稽核、預設拒絕的助理存取之團隊。
執行需求
透過 uvx 或 pip 以本地程序執行(Python 3.11+),或使用 macOS Apple Silicon 或 Windows 上的桌面應用程式。需要一個包含 charter.yaml、queries 與 guides 的工作區目錄。在非回送位址上以 HTTP 提供服務需要 OAuth 設定(issuer、audience、JWKS URI)。可選助理後端如 Claude Code、Ollama 或任意 OpenAI 相容端點。
安裝前請注意
專案處於預發布階段,V1 仍在開發中。桌面應用程式未簽章。透過 HTTP 提供服務需要設定 OAuth 且預設拒絕,必須審慎設定授權。不要把密鑰提交到工作區。唯讀與 PII 去識別化僅適用於契約授予的範圍,連接助理前請審閱 charter.yaml。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DataCharter,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

DataCharter

Query all your data locally. Hand agents exactly the columns you choose.

A local SQL workspace over files and databases, federated by DuckDB and governed by charter.yaml. Agents get read-only, PII-masked access to what the contract grants. Apache-2.0. No paid edition.

[PyPI] [Python] [License: Apache-2.0]

datacharter.dev · Docs · Desktop · GovBench · Deploy

Two ways in. Same kernel.

Laptop

Drop a file. Query it. Chart it. An agent sees ••• where PII lives.

sh
uvx datacharter serve          # demo workspace, http://127.0.0.1:8321# or: datacharter init --from && datacharter serve# or: datacharter init --template life && datacharter serve --local

No terminal: desktop app (beta). macOS (Apple Silicon) or Windows. Unsigned until Apple secrets exist.

sh
brew install datacharter/tap/datacharter   # macOSpip install datacharter                    # Python 3.11+

The workspace is a directory: charter.yaml, queries/, guides/. Commit it. Secrets stay out. Optional agent: SpaceXAI, Claude Code, Ollama (--local), or any OpenAI-compatible endpoint.

Company

The same binary, on a shared MCP endpoint. Identities live in git, not on our servers. No rows leave your infrastructure.

sh
datacharter mcp --http --host 0.0.0.0   # OAuth env required off loopbackhelm install datacharter ./chart \  --set oauth.issuer=... --set oauth.audience=... --set oauth.jwksUri=...datacharter govbench --json             # cite corpus govbench-v1
  • MCP Streamable HTTP (POST /mcp) with optional OAuth 2.1
  • principals: and grants: in charter.yaml (default-deny on HTTP)
  • Helm chart and OCI image
  • Hash-chained audit plus SIEM JSON/OTLP
  • GovBench: frozen 28-attack corpus, grade A-F

Wrap someone else's MCP server: datacharter mcp --guard "npx -y some-mcp-server".

What the contract enforces

PII default-deny, row filters, plain-English policies (aggregates only), canaries, a flight recorder, datacharter redteam, access diff on PRs. CLI reference: docs/cli.md. Security: docs/security.md.

Status: pre-release. V1 in development.

Privacy

Runs on your machine or in your cluster. No telemetry. No DataCharter-operated data plane. Privacy Policy.

License

Apache-2.0

來源:README.md,提交 a7cb14e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.44.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Charter 整合