Lean Directory

● Active

io.github.kaylum54/lean-directory

Lean 4 verification registry and live Solana mint, program and transaction checks.

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "lean-directory": {
      "command": "npx",
      "args": [
        "-y",
        "lean-solana@0.4.1",
        "mcp"
      ],
      "env": {
        "SOLANA_RPC_URL": "<your SOLANA_RPC_URL>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --env SOLANA_RPC_URL='<your SOLANA_RPC_URL>' --transport stdio lean-directory -- npx -y lean-solana@0.4.1 mcp
OpenAI Codex CLI
codex mcp add lean-directory --env SOLANA_RPC_URL='<your SOLANA_RPC_URL>' -- npx -y lean-solana@0.4.1 mcp
VS Code
code --add-mcp '{"name":"lean-directory","type":"stdio","command":"npx","args":["-y","lean-solana@0.4.1","mcp"],"env":{"SOLANA_RPC_URL":"<your SOLANA_RPC_URL>"}}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

Environment variables
  • SOLANA_RPC_URLsecretOptional Solana RPC URL for check_mint and check_program. Defaults to the public endpoint.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Files & Storage
Version
0.4.1
Registry
active
Published
Dec 4, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 5, 2026

Looks healthy: Lean Directory is maintained, open source, hosted endpoint answering without a key.

Maintained
Active
Last commit today (Dec 4, 2026), 0 open issues.
Official registry
Active
Published as io.github.kaylum54/lean-directory in the official MCP registry, version 0.4.1.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
Local package or hosted
Ships as a local package (npm) that runs on your machine, and as a hosted endpoint at lean.directory that receives what your client sends it.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Dec 5, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

A

Grade A · Production-ready

Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.

  • Recent commits+30/30

    Last commit today.

  • Open licence+15/15

    MIT on GitHub.

  • Documentation+15/15

    The repository ships a README.

  • Adoption0/20

    0 GitHub stars.

  • Registry status+12/12

    Active in the official MCP registry.

  • Product surface+8/8

    Has a homepage or a published package/endpoint.

Own this server? Add the grade badge — it links back here

<a href="https://serverdex.io/server/io-github-kaylum54-lean-directory?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-kaylum54-lean-directory/report-badge.svg" alt="Lean Directory — Serverdex Report Card A" height="22"></a>

Compare every server's grade on best-maintained MCP servers.

Live check

checked Dec 5, 2026, 06:07 UTCStatus history & uptime →
● Working157 msprotocol 2025-06-18v0.1.0tools

The endpoint answered the MCP handshake as "Lean Directory" and listed 8 tools. Answering since Dec 5, 2026.

Context cost ≈ 1.8k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 8 tools.

Tools (8)

  • search_tools3 params

    Search the Lean Directory registry of Lean 4 libraries for Solana by text, tier or category. Core entries were built and kernel-checked by this registry's CI; ecosystem entries are indexed from GitHub and were not built here.

    Show parameters
    • querystringMatched against slug, package name and summary.
    • tierstring
    • categorystring
  • get_tool1 param

    Return the full registry manifest for one tool (install snippets, Lean toolchain, changelog, verification receipt). Core entries were built and kernel-checked by this registry's CI; ecosystem entries are indexed from GitHub and were not built here.

    Show parameters
    • slugstringrequired
  • verify_tool1 param

    Return the verification receipt for a core tool: lake build exit code, theorem and sorry counts, and the axioms #print axioms reported. It reports the last registry build and rebuilds nothing now; ecosystem tools have no receipt.

    Show parameters
    • slugstringrequired
  • init_project2 params

    Return the files of a Lean 4 starter project that depends on Lean Directory core libraries; nothing is written to disk. Lake dependencies are pinned to a release tag and the lockfile records each library's source hash, but lake build does not check those hashes, and only running lake build on your machine has the kernel check the code.

    Show parameters
    • templatestring
    • projectNamestring
  • diff_tool3 params

    Summarise the releases between two versions of a registry tool, flagging breaking changes and migration notes. It reads the changelog recorded in the manifest and does not inspect unindexed commits.

    Show parameters
    • slugstringrequired
    • fromstring
    • tostring
  • check_mint3 params

    Read a mint over Solana RPC and report its authorities, supply, Token-2022 extension scan, fee config and risk flags (no overall pass or fail). RPC data is trusted at the reported slot and a JS mirror computed the facts; the Lean kernel checked the MintProof predicates on the modeled layouts, not this mint, unless you compile the includeLean certificate.

    Show parameters
    • addressstringrequired
    • feeConfigstring
    • includeLeanboolean
  • check_program1 param

    Report a deployed program's status: CI-reproduced Lean proof attestation, our hash of the live bytecode, upgrade authority, and OtterSec verified-build status as supporting information. It trusts the RPC node's ProgramData and OtterSec's build service, and only a CI-reproduced attestation that matches the live deployment raises the status.

    Show parameters
    • programIdstringrequired
  • check_transaction8 params

    Decode a serialized Solana transaction (legacy or v0) and check its top-level instructions against a policy: lamport outflow cap, rent floor, program allowlist, authority changes, upgrades, approvals and durable nonces. CPI inner instructions are not simulated and address lookup tables are never fetched over RPC (pass them in addressLookupTables), so prefer the local stdio server for transactions you have not signed.

    Show parameters
    • transactionstringrequired
    • encodingstring
    • signerstring
    • signerBalanceLamportsstring | integer
    • trackedAccountsarray
    • addressLookupTablesobject
    • debitBoundsobjectUpper bound in lamports per top-level instruction index, for debits that depend on account state (close, sweep, merge, payer rent).
    • policyobjectOverrides of the default firewall policy; omitted fields keep their defaults.

Checked by Serverdex with a plain initialize + tools/list call to lean.directory/mcp, no credentials, about once a day. A failed check is never a removal.

What this server can touch

Across the fleet →

No tool name matched a sensitive-capability keyword across its 8 tools. That is a name-level signal only — it does not confirm what the tools do, so read their descriptions before use.

On GitHub

read Dec 5, 2026
Stars
0
Forks
0
Last push
Dec 4, 2026
License
MIT

JavaScriptapiformal-verificationlean4solanatheorem-proving

From the README

Lean Directory The permissionless API for Lean on Solana. Lean Directory lists Lean 4 formal-verification tools for Solana and serves them as JSON at lean.directory. Seven core libraries live in this repository and are built and kernel-checked on every commit. Other Lean projects for Solana are indexed from GitHub. The same API runs live checks on mints, deployed programs and unsigned transactions, and an MCP server exposes all of it to agents. No API key, no sign-up. Anyone can add a tool with a pull request: see Add a tool. Lean Directory is independent and not affiliated with the Lean FRO or the Solana Foundation. Quick start lake build needs Lean 4 through elan. The project pins its own toolchain. Tools There are 0 attested programs today. registry/programs.index.json lists every submitted program: an entry with a CI record has ciReproduced: true, and a submission CI has not reproduced (record: null) is listed with ciReproduced: false and never raises a status. Only ciReproduced: true entries count toward stats.attestedPrograms. To submit one, see registry/CONTRIBUTING-PROGRAM.md. API (CORS-open) Base URL https://lean.directory. Defined in apps/workbench/src/worker.mjs. The site also serves GET /api/health, GET /api/packages, the legacy GET /api/inspect?mint= (same handler as /v1/mint) and four POST /api/* demo routes. Request bodies are capped as they stream: 64 KB for API routes and 128 KB for /mcp.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://lean.directory/mcp

The most-starred Files & Storage servers in the index, with their live-check result.

ServerStarsLast pushLive check
Z-Library5,137Dec 2026Local / not checked
butterbase-ai MCP3,034Nov 2026Needs sign-in
ProxmoxMCP-Plus668Nov 2026Local / not checked
Directory185Aug 2026Working
Unraid RMCP157Nov 2026Local / not checked

Lean Directory: questions people ask

Is Lean Directory a remote or a local MCP server?
According to its entry in the official MCP registry, Lean Directory ships as a hosted endpoint (streamable-http) that your client connects to by URL and as a local package (npm) that your client starts on your machine. Use the hosted endpoint when your client supports Streamable HTTP; use the package when you want it to run locally.
Does Lean Directory need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Dec 5, 2026. Individual tools may still ask for a key when called.
Is Lean Directory safe to use?
Looks healthy: Lean Directory is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Local package or hosted; credentials: None needed to connect. Serverdex check of Dec 5, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Lean Directory still maintained?
Active: the repository's last commit today. Last push Dec 4, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Dec 5, 2026.
What tools does Lean Directory expose?
8 tools as listed by the server itself during the live check, including search_tools, get_tool, verify_tool, init_project, diff_tool. The full list with parameters is in the Live check section above.
How do I add Lean Directory to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Files & Storage →

Add the badge to your site

Show visitors that Lean Directory is listed here — it’s also the link we check for a free listing.

Lean Directory — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-kaylum54-lean-directory?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Lean Directory — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Lean Directory — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-kaylum54-lean-directory?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-kaylum54-lean-directory) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-kaylum54-lean-directory) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-kaylum54-lean-directory)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-kaylum54-lean-directory"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-kaylum54-lean-directory"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-kaylum54-lean-directory"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).