
Lakelogic Mcp
io.github.LakeLogic由 GitHub 帳號 LakeLogic 發布v0.1.4更新於 Oct 29, 2026
Validate, lint, test-run and explain Open Lakehouse Contracts with LakeLogic, from any AI assistant.
概覽
本機 MCP 伺服器,讓 AI 助理用 LakeLogic 驗證、檢查、解釋並試跑 Open Lakehouse Contracts。
- 可以做什麼
- 依 OLC 模型驗證契約,列出每個錯誤的位置與問題
- 對契約執行 lint 檢查,列出治理問題並附上修正建議
- 解釋 lint 規則,並查詢契約各部分的撰寫方式
- 將契約匯出為 Open Data Contract Standard 文件
- 依契約產生合成測試資料,其中包含刻意違反規則的資料列
- 以 Polars 或 DuckDB 在本機檔案上執行契約,回報通過列數、失敗列數與失敗原因
- 適用情境
- 適合在專案中維護資料契約、希望助理檢查契約、解釋 lint 結果、產生範例資料,並取得實際通過/失敗結果而非憑空生成的 YAML 的情境。
- 執行需求
- 以 PyPI 套件 lakelogic-mcp 透過 stdio 在本機執行,PATH 中需有 uv。需在存放契約的專案中啟動助理,或傳入根目錄參數。不需要 LakeLogic 帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Lakelogic Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
LakeLogic MCP
mcp-name: io.github.LakeLogic/lakelogic-mcp
Help AI assistants check and test data contracts locally.
Validate Open Lakehouse Contracts (OLC), find governance gaps, explain rules and generate sample data. Test-run contracts with LakeLogic Core using Polars or DuckDB, then inspect accepted rows, failed rows and the reasons they failed.
Works with MCP-compatible assistants — Claude Code, Claude Desktop, Cursor and others. No LakeLogic account required.
OLC defines the contract. Core executes it. MCP gives your assistant access to those tools.
📖 Documentation: https://mcp.lakelogic.io/
Example
"Check orders.yaml, explain any findings, generate sample data and test it locally."
The assistant validates the contract, lints it, explains each finding, writes test data shaped by the contract, runs it, and reports which rows passed and why the others failed — real results from LakeLogic, not plausible-looking YAML.
Tools
Details and inputs: Tools. A first run, start to finish: Walkthrough.
Install
All clients need uv on your PATH. Start your assistant in the project
that holds your contracts (or pass --root <folder>).
Claude Code — as a plugin:
or directly: claude mcp add lakelogic -- uvx lakelogic-mcp
Cursor: Add to Cursor
Claude Desktop, VS Code and other MCP clients — add to the client's MCP settings:
It is listed in the official MCP Registry as
io.github.LakeLogic/lakelogic-mcp.
Safety and privacy
- Local. The server talks to your client over stdio; it opens no network connection itself, needs
no account and sends no telemetry. (Installing with
uvxdownloads the package, as any install does.) - Tool paths stay in your project. Every path you give a tool, and the
_domain.yaml/_system.yamlthat lint takes into account, must be inside the project folder. Files a contract itself names (alinks:dataset, for example) are read by Core as written. - Running a contract does what the contract configures. If a contract declares notifications or
run-log delivery, LakeLogic Core may send them during
run_contract. Nothing is written to the contract's target. - Results reach your AI provider. Tool results go into the assistant's context: quarantined sample
rows, failure reasons (which can quote your data) and the contract itself.
sample: 0removes only the rows, so test with generated data if a file holds personal or confidential data.
More: Safety and privacy.
Contributing
To work on the server from a checkout, see Development.
來源:README.md,提交 ea85927
工具
0版本歷史
4- v0.1.4最新Oct 29, 2026
- v0.1.3Oct 24, 2026
- v0.1.2Oct 18, 2026
- v0.1.1Oct 15, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分