Best SageMath MCP Servers
SageMath is free, open-source mathematics software that builds on Python and numerous open-source packages, providing a powerful alternative to commercial systems like Mathematica, Maple, and MATLAB.
Why this server?
Provides graph-theoretic analysis tools powered by SageMath, including matching covered graphs, bricks, essentially 4-edge-connected graphs, near-bipartiteness, edge invariants, cyclic edge cuts, and named graph identification.
AlicenseAqualityCmaintenanceEnables querying graph invariants and properties, such as matching covered, brick, and snark characteristics, via SageMath-backed MCP tools.16MITWhy this server?
Provides a persistent SageMath kernel that agents can use to execute Sage code, poll long-running computations, interrupt or reset sessions, inspect kernel status, run script files, and process SageMath/Jupyter notebooks.
AlicenseAqualityBmaintenanceEnables agents to run and manage SageMath computations through a persistent kernel over stdio, including executing code, polling long-running jobs, interrupting or resetting sessions, running files, and driving notebooks.71MITWhy this server?
Provides access to SageMath for symbolic calculus, algebra, linear algebra, differential equations, number theory, statistics, visualization, and other mathematical operations via 33 MCP tools.
AlicenseBqualityAmaintenanceA universal mathematics MCP server that gives LLM clients full access to SageMath for symbolic calculus, number theory, linear algebra, and more, with persistent state across tool calls.40288 PyPI18MITWhy this server?
Provides tools for executing SageMath scripts and querying version information, enabling mathematical computations and symbolic calculations through the SageMath computer algebra system.
AlicenseBqualityDmaintenanceEnables execution of SageMath mathematical computations through a local SageMath installation. Provides tools to check SageMath version and evaluate SageMath scripts with configurable timeouts and error handling.311MITWhy this server?
Exposes the entire SageMath computer algebra system to LLM clients for symbolic mathematics, including algebra, calculus, number theory, matrix operations, plotting, and LaTeX conversion.
AlicenseNot gradedqualityCmaintenanceExposes the full SageMath computer algebra system to LLM clients through MCP tools for symbolic mathematics, solving, calculus, plotting, and number theory.18 npm1Creative Commons Zero v1.0 UniversalWhy this server?
Provides a backend for scientific computing using SageMath, supporting symbolic, numeric, and plotting capabilities.
AlicenseNot gradedqualityDmaintenanceMCP server for scientific computing with multiple backends (Mathematica, Octave, Python, R, SageMath, etc.) enabling mathematical computation and visualization through AI coding assistants.4-Why this server?
Integrates with an existing SageMath installation to execute exact arithmetic, algebra, calculus, matrix operations, and Sage scripts, returning results with Sage types, optional LaTeX, captured output, elapsed time, and structured errors.
AlicenseNot gradedqualityBmaintenanceA local stdio Model Context Protocol server that exposes exact arithmetic, algebra, calculus, matrices, and Sage script execution to AI clients without requiring accounts, API keys, or cloud services.MIT