LeanProbe
Accelerates Lean 4 proof feedback for coding agents by reusing elaborated environments and keeping a Lean REPL warm.
LeanProbe is designed to dramatically speed up Lean 4 proof checking for automated coding agents and iterative development workflows. It acts as a Python package, CLI, and Model Context Protocol (MCP) server, leveraging LeanInteract to maintain a warm Lean REPL session. By intelligently reusing previously elaborated imports and declarations, it eliminates redundant compilation costs for sequential or repeated checks within the same file. This allows agents to quickly evaluate candidate declarations, inspect proof states, and refine proofs with real Lean responses, providing a significant performance advantage over full-file checks while complementing the broader capabilities of LSP-backed tools.