Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

lake-gate

by getlakeversion 0.2.3i★ 0iRuns on your computer
Registry nameio.github.getlake/lake-gate

How to install

What it does

Plan review for coding agents: request review, wait for a version-bound approval, revise.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

by morluto★ 461,7511 skills

Skill · How-to guide

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

by Graphify-Labs★ 148,3521 skills

Skill · How-to guide

archify

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

by tt-a1i★ 96,7571 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 16, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server lake-gate for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "lake-gate": { "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the lake-gate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "lake-gate": {
          "command": "npx",
          "args": [
            "-y",
            "lake-gate",
            "mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use lake-gate and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using lake-gate or shows a lake-gate tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect lake-gate yet

lake-gate runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect lake-gate

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server lake-gate for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user lake-gate -- npx -y lake-gate mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the lake-gate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user lake-gate -- npx -y lake-gate mcp
  4. Type /mcp in Claude Code

    You should see lake-gate listed as connected

  5. Try it

    Use lake-gate and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using lake-gate or shows a lake-gate tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server lake-gate for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "lake-gate": { "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the lake-gate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use lake-gate and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using lake-gate or shows a lake-gate tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server lake-gate for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "lake-gate": { "type": "stdio", "command": "npx", "args": [ "-y", "lake-gate", "mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the lake-gate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use lake-gate and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using lake-gate or shows a lake-gate tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use lake-gate💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user lake-gate -- npx -y lake-gate mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "lake-gate": {
      "command": "npx",
      "args": [
        "-y",
        "lake-gate",
        "mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "lake-gate": {
      "command": "npx",
      "args": [
        "-y",
        "lake-gate",
        "mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "lake-gate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lake-gate",
        "mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
–
Connection
Runs on your computer
Latest versioni
0.2.3
Published to registryi
Nov 16, 2026
Code last changedi
Nov 16, 2026
Maker
getlake
Packages
npm: lake-gate
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 16, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account getlake, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/getlake-lake-gate.svg)](https://mcp.popnx.com/en/servers/getlake-lake-gate)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 0% of the other 5964 servers in this category
  • Published to the registry more recently than 99% of the other 5964 servers in this category
  • Basic checks equal to or better than 100% of the other 5964 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is lake-gate safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (0.2.3) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

by ahmedkhaleel2004Widely used★ 18.9KUpdated 2 months ago

Runs in the cloud✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

by AppllamaWidely used★ 5.2KUpdated 3 months ago

Runs in the cloud✓ service owner · appllama.io

Cloudflare MCP

Cloudflare MCP servers

by cloudflareWidely used★ 4.5KUpdated 14 months ago

Runs in the cloud✓ service owner · mcp.cloudflare.comTried by the PopNx team

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

by omnara-aiWidely used★ 3.4KUpdated 2 months ago

Runs in the cloud✓ service owner · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

by repowise-devWidely used↓ 6.5K/wk★ 8.1K Stars for the whole repoUpdated 3 days ago

Computer or cloud✓ service owner · repowise.dev
Compared with similar ones
This one
lake-gate
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseMITMITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

lake-gate

Your agent writes the plan. A teammate approves that exact version. Then the agent builds.

lake-gate is a small, free, open-source plan gate for teams using Claude Code and Cursor (other agents work through the CLI). It runs in your repo and on GitHub. There is no Lake server, no account and no telemetry.

  • Plan export. When Claude Code leaves plan mode, the plan is saved to .lake/plans/ .md with a complexity rating, a recommended model per step and a cost range.
  • Version-bound approval. A teammate approves on the PR with /lake approve @ . Edit one word of the plan and the approval no longer applies.
  • Local gate. A Claude Code PreToolUse hook denies file edits and non-read-only shell commands until the active plan's current version is approved. Reading and exploring stay free.
  • PR check. A GitHub Action sets the lake/plan-approval status. Make it required and unapproved plans can't merge.
  • Review app. Rendered plans, comments on exact lines, review rounds per plan version with a diff between them, verdicts and an activity timeline. Approve or request changes in one click. Run it locally with npx lake-gate ui, or use the hosted static app (it talks to the GitHub API straight from your browser). Live demo with a made-up team.
  • Approve from where you already are. The Lake review app, GitHub's own Approve button, or your agent chat (MCP server for Claude Code and Cursor). They all write to the same place, the PR, so there is one source of truth.
  • Model and cost per step. Every plan shows which model runs each step and what that costs, with the same estimator and price table as lake-meter. Declare the model in the plan (Model: Opus 5.5, or (model: haiku) on a step). Reviewers suggest a cheaper model, a dropped step or a cap, and the author accepts it in one click, which saves a new plan version.
  • Budget approval (optional). Above budget.approverAbove dollars, one of budget.approvers (GitHub logins) must also approve that exact version. It shows in the app, the PR check and the MCP tools.
  • Small plans pass on their own. Tiny, low-complexity plans with a small diff (150 changed lines by default) are auto-approved, and quick fixes without a plan aren't gated at all. Once any version of a plan needed a human, shrinking it doesn't earn an auto pass, and the agent can't edit files in .lake/ directly. Set autoApprove.mode to shadow or off to be stricter.

Install (about 10 minutes)

cd your-repo

npx lake-gate init # writes .lake/, the Claude Code hook, the GitHub workflow, and MCP config for Claude Code + Cursor npm i -D lake-gate # optional for JS repos: faster hook than npx git add .lake .claude .github .mcp.json .cursor && git commit -m "Add lake-gate" && git push npx lake-gate ui # the review app on localhost

Trying it alone first? npx lake-gate init --try sets up a local-only trial where you can approve your own plans with npx lake-gate approve. Nothing is posted anywhere.

Then in GitHub: Settings → Branches → branch protection → Require status checks → `lake/plan-approval` (the check appears after the first PR runs).

Requirements: Node 18.17+, git, a GitHub repo. macOS/Linux shells for the hook (Windows: use WSL for now).

PRs opened by an agent or bot with the workflow's `GITHUB_TOKEN` don't trigger other workflows, and GitHub may hold the Lake run as "Approval required" until a maintainer approves it, so lake/plan-approval doesn't appear. Open agent PRs with a personal token or a GitHub App token, or push one commit as a human.

The flow

  1. Plan. In Claude Code, use plan mode as usual. When the plan is accepted, the hook saves it to .lake/plans/add-webhook-retries.md and tells you its version and estimate. In Cursor, ask the agent to call lake_request_review. Any other agent: save the plan as markdown and run npx lake-gate plan plan.md.
  2. Open a PR with the plan first (a draft PR is fine). The Action posts one summary comment with the exact approve line.
  3. A teammate approves with a PR comment or review: /lake approve add-webhook-retries@86eab4d0. The PR author and bots can't approve. Read-only users can't approve.
  4. Sync and build. npx lake-gate sync pulls approvals into your local checkout (uses GITHUB_TOKEN or gh auth token). The agent can now edit. The code lands in the same PR and the check is green.
  5. Plan changes? Edit the plan file. The version changes, the gate closes again and the PR check turns red until someone approves the new version.

Commands on the PR, one per line:

CommentEffect
/lake approve @ Approve this exact version
/lake reject @ Request changes. Blocks until the same person approves
/lake revoke Withdraw your approval

Reviewing: the app, GitHub, and your agent

Everything is stored on the PR as normal comments and reviews. There's no database and nothing new to host. The review app, the Action, lake-gate sync and the MCP server all read the same comments.

Review app. npx lake-gate ui opens http://127.0.0.1:4848. It uses your gh login (or GITHUB_TOKEN) through a small local proxy: the token never reaches the page, the proxy only talks to this repo, and it only writes PR comments. It also shows plans you haven't pushed yet, as drafts, with their local history. The hosted copy at getlake.github.io/lake-gate/app/ is the same static app. It asks for a fine-grained token (Pull requests: read & write, Contents: read) and keeps it in your browser.

  • Select text in a plan, or click a line, to comment on it (c). Threads reply and resolve.
  • Each pushed version of the plan is a round. Comments stay attached to the round they were made on, and move forward to the current text when the quoted line still exists.
  • Changes shows the diff between any two rounds. Activity is the timeline: who commented, approved or requested changes, on which version, and from where.
  • a approve, r request changes, j/k next/previous thread, ? for all shortcuts.

GitHub. Two ways, both counted by the same policy:

  1. GitHub's native review. Approve or Request changes on the PR with GitHub's own buttons. It counts for the plan version at the reviewed commit (turn it off with nativeReviews: false). Line comments on the plan file show up as threads in the app.
  2. Buttons in the summary comment. *Approve*, *Request changes* and *Open review* open the review app on the right plan with the approve sheet ready (reviewUrl, default: the hosted app).

The typed /lake approve @ line still works everywhere.

Your agent (MCP). init registers npx -y lake-gate@0 mcp in .mcp.json (Claude Code) and .cursor/mcp.json (Cursor). Tools:

ToolWhat it does
lake_request_reviewSave the plan (with model and cost), optionally commit and push only the plan file, and return the review link
lake_review_statusStatus, verdicts, open threads with line numbers, reviewer suggestions, budget approval, and the model/cost view with Lake's suggestions. Works before a PR exists. wait_seconds (up to 240) waits for new feedback
lake_submit_revisionSave a revised plan and resolve the threads it addresses (in Lake; GitHub's own review threads stay open until someone resolves them there). Or apply a suggestion in one step: thread_id, suggestion_id or model
lake_reviewFor reviewers: approve, request_changes, comment (on lines), reply, or suggest a cheaper model or a cap. Approvals need the exact version and say "via Claude Code (MCP)"

The PR author can't approve their own plan from any surface. An approval from an agent chat is posted under the human's GitHub account, so only use it when that person asked for it.

How it's stored. Comments from the app and the MCP server are PR comments with a small hidden marker, for example . Verdicts are the usual /lake approve|reject lines, so older versions of lake-gate and humans read them the same way.

What the estimate looks like

Planned model Opus 5.5: $2.53–$9.69 · Lake mix (cheapest model that fits each step): $2.31–$8.93

| # | Step | Complexity | Planned | Recommended | Est. cost | | 1 | Bounded retry queue with backoff | medium | Opus 5.5 | Sonnet 5.5 | $0.38–$1.28 | | 2 | Database migration: retry_count column | high | Opus 5.5 | Opus 5.5 | $2.10–$8.22 | | 3 | Fix typo in README | low | Opus 5.5 | Haiku 5.5 | $0.046–$0.18|

It's a rough heuristic, the same one lake-meter uses: complexity from keywords, token bands per level, public API list prices. It isn't a quote. On a subscription plan you spend quota, not these dollars. Override prices with catalog in .lake/config.json.

CLI

lake-gate init [--try] [--force]        set up the repo (--try: local-only trial, self-approval allowed)

lake-gate approve [id] approve your own plan (trial mode only) lake-gate uninstall remove the hook, MCP entries and workflow (keeps .lake/) lake-gate plan [--id name] save a plan with an estimate and make it active lake-gate estimate print the estimate only lake-gate status plans, versions, approval state lake-gate sync [--pr N] pull approvals from the PR lake-gate check [--plan id] exit 0 only if the active plan's current version is approved lake-gate use switch the active plan (the hook blocks agents from doing this) lake-gate ui [--port 4848] [--no-open] the review app on localhost lake-gate mcp MCP server (stdio) for Claude Code / Cursor lake-gate hook claude the Claude Code PreToolUse hook (stdin JSON)

check is the pre-run gate for anything that isn't Claude Code, e.g. npx lake-gate check && codex exec "implement .lake/plans/x.md".

Configuration: .lake/config.json

KeyDefaultMeaning
requiredApprovals1Distinct non-author approvals needed
allowedAssociationsOWNER, MEMBER, COLLABORATORWho may approve
ignoreLogins[]Logins that never count (e.g. a shared agent account)
requirePlan"warn"PR changes code without a plan: off, warn, fail
localGate"block"Hook behaviour: block (deny), ask (Claude Code prompts you), off
readOnlyBashgit status/log/diff, ls, cat, rg...Bash commands allowed before approval (regexes; chained commands are not)
autoApprove{mode:"on", maxUsd:1.5, maxSteps:3, maxComplexity:"low", maxCodeLines:150}Tiny plans with a small diff pass without a human. off, shadow (only report), or on
budget{approverAbove:null, approvers:[]}Above this many dollars (upper estimate of the planned model), one of approvers must also approve. Use GitHub logins, e.g. ["alice","bob"]. @org/team needs a token with read:org, which the default Action token doesn't have. When a team can't be read, the summary says so and repo admins can approve instead
gateWithoutPlanfalsetrue blocks edits even when there's no plan
provider, cataloganthropic, lake-meter pricesSame shape as lake-meter's price catalog
nativeReviewstrueGitHub's own Approve / Request changes count for the plan version at the reviewed commit
reviewUrlhosted review appWhere the summary comment's buttons point. "" hides them

The PR check reads the config from the **current head of the base

Only the beginning is shown; read the rest in the repo