Skip to main content
Glama

lean_local_search

Read-onlyIdempotent

Verify Lean theorem prover declarations exist locally before using them. Search project files to confirm lemma names and avoid errors.

Instructions

Fast local search to verify declarations exist. Use BEFORE trying a lemma name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesDeclaration name or prefix
limitNoMax matches
project_rootNoProject root (inferred if omitted)

Output Schema

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