Prover logo

Prover

Lean 4 MCP server for compiling Mathlib code and asynchronously proving theorems containing sorry.

Install Prover

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://prover.axiomatic-ai.com/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · 2h agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 2h ago · Dec 1, 2026, 01:45 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://prover.axiomatic-ai.com/mcp

Overview

The prover MCP server exposes Lean 4 compilation and theorem-proving tools through MCP. It submits jobs to a Mathlib-enabled sandbox and returns a job ID for asynchronous status polling. Reach for it when an agent needs to check Lean code or fill theorem proofs that contain `sorry`. Source code may be sent to external cloud services for compilation and AI proving.

Use cases

  • Compile Lean 4 source with Mathlib
  • Prove theorems containing `sorry`
  • Poll asynchronous proof jobs
  • Validate formalized mathematics

Key features

  • Lean 4 compilation
  • Mathlib-enabled sandbox
  • Automated theorem proving
  • Asynchronous job submission
  • Job status polling
  • GitHub OAuth 2.1 authentication

Tools3

What Prover lets your agent do. Expand a tool for its parameters.

Self-reported~95 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

26/32 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit9mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Tools exposed3Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Prover works

What prover does

The prover MCP server connects MCP clients to Lean 4 workflows with Mathlib. It supports two submitted operations: compiling Lean source and automatically attempting proofs for Lean theorems that contain sorry. A separate polling tool reports the state and result of submitted jobs.

This fits development tasks where an agent needs to validate formal mathematics, check whether Lean code compiles, or request generated proofs for unfinished theorem statements.

How it works

The prover MCP server uses a streamable HTTP endpoint at https://prover.axiomatic-ai.com/mcp/. An MCP client sends source code to one of the submit tools. Each submit operation runs asynchronously and immediately returns a job_id instead of waiting for compilation or proving to finish.

Use lean4_get_job_status with that identifier to check progress and retrieve the result. Continue polling until the job reaches either completed or failed. Compilation takes place in a Mathlib-enabled sandbox. For proving requests, the code is also sent to external services for AI processing.

Authentication uses OAuth 2.1 through GitHub.

Setup and configuration

Add the remote MCP server to an MCP client configuration. The documented example uses Claude Desktop and assigns the server the name ax-prover:

config.json
{
  "mcpServers": {
    "ax-prover": {
      "type": "streamable-http",
      "url": "https://prover.axiomatic-ai.com/mcp/"
    }
  }
}

After connecting, complete the GitHub OAuth flow presented by the client.

Tools and capabilities

  • lean4_build compiles Lean 4 source code in a Mathlib-enabled sandbox. The source may be sent to external cloud services for compilation and, where applicable, AI processing.
  • lean4_prove_theorems attempts to automatically prove Lean 4 theorems containing sorry. Compilation and AI proving use external cloud services.
  • lean4_get_job_status polls an ax-prover job and returns its current status and result.

The first two tools are asynchronous submission operations. Their returned job IDs are required for later polling.

Limitations and notes

Do not assume that source code stays local: the documented tools send code to external cloud services, and proving requests may involve AI processing. The README specifically demonstrates Claude Desktop; compatibility details for other MCP clients are not documented there.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Prover

prover is an MCP server that connects MCP clients to Lean 4 and Mathlib through a remote streamable HTTP service. Its main tools compile Lean source, attempt proofs for theorems containing `sorry`, and poll asynchronous job status. GitHub OAuth 2.1 handles authentication through the client.

Add its streamable HTTP URL to your MCP client configuration; no local installation is documented. Use `https://prover.axiomatic-ai.com/mcp/`, then complete the GitHub OAuth 2.1 flow when the client prompts you.

Call `lean4_get_job_status` with the `job_id` returned by `lean4_build` or `lean4_prove_theorems`. Poll until the job status is `completed` or `failed`, then read the returned result.

The README gives Claude Desktop as an example MCP client and describes a standard streamable HTTP connection, but it does not confirm Cursor-specific setup or compatibility.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewProver AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/prover?style=directory)](https://allmcps.com/mcp/prover)
HTML Embed
<a href="https://allmcps.com/mcp/prover"><img src="https://allmcps.com/api/badge/prover?style=directory" alt="Prover on AllMCPs" /></a>