LocalFree

SageMath MCP server

XBP-Europe/sagemath-mcp

Stateful SageMath MCP server with 40 tools and a sandboxed Sage session per client.

18 GitHub stars1 forks

Install SageMath in Claude Code

PyPI (uv)

Claude Code
claude mcp add xbp-europe-sagemath -- uvx sagemath-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "xbp-europe-sagemath": {
      "command": "uvx",
      "args": [
        "sagemath-mcp"
      ]
    }
  }
}

Docker

Claude Code
claude mcp add xbp-europe-sagemath -- docker run -i --rm ghcr.io/xbp-europe/sagemath-mcp:0.9.7
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "xbp-europe-sagemath": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/xbp-europe/sagemath-mcp:0.9.7"
      ]
    }
  }
}

Frequently asked questions

What does the SageMath MCP server do?

Stateful SageMath MCP server with 40 tools and a sandboxed Sage session per client.

Is the SageMath MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does SageMath run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add SageMath to Claude Code?

Run: claude mcp add xbp-europe-sagemath -- uvx sagemath-mcp

More other tools & integrations MCP servers

View all