
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 分