Sage Math MCP Server

A Model Context Protocol server that gives an LLM a sandboxed mathematical subset of SageMath - symbolic calculus, number theory, linear algebra, ODEs, plotting, combinatorics, graphs, groups, elliptic curves, and more. Each MCP session gets a dedicated Sage worker process, so variables, functions, and assumptions persist across tool calls. It ships 40 MCP tools, one of which - verify_claim - re-checks a

People who work with cas, computer algebra and fastmcp and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-18 · ★ 15 · #141 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18

MIT · Python servers · how we verify → /methodology

01 · Install Sage Math

Claude Code

claude mcp add xbp-europe-sagemath-mcp -- uvx sagemath-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "xbp-europe-sagemath-mcp": {
      "command": "uvx",
      "args": [
        "sagemath-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package sagemath-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.XBP-Europe is GitHub-verified and matches the repo owner

03 · What Sage Math can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.8.2 · 2026-09-17

Cut for one reason: the sdist every previous release published could not be · built from. Anyone installing from source, packaging for a distribution, or · reviewing the conda-forge recipe hit it; the wheel on PyPI was…

v0.8.1 · 2026-09-17

The first release that carries the one-click desktop bundle, and the first whose · provenance is a file on the release page rather than only a record in GitHub's · attestation store. It also accepts more of SageMath's…

v0.8.0 · 2026-09-16

Security · The passagemath image installs with --require-hashes. · Dockerfile.passagemath used a plain pip install ".[passagemath]", the last · unhashed dependency install in the repository (Scorecard's…

04 · Who maintains Sage Math

SageMath is maintained by xbp-europe. It's the only MCP server we track from this author; the repo dates to Nov 2025.

05 · Facts

category
other - ranked #141 of 945 actively-maintained other servers as of 2026-09-18.
release cadence
8 releases in the last 90 days (latest 2026-09-17)
registry
io.github.XBP-Europe/sagemath-mcp (active, first published 2026-08-14 · 7 versions)
packages
pypi:sagemath-mcp

06 · Sage Math FAQ

What is Sage Math?

A Model Context Protocol server that gives an LLM a sandboxed mathematical subset of SageMath - symbolic calculus, number theory, linear algebra, ODEs, plotting, combinatorics, graphs, groups, elliptic curves, and more. Each MCP session gets a dedicated Sage worker process, so variables, functions, and assumptions persist across tool calls. It ships 40 MCP tools, one of which - verify_claim - re-checks a

Is Sage Math still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-18 and it shipped 8 releases in the last 90 days. We re-verify nightly.

How do I install Sage Math?

Run `uvx sagemath-mcp`. You can also paste the ready-made client config above.

Does Sage Math run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Sage Math

More MCP servers to compare · Token Enhancer · Helldivers2 MCP · Laugh Tale · Road Poneglyph · Claude Octopus

More Python MCP servers · Magpie Search · NoteStore Lab MCP · see all