Search Lean 4 declarations through the hosted LeanExplore MCP server.

version
0.1.0
GitHub stars
82

Install

/plugin install lean-explore@lean-explore

Run it inside Claude Code after adding the marketplace with /plugin marketplace add justincasher/lean-explore.

Contents

Discovered from source

Agents 1

LeanExplore plugin

Search Lean 4 declarations from Claude Code or Codex through LeanExplore's hosted public MCP server. There is no sign-in, browser authorization, or API key to create, copy, or store, and the plugin does not download the local search index.

The MCP endpoint is https://www.leanexplore.com/mcp.

Agents should use search_summary to find declarations, then retrieve only the fields they need. The older full-result search tool is deprecated and retained only for backwards compatibility.

All tools are read-only. They search or retrieve records from LeanExplore's indexed corpus and cannot modify Lean packages or external systems.

The hosted endpoint allows 30 POST requests per client IP in any 60-second window. MCP initialization and tool-discovery requests count toward the same limit, and clients sharing a public IP share the budget. Limited requests receive HTTP 429 with a Retry-After header.

The Codex marketplace schema requires an authentication timing policy, so the marketplace entry uses ON_INSTALL. This is lifecycle metadata only: the plugin declares no credentials, and the server sends no authentication challenge.

MCP servers 1

Sponsors

Details

Marketplace
justincasher/lean-explore
Source
plugins/lean-explore
Category
Community