Skip to main content
Glama

lean_state_search

Find relevant lemmas to close goals in Lean theorem prover files by searching premise-search.com for mathematical proofs at specific positions.

Instructions

Limit: 3req/30s. Find lemmas to close the goal at a position. Searches premise-search.com.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to Lean file
lineYesLine number (1-indexed)
columnYesColumn number (1-indexed)
num_resultsNoMax results

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