SageMath MCP
A stateful MCP server providing 40 tools for symbolic math, algebra, number theory, graphs, plotting, and claim verification. It runs a persistent Sage session per client with an AST policy and hardened container boundary, allowing LLMs to perform complex mathematical computations securely.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Perform symbolic calculus and linear algebra operations
- Analyze number theory and elliptic curves
- Generate mathematical plots and graphs
- Verify mathematical claims through proof ladders
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
sagemath-mcp 0.9.7
{
"version": "0.9.7",
"transport": "stdio",
"identifier": "sagemath-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"runtimeArguments": [
{
"name": "--python",
"type": "named",
"value": "3.12",
"description": "The Python the passagemath extra is tested on, and the newest every one of its dependencies has wheels for. Without it uv picks its own newest Python, where some must be compiled and the install fails on a machine with no C compiler."
},
{
"name": "--from",
"type": "named",
"value": "sagemath-mcp[passagemath]==0.9.7",
"description": "Installs the passagemath extra, which brings the Sage runtime (about 1 GB, downloaded on first launch). Without it the server starts but every evaluation fails for want of a Sage to drive."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"sagemath-mcp-mcp": {
"command": "uvx",
"args": [
"sagemath-mcp==0.9.7"
]
}
}
}Cline
{
"mcpServers": {
"sagemath-mcp-mcp": {
"command": "uvx",
"args": [
"sagemath-mcp==0.9.7"
]
}
}
}VS Code
{
"servers": {
"sagemath-mcp-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"sagemath-mcp==0.9.7"
]
}
}
}Claude Desktop
{
"mcpServers": {
"sagemath-mcp-mcp": {
"command": "uvx",
"args": [
"sagemath-mcp==0.9.7"
]
}
}
}Let your agent find its tools
Find servers like SageMath MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.