Skip to main content
Glama

lean_state_search

Read-onlyIdempotent

Find relevant lemmas to close proof goals in Lean files by searching premise-search.com based on specific file 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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoList of state search 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