Skip to main content
LakeLogic MCP: check and test data contracts with your AI assistant. A local MCP server for validating, linting and test-running OLC contracts. Your AI assistant talks to the LakeLogic MCP local server, which uses LakeLogic Core with Polars or DuckDB for contract checks (validate, lint, explain) and test runs (sample data, results, failure reasons). No LakeLogic account required.

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://lakelogic.github.io/lakelogic-mcp/

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

Tool Answers
validate_contract Does it match the OLC model? Each error's location and problem
lint_contract Does it pass the lint checks? Governance findings, each with its fix
explain_rule Why does a lint rule exist? What it checks, why it matters, a failing and a fixed contract
contract_reference How is one part of a contract written? (anatomy, quality, materialization, …)
export_odcs The contract as an Open Data Contract Standard document
generate_test_data Synthetic data shaped by the contract, with a share of rows that deliberately break its rules
run_contract How many rows pass, how many fail, and why (Polars or DuckDB, on a local file)

Details and inputs: Tools.

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:

/plugin marketplace add LakeLogic/lakelogic-mcp
/plugin install lakelogic-mcp@lakelogic-mcp

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:

{
  "mcpServers": {
    "lakelogic": {
      "command": "uvx",
      "args": ["lakelogic-mcp", "--root", "/path/to/your/contracts/project"]
    }
  }
}

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 uvx downloads the package, as any install does.)
  • Tool paths stay in your project. Every path you give a tool, and the _domain.yaml / _system.yaml that lint takes into account, must be inside the project folder. Files a contract itself names (a links: 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, including run_contract's sample rows, go into the assistant's context. Test with generated data, or set sample to 0, if a file holds personal data.

More: Safety and privacy.

Contributing

To work on the server from a checkout, see Development.

Metadata

Release files for lakelogic-mcp 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lakelogic-mcp 0.1.3
File Size Uploaded Provenance Actions
lakelogic_mcp-0.1.3.tar.gz 676.6 kB With provenance Details for lakelogic_mcp-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lakelogic-mcp 0.1.3
File Interpreter ABI Platform Actions
lakelogic_mcp-0.1.3-py3-none-any.whl Python 3 none any Details for lakelogic_mcp-0.1.3-py3-none-any.whl

Total release size: 691.7 kB

Release files / lakelogic_mcp-0.1.3.tar.gz

Download URL lakelogic_mcp-0.1.3.tar.gz
Size 676.6 kB
Tags Source
SHA-256 checksum
How to use checksums
af7c0e9f4dda7eb49cf5210e8ca4d33c76df31e690410a2bbe72f56f43ba4919
BLAKE2b-256 checksum
How to use checksums
b173a59d82dbbec8cb77f36f36fab59285fdc74c033cbec4b30c679c817b69bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / lakelogic_mcp-0.1.3-py3-none-any.whl

Download URL lakelogic_mcp-0.1.3-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62a8db3061a30d146bc86cdf561b0805396b919ca77957220cdadbea41ecb0ef
BLAKE2b-256 checksum
How to use checksums
c235c601f4220052cc48b379f128dc4f578e02e104820808065a3a12a293a6f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for lakelogic-mcp 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lakelogic_mcp-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page