MCP Server Studio

Mathlas MCP server

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

Registry name: io.github.Archerkattri/mathlas

Publisher
Archerkattri
Runs
Runs locally
Package
PyPI
Version
1.5.0
Category
AI & agents
Updated
2026-07-02

Source code on GitHub

Set up Mathlas (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp==1.5.0"
      ],
      "env": {
        "MATHLAS_SEED": "<MATHLAS_SEED>",
        "MATHLAS_INDEX": "<MATHLAS_INDEX>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mathlas -e MATHLAS_SEED='<MATHLAS_SEED>' -e MATHLAS_INDEX='<MATHLAS_INDEX>' -- uvx mathlas-mcp==1.5.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp==1.5.0"
      ],
      "env": {
        "MATHLAS_SEED": "<MATHLAS_SEED>",
        "MATHLAS_INDEX": "<MATHLAS_INDEX>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mathlas": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mathlas-mcp==1.5.0"
      ],
      "env": {
        "MATHLAS_SEED": "<MATHLAS_SEED>",
        "MATHLAS_INDEX": "<MATHLAS_INDEX>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mathlas": {
      "command": "uvx",
      "args": [
        "mathlas-mcp==1.5.0"
      ],
      "env": {
        "MATHLAS_SEED": "<MATHLAS_SEED>",
        "MATHLAS_INDEX": "<MATHLAS_INDEX>"
      }
    }
  }
}

Settings

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

More ai & agents MCP servers