Mathematica MCP server
io.github.lars20070/mathematica-mcp·v0.1.11·7 starsMCP server for WolframScript
7 stars50 downloads/wk
Reviews
Write oneNobody has reviewed Mathematica yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Mathematica tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
evaluateEvaluate a Wolfram Language script by running the `wolframscript -print -file <script>` command.
licensetypeGet the license type of the Wolfram Engine.
version_wolframengineGet the version of the Wolfram Engine.
version_wolframscriptGet the version of the `wolframscript` tool.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan10 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 224 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Mathematica compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 4
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 7
- more than 86% of 28,688 servers
- Downloads a week
- 50
- more than 42% of 12,191 servers with a package
What its tools let an agent do: 3 read · 1 run or deploy
Install Mathematica in Claude Code, Cursor or VS Code
claude mcp add mathematica-mcp -- uvx mathematica_mcp
What the publisher says
From the Mathematica repository's README, as published. We do not edit it. Read it on GitHub
Mathematica MCP Server
<!-- mcp-name: io.github.lars20070/mathematica-mcp -->
MCP server that wraps Mathematica's wolframscript command-line interface. It provides tools to evaluate Wolfram Language code and retrieve information about the Wolfram Engine installation.
Background
- Wolfram Language: symbolic programming language e.g. Integrate[x*Sin[x], x]
- Wolfram Engine: kernel for running Wolfram Language code
- WolframScript: command-line interface to Wolfram Engine
- Mathematica: notebook interface to Wolfram Engine
Both Wolfram Engine and WolframScript are freely available for personal use.
Installation
- Please ensure WolframScript is installed and activated on your system.
wolframscript -version
wolframscript -activate
wolframscript -code "Integrate[x*Sin[x], x]"- Install the uv package manager.
curl -LsSf https://astral.sh/uv/install.sh | sh- Edit the Claude Desktop config file and add the mathematica-mcp server. Note that uvx sets up an environment, installs the mathematica-mcp package, and runs the server by calling the mathematica-mcp entry point defined in pyproject.toml. No cloning of the repository is necessary. The logs are written to the default user log directory, e.g. ~/Library/Logs/mathematicamcp/mathematicamcp.log on macOS.
{
"mcpServers": {
"mathematica-mcp": {
"command": "uvx",
"args": [
"mathematica-mcp"
]
}
}
}Claude Desktop config file on macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Alternatively, you can clone the repository and then modify or extend the MCP server code. In this case, make sure to update the path to the local repository in the Claude Desktop config file.
{
"mcpServers": {
"mathematica-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/lars/Code/mathematica-mcp",
"run",
"mathematica-mcp"
]
}
}
}Claude Desktop config file on macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
Nothing above is checked by us. What we check is on the safety report.
Mathematica: common questions
- Is Mathematica MCP server safe?
- Mostly: it is graded B (75/100). Read the Mathematica safety report
- How do I install Mathematica?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Mathematica need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Mathematica maintained?
- The last commit was 261 days ago (2026-02-16). The latest release is v0.1.11.
- How does Mathematica compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 4 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.