MCP.Market

SageMath MCP server

by XBP-Europe·io.github.XBP-Europe/sagemath-mcp·v0.9.7·18 stars

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

B78/100grade B
What users say
No reviews yet
Be the first
Safety scan
B78/100

not scanned yet

Adoption
Growing

18 stars409 downloads/wk

Reviews

Write one

Nobody has reviewed SageMath yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

SageMath tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How SageMath compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
78/100
higher than 57% of 48,255 servers
GitHub stars
18
more than 90% of 28,688 servers
Downloads a week
409
more than 85% of 12,191 servers with a package

Release history: 12 versions in the registry since 2026-09-17, latest 2026-10-26, typically one every 3 days.

Install SageMath in Claude Code, Cursor or VS Code

claude mcp add sagemath-mcp -- uvx sagemath-mcp
Add to Cursor

What the publisher says

From the SageMath repository's README, as published. We do not edit it. Read it on GitHub

SageMath MCP Server

<!-- mcp-name: io.github.XBP-Europe/sagemath-mcp -->

A Model Context Protocol server that gives an LLM a sandboxed mathematical subset of SageMath — symbolic calculus, number theory, linear algebra, ODEs, plotting, combinatorics, graphs, groups, elliptic curves, and more. Each MCP session gets a dedicated Sage worker process, so variables, functions, and assumptions persist across tool calls. It ships 40 MCP tools, one of which — verify_claim — re-checks a stated result through a proof ladder and answers proved / refuted / supported / undecided with its evidence.

Caller code is deny-by-default: the full breadth of Sage mathematics is reachable, but imports, the external CAS interfaces, and the file / display / persistence primitives are not. The policy accepts 98.8% of SageMath's own 432,878 documented doctest examples (4,366 in-scope refusals, every one attributed to a named rule; 98.9% of 433,289 on the passagemath runtime) while refusing the rest — measured on every CI run (see Security).

Full manual: USAGE.md — every tool's parameters and examples, how code is interpreted, and the security model in depth.

Install & run

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Grade history

  • 2026-09-19restoreC → Bscore 75: eval / new Function used; subprocess with shell=True

SageMath: common questions

Is SageMath MCP server safe?
Mostly: it is graded B (78/100). Read the SageMath safety report
How do I install SageMath?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does SageMath need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is SageMath maintained?
The last commit was 22 days ago (2026-10-13). The latest release is v0.9.7.
How does SageMath compare with other MCP servers?
safety score 78/100 (higher than 57% of 48,255 servers); github stars 18 (more than 90% of 28,688 servers); downloads a week 409 (more than 85% of 12,191 servers with a package). Full comparison.