Skip to main content

Sagemath MCP Server

io.github.justice8096/sagemath-mcp-server

v1.0.1Updated May 18, 2026stdio · npm

MCP server wrapping SageMath's full computer algebra system — 10 symbolic-math tools for LLMs.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add sagemath-mcp-server -- npx -y @justice8096/[email protected]

Configuration

5 settings.

  • API_KEY
    Env var· optional· secret
    If set, HTTP transport requires matching API_KEY header. Ignored for stdio.
  • SAGE_TIMEOUT
    Env var· optional
    Per-call SageMath timeout in milliseconds. Default 30000.
  • SAGE_DOCKER_IMAGE
    Env var· optional
    Docker image used when SageMath is not installed locally. Default sagemath/sagemath:latest.
  • TRANSPORT
    Env var· optional
    Transport mode: 'stdio' (default) or 'http'.
  • PORT
    Env var· optional
    HTTP port when TRANSPORT=http. Default 3000.

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