Skip to main content
Glama
AXLE MCP Server

AXLE MCP Server

Official
by AxiomMath

AXLE MCP Server

A Model Context Protocol server for Axiom Lean Engine — exposes Lean verification and manipulation tools to AI agents.

Installation

  1. Create a free API key: https://axle.axiommath.ai/app/console.

  2. Connect your client:

Claude (web, desktop, mobile)

  1. Open Customize → Connectors → Add → Add custom connector.

  2. Name: Axle. Remote MCP server URL: https://mcp.axiommath.ai/mcp. Click Add.

  3. Click Add again to accept the default client settings.

  4. Click Connect and paste your API key on the sign-in page.

  5. In a chat, open the + menu → Connectors and switch Axle on.

ChatGPT

Needs a paid plan and Developer mode (Settings → Security and login).

  1. Open ChatGPT Plugins → +.

  2. Name: Axle. MCP server URL: https://mcp.axiommath.ai/mcp. Authentication: OAuth.

  3. Create it and paste your API key on the sign-in page.

  4. In a chat, add Axle from the + → Developer mode menu.

Claude Code

claude mcp add --transport http axle https://mcp.axiommath.ai/mcp

Then run /mcp and paste your API key on the page that opens. To skip the browser, pass the key directly:

claude mcp add --transport http axle https://mcp.axiommath.ai/mcp \
  --header "Authorization: Bearer your_api_key_here"

Other MCP clients (Cursor, Windsurf, VS Code, Cline, ...)

{
  "mcpServers": {
    "axle": {
      "type": "http",
      "url": "https://mcp.axiommath.ai/mcp",
      "headers": {
        "Authorization": "Bearer your_api_key_here"
      }
    }
  }
}

To run the server locally instead (enables file_uri, which reads Lean files from disk):

{
  "mcpServers": {
    "axle": {
      "command": "uvx",
      "args": ["--from", "axiom-axle-mcp", "axle-mcp-server"],
      "env": {
        "AXLE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Related MCP server: Lean LSP MCP

Tools

Most tools are generated from the AXLE API's /v1/endpoints — verify_proof, check, merge, sorry2lemma and friends. Alongside them the server provides:

Tool

Purpose

read_docs

Read the AXLE documentation. Call with no arguments for the page index, then page="verify_proof" for one page.

list_environments

List the available Lean environments.

share_url

Turn a prior call's request_id into a permanent shareable webapp URL.

read_share_url

Read back the inputs and result behind a share URL.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables LLM agents to interact with the Lean theorem prover through the Language Server Protocol, providing tools for analyzing Lean projects, accessing diagnostics, goal states, documentation, and searching for theorems using both local and external search services.
      22
      148,993 PyPI
      566
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Integrates the AXLE (Axiom Lean Engine) CLI with AI assistants to provide comprehensive tools for Lean 4 proof engineering. It enables users to validate, repair, and transform Lean theorems through a remote API without requiring a local Lean installation.
      2
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents to perform Lean 4 formal verification, navigate project symbols offline, and inspect C FFI bindings.
      5
      4
      Apache 2.0