Skip to main content
Glama

lean_run_code

Execute Lean code snippets with required imports to obtain diagnostic feedback and verify theorem correctness.

Instructions

Run a code snippet and return diagnostics. Must include all imports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesSelf-contained Lean code with imports

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oOo0oOo/lean-lsp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server