Lean 4 verification registry and live Solana mint, program and transaction checks.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http lean-directory https://lean.directory/mcp
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.
| Argument | Type | Description |
|---|---|---|
| address* | string | |
| feeConfig | string | |
| includeLean | boolean |
{
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"feeConfig": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"includeLean": {
"type": "boolean"
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| programId* | string |
{
"type": "object",
"required": [
"programId"
],
"properties": {
"programId": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| policy | object | Overrides of the default firewall policy; omitted fields keep their defaults. |
| signer | string | |
| encoding | string | |
| transaction* | string | |
| trackedAccounts | array | |
| addressLookupTables | object | |
| signerBalanceLamports | string | integer |
{
"type": "object",
"required": [
"transaction"
],
"properties": {
"policy": {
"type": "object",
"required": [],
"properties": {
"allowedPrograms": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"maxItems": 64
},
"blockTokenBurns": {
"type": "boolean"
},
"enforceAllowlist": {
"type": "boolean"
},
"blockCloseAccount": {
"type": "boolean"
},
"blockAuthorityInit": {
"type": "boolean"
},
"blockUnresolvedAlt": {
"type": "boolean"
},
"blockNonceWithAdmin": {
"type": "boolean",
"const": true
},
"blockTokenApprovals": {
"type": "boolean"
},
"blockProgramUpgrades": {
"type": "boolean"
},
"minRentFloorLamports": {
"type": [
"string",
"integer"
],
"maximum": 9007199254740991,
"minimum": 0,
"pattern": "^[0-9]{1,20}$",
"maxLength": 20
},
"blockAuthorityChanges": {
"type": "boolean"
},
"maxTotalOutflowLamports": {
"type": [
"string",
"integer"
],
"maximum": 9007199254740991,
"minimum": 0,
"pattern": "^[0-9]{1,20}$",
"maxLength": 20
},
"blockUnknownDiscriminants": {
"type": "boolean",
"const": true
}
},
"description": "Overrides of the default firewall policy; omitted fields keep their defaults.",
"additionalProperties": false
},
"signer": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"encoding": {
"enum": [
"base64",
"base58",
"hex"
],
"type": "string"
},
"transaction": {
"type": "string",
"maxLength": 4096,
"minLength": 1
},
"trackedAccounts": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"maxItems": 16
},
"addressLookupTables": {
"type": "object",
"maxProperties": 16,
"propertyNames": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"maxLength": 44
},
"maxItems": 256
}
},
"signerBalanceLamports": {
"type": [
"string",
"integer"
],
"maximum": 9007199254740991,
"minimum": 0,
"pattern": "^[0-9]{1,20}$",
"maxLength": 20
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| to | string | |
| from | string | |
| slug* | string |
{
"type": "object",
"required": [
"slug"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[A-Za-z0-9._-]{1,32}$",
"maxLength": 32
},
"from": {
"type": "string",
"pattern": "^[A-Za-z0-9._-]{1,32}$",
"maxLength": 32
},
"slug": {
"type": "string",
"pattern": "^[a-z0-9-]{1,64}$",
"maxLength": 64
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| slug* | string |
{
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9-]{1,64}$",
"maxLength": 64
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| template | string | |
| projectName | string |
{
"type": "object",
"required": [],
"properties": {
"template": {
"enum": [
"svm-model",
"borsh-lean",
"mint-proof",
"vault-specs",
"agent-guard",
"share-math",
"amm-math",
"full"
],
"type": "string"
},
"projectName": {
"type": "string",
"pattern": "^[A-Za-z0-9._-]{1,64}$",
"maxLength": 64
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| tier | string | |
| query | string | Matched against slug, package name and summary. |
| category | string |
{
"type": "object",
"required": [],
"properties": {
"tier": {
"enum": [
"core",
"ecosystem",
"community"
],
"type": "string"
},
"query": {
"type": "string",
"maxLength": 100,
"description": "Matched against slug, package name and summary."
},
"category": {
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false
}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.
| Argument | Type | Description |
|---|---|---|
| slug* | string |
{
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9-]{1,64}$",
"maxLength": 64
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.