Skip to content
MCP server

Mathlas

Airtight math for AI agents: 3.68M-doc theorem search + numeric/Lean verification. No…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.5.0
Listing updated
5 days ago

About Mathlas

Mathlas is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Airtight math for AI agents: 3.68M-doc theorem search + numeric/Lean verification. No LLM, no key.

Install

Run in a terminal

claude mcp add mathlas -- uvx mathlas-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mathlas": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mathlas-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MATHLAS_SEEDSet to 1 to force the lightweight built-in seed corpus and never load the multi-GB prebuilt index (fast cold start).
  • MATHLAS_INDEXPath to a prebuilt index .npz to serve for search_existing_math (optional; the seed corpus is used when absent).

Pricing

Open source

Mathlas FAQ

Is Mathlas free?

Yes. Mathlas is open source, so you can use and self-host it for free.

How do I add Mathlas to Claude Code?

Run this command in your terminal: claude mcp add mathlas -- uvx mathlas-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers