Sagemath MCP Server
MCP server wrapping SageMath's full computer algebra system — 10 symbolic-math tools for…
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About Sagemath MCP Server
Sagemath MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.
MCP server wrapping SageMath's full computer algebra system — 10 symbolic-math tools for LLMs.
Install
Run in a terminal
claude mcp add sagemath-mcp-server --env API_KEY='<API_KEY>' -- npx -y @justice8096/sagemath-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"sagemath-mcp-server": {
"command": "npx",
"args": [
"-y",
"@justice8096/sagemath-mcp-server"
],
"env": {
"API_KEY": "<API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"sagemath-mcp-server": {
"command": "npx",
"args": [
"-y",
"@justice8096/sagemath-mcp-server"
],
"env": {
"API_KEY": "<API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"sagemath-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@justice8096/sagemath-mcp-server"
],
"env": {
"API_KEY": "<API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"sagemath-mcp-server": {
"command": "npx",
"args": [
"-y",
"@justice8096/sagemath-mcp-server"
],
"env": {
"API_KEY": "<API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"sagemath-mcp-server": {
"command": "npx",
"args": [
"-y",
"@justice8096/sagemath-mcp-server"
],
"env": {
"API_KEY": "<API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
SAGE_TIMEOUTPer-call SageMath timeout in milliseconds. Default 30000.SAGE_DOCKER_IMAGEDocker image used when SageMath is not installed locally. Default sagemath/sagemath:latest.TRANSPORTTransport mode: 'stdio' (default) or 'http'.PORTHTTP port when TRANSPORT=http. Default 3000.API_KEYIf set, HTTP transport requires matching API_KEY header. Ignored for stdio.
Pricing
Open source
Sagemath MCP Server FAQ
Is Sagemath MCP Server free?
Yes. Sagemath MCP Server is open source, so you can use and self-host it for free.
How do I add Sagemath MCP Server to Claude Code?
Run this command in your terminal: claude mcp add sagemath-mcp-server --env API_KEY='<API_KEY>' -- npx -y @justice8096/sagemath-mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.