justincasher/lean-explore

A search engine for Lean 4 declarations

57
/ 100
Established

Supports both remote API and local search backends with on-device embedding/reranking models, enabling offline declaration discovery across major Lean 4 projects (Mathlib, Batteries, FLT, etc.). Exposes search functionality via an MCP server architecture, allowing integration with compatible tools and editors. The local backend eliminates heavy ML dependency requirements from the base package while maintaining full indexing across nine core Lean ecosystem libraries.

Available on PyPI.

Maintenance 13 / 25
Adoption 8 / 25
Maturity 18 / 25
Community 18 / 25

How are scores calculated?

Stars

55

Forks

14

Language

Python

License

Apache-2.0

Last pushed

Mar 09, 2026

Commits (30d)

0

Dependencies

19

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/justincasher/lean-explore"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.