Skip to main content

SageMath

io.github.XBP-Europe/sagemath-mcp

v0.11.0Updated Nov 24, 2026stdio · Dockerstdio · PyPI

Stateful SageMath MCP server with 40 tools and a sandboxed Sage session per client.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add sagemath-mcp -- uvx sagemath-mcp==0.11.0

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

3 settings.

  • --python
    Argument· optional
    The Python the passagemath extra is tested on, and the newest every one of its dependencies has wheels for. Without it uv picks its own newest Python, where some must be compiled and the install fails on a machine with no C compiler.
  • --from
    Argument· optional
    Installs the passagemath extra, which brings the Sage runtime (about 1 GB, downloaded on first launch). Without it the server starts but every evaluation fails for want of a Sage to drive.
  • --transport
    Argument· optional
    The image serves streamable HTTP by default; a client that runs it with docker run -i speaks stdio.

Listed in the official MCP Registry since Nov 24, 2026. Mirrored daily; last checked Nov 26, 2026.