AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompare
Home/
API Integration/
sagemath-mcp
sagemath-mcp logo

sagemath-mcp

Active·★ 18·MIT·Updated 2026-10-22

The SageMath MCP Server provides LLM clients with comprehensive access to SageMath, enabling a wide range of mathematical computations including calculus, algebra, number theory, and more. It features persistent sessions, over 37 specialized tools, and a robust security sandbox for safe execution of SageMath code.

#SageMath#LLM Integration#Mathematics#Symbolic Computation#Numerical Analysis#API Server
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

Guides
#Model Context Protocol
#Computational Algebra
$ Install
$ pip install sagemath-mcp && sagemath-mcp
↗ Visit site★ GitHub
01

Features

01Core execution of any SageMath code with persistent state, LaTeX output, stdout capture, and progress heartbeats.
02Offers 37 specialized MCP tools covering diverse mathematical domains like calculus, algebra, and number theory.
03Stateful sessions ensure variables and functions persist across multiple tool calls for complex workflows.
04Robust AST-based security sandbox blocks dangerous operations and unauthorized imports.
05Visualization capabilities to render 2D/3D plots of expressions as base64-encoded PNG images.
02

Compatibility

Python
Runtime
Verified via docs
SageMath
Engine
Verified via docs
Docker
Containerization
Verified via docs
Kubernetes
Orchestration
Verified via docs
LLM Clients
Integration
Verified via docs
03

Quick start

1
$ pip install sagemath-mcp
2
$ sagemath-mcp
04

Use cases

↳Performing symbolic calculus operations such as differentiation, integration, and series expansion.
↳Solving single or systems of algebraic equations symbolically.
↳Solving number theory problems like primality testing, integer factorization, and GCD/LCM calculations.
↳Visualizing mathematical functions in 2D and 3D by generating plots as images.
↳Executing multi-step mathematical workflows where variables and functions need to persist across operations.
05

Alternatives

⚡Top VS:
VSmcp-dotnet-samples★201→VSext-apps★3.0k→VSdexpaprika-mcp★108→

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
VS
mcp-server-arangodb
★46
→
mcp-dotnet-samples logo
mcp-dotnet-samples★ 201
A comprehensive set of samples of creating and using MCP servers and clients with .NET
VSCompare→
ext-apps logo
ext-apps★ 3.0k
Official repo for spec & SDK of MCP Apps protocol - standard for UIs embedded AI chatbots, served by MCP servers
VSCompare→
dexpaprika-mcp logo
dexpaprika-mcp★ 108
DexPaprika MCP server for real-time crypto token data, DEX trading activity, and DeFi analytics across multiple blockchains.
VSCompare→
mcp-server-arangodb logo
mcp-server-arangodb★ 46
This is a TypeScript-based MCP server that provides database interaction capabilities through ArangoDB.
VSCompare→
tbank-mcp logo
tbank-mcp★ 37
Unofficial MCP server for T-Bank (Т-Банк, ex-Tinkoff) mobile banking: accounts, cards, transfers, bill pay, grocery ordering, tickets & travel — for Claude Code and any MCP client.
VSCompare→
gopher-mcp logo
gopher-mcp★ 15
A modern, cross-platform Model Context Protocol (MCP) server that enables AI assistants to browse and interact with both Gopher protocol and Gemini protocol resources safely and efficiently.
VSCompare→
python-sdk logo
python-sdk★ 24.6k
The official Python SDK for Model Context Protocol servers and clients
VSCompare→
esp32-mcpserver logo
esp32-mcpserver★ 13
A lightweight Model Context Protocol (MCP) server framework for ESP32. Seamlessly connect embedded devices to LLMs.
VSCompare→
See all alternatives →
XBP-Europe /
sagemath-mcp
↗

Stateful SageMath MCP server: 33 tools for symbolic math, algebra, number theory, graphs and plotting, with a sandboxed persistent Sage session per client.

18MIT
Last commit1d ago
StatusActive
CategoryAPI Integration
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit