sagemath-mcp

XBP-Europe/sagemath-mcp

3.2

If you are the rightful owner of sagemath-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The SageMath MCP Server is a Model Context Protocol server that facilitates stateful SageMath computations for LLM clients using FastMCP as the transport layer.

Tools

Functions exposed to the LLM to take actions

evaluate_sage

Execute SageMath code with persistent state.

calculate_expression

Evaluate a Sage expression and receive string/numeric forms.

solve_equation

Convenience wrapper for algebra workflows.

differentiate_expression

Convenience wrapper for calculus workflows.

integrate_expression

Convenience wrapper for calculus workflows.

statistics_summary

Produce population/sample mean, variance, and standard deviation for numeric datasets.

matrix_multiply

Multiply matrices and return the product as nested lists.

cancel_sage_session

Manage the current session state.

reset_sage_session

Clear the current session state.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources