Skip to content

Claude Code + lean-lsp-mcp integration (default Claude provider)#170

Open
alok wants to merge 5 commits into
mainfrom
mcp
Open

Claude Code + lean-lsp-mcp integration (default Claude provider)#170
alok wants to merge 5 commits into
mainfrom
mcp

Conversation

@alok
Copy link
Copy Markdown
Contributor

@alok alok commented Sep 9, 2025

This PR:

  • Switches default Claude provider to Claude Code SDK (model claude-opus-4-1) and wires lean-lsp-mcp via MCP.
  • Adds persistent MCP helper (vericoding/lean/mcp_helpers.py).
  • Extends CLI with --use-mcp, --tool-calling, --reasoning-effort, --lake-build-target.
  • Fixes determine_input_type local variable bug.
  • Changes Lean verification to lake env lean {file} so single-file checks work.
  • Adds a tiny Lean sample: benchmarks/lean/dafnybench/Sample/SampleTheorem.lean.
  • Adds continuous runner: scripts/run_claude_code_loop.sh.

Notes:

  • Requires ANTHROPIC_API_KEY and @anthropic-ai/claude-code CLI installed.
  • MCP server launched as lake env uvx lean-lsp-mcp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant