# Lean LSP MCP

> Use this tool when you need to integrate AI agents with the Lean theorem prover, enabling analysis of Lean projects and access to diagnostics, goal states, and documentation. It solves problems related to theorem searching and verification, providing local and external search services for efficient proof development. Ideal for use cases requiring formal verification and automated reasoning, it accepts Lean project files as input and outputs diagnostics, goal states, and theorem search results.

Canonical page: https://skillsregistry.net/skills/ooo0ooo-lean-lsp-mcp  
JSON: https://api.skillsregistry.net/v1/skills/ooo0ooo-lean-lsp-mcp

## Description

Enables LLM agents to interact with the Lean theorem prover through the Language Server Protocol, providing tools for analyzing Lean projects, accessing diagnostics, goal states, documentation, and searching for theorems using both local and external search services.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-05-01

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/u1ouvd1up5)
- **Repository:** <https://github.com/oOo0oOo/lean-lsp-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "ooo0ooo-lean-lsp-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/ooo0ooo-lean-lsp-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/ooo0ooo-lean-lsp-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
