# Lakelogic MCP

> Lakelogic MCP is a free MCP server for analytics and data. Validate, lint, test-run and explain Open Lakehouse data contracts locally. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI
- **Repository:** https://github.com/lakelogic/lakelogic-mcp
- **MCP Registry name:** io.github.LakeLogic/lakelogic-mcp
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-15

## About

LakeLogic MCP lets an assistant check data contracts written in the Open Lakehouse Contract format without leaving your project folder. The README splits the roles: the contract format defines the rules, LakeLogic Core runs them with Polars or DuckDB on a local file, and this server gives the assistant access to both.

A typical request is to check orders.yaml, explain any findings, generate sample data and test it. The sample data deliberately includes rows that break the contract's rules, so the run reports which rows pass and why others fail. Contracts can also be exported as an Open Data Contract Standard document.

It runs over stdio, needs no account and sends no telemetry, but one caveat matters: tool results, including quarantined sample rows and failure reasons that can quote your data, go into the assistant's context. The README advises testing with generated data when files hold personal or confidential information. Paths must stay inside the project folder.

## Features

- **Contract validation:** Check a contract against the OLC model with each error's location.
- **Governance linting:** Find governance gaps, each with a suggested fix.
- **Rule explanations:** Explain why a lint rule exists, with a failing and a fixed contract.
- **Synthetic test data:** Generate data shaped by the contract, including deliberately bad rows.
- **Local test runs:** Run a contract with Polars or DuckDB and see failed rows and reasons.
- **ODCS export:** Export a contract as an Open Data Contract Standard document.

## Good for

- Lint a data contract and fix governance findings
- Generate test rows for a contract
- Find out why rows fail a quality rule
- Convert a contract to the ODCS format
- Learn how a section of a contract is written

## Install

### Claude Code (Terminal)

```sh
claude mcp add lakelogic-mcp -- uvx lakelogic-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "lakelogic-mcp": {
      "command": "uvx",
      "args": [
        "lakelogic-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lakelogic-mcp": {
      "command": "uvx",
      "args": [
        "lakelogic-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "lakelogic-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lakelogic-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "lakelogic-mcp": {
      "command": "uvx",
      "args": [
        "lakelogic-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "lakelogic-mcp": {
      "command": "uvx",
      "args": [
        "lakelogic-mcp"
      ]
    }
  }
}
```

## Tools

- `validate_contract`: Check a contract against the OLC model
- `lint_contract`: Run governance lint checks with fixes
- `explain_rule`: Explain a lint rule with a failing and a fixed contract
- `contract_reference`: Show how one part of a contract is written
- `export_odcs`: Export the contract as an ODCS document
- `generate_test_data`: Generate synthetic data including rule-breaking rows
- `run_contract`: Run a contract on a local file and report passing and failing rows

## FAQ

### Do I need a LakeLogic account?

No account is required.

### What does Lakelogic MCP need installed?

`uv` must be on your PATH; it is started with `uvx lakelogic-mcp`.

### Does Lakelogic MCP send telemetry?

The README says it sends none and opens no network connection itself.

### Can my data reach my AI provider?

Yes. Tool results go into the assistant's context, so use generated data for sensitive files.

### Which clients work?

Claude Code, Claude Desktop, Cursor, VS Code and other MCP clients.

### Is Lakelogic MCP free?

Yes. Lakelogic MCP is free to use.

### How do I add Lakelogic MCP to Claude Code?

Run this command in your terminal: claude mcp add lakelogic-mcp -- uvx lakelogic-mcp

### What are the best alternatives to Lakelogic MCP?

The closest alternatives to Lakelogic MCP are LLM Preflight, mcpls, Test Coverage MCP, odoo-lint and Logmcp.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [LLM Preflight](https://ai-powered.com/mcp/llm-preflight): LLM Preflight is an MCP server for ai models and llm tooling.
- [mcpls](https://ai-powered.com/mcp/mcpls): mcpls is an open-source MCP server for developer tools.
- [Test Coverage MCP](https://ai-powered.com/mcp/test-coverage-mcp): Test Coverage MCP is an open-source MCP server for developer tools.
- [odoo-lint](https://ai-powered.com/mcp/odoo-lint): odoo-lint is an open-source MCP server for developer tools.
- [Logmcp](https://ai-powered.com/mcp/logmcp): Logmcp is an open-source MCP server for developer tools.
- [Concord](https://ai-powered.com/mcp/concord): Concord is an open-source MCP server for knowledge and memory.
- [Tracelane MCP](https://ai-powered.com/mcp/tracelane-mcp): Tracelane MCP is a freemium MCP server for developer tools.
- [Localize](https://ai-powered.com/mcp/localize): Localize is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/lakelogic-mcp
