Prover MCP Server

Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.

Local serverstdio

What is the Prover MCP server?

Most developer tooling work still happens through a UI a human drives. Prover MCP server moves it into the conversation instead. Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.

The short version

Add to your MCP client (e.g. Claude Desktop claude_desktop_config.json):

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

The tools it exposes

The server publishes 1 tool. What each one is for:

  • Poll — All submit tools are asynchronous — they return a job_id immediately. Poll with lean4_get_job_status(job_id) until status is completed or failed

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Prover's toolset — Poll — is a fair guide to whether it matches your workflow. It is maintained by com.axiomatic-ai; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
PollAll submit tools are asynchronous — they return a job_id immediately. Poll with lean4_get_job_status(job_id) until status is completed or failed.

How to install the Prover MCP server

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

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Prover to Poll.

Frequently asked questions

It connects Prover to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Poll) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Prover directly.