Brings Wolfram Language computation directly into Claude through WolframScript's command-line interface. You get four tools: evaluate arbitrary Wolfram Language code, check WolframScript and Wolfram Engine versions, and query your license type. This is for when you need symbolic math, scientific computing, or any of Wolfram's computational capabilities without leaving your Claude conversation. Requires a local WolframScript installation, which is free for personal use. The evaluate tool takes raw Wolfram Language expressions like Integrate[x*Sin[x], x] and returns results. Installation is straightforward with uvx, no repository cloning needed unless you want to modify the server itself.
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.
| Tool | Description |
|---|---|
evaluate | Evaluates a Wolfram Language script |
version_wolframscript | Returns version of wolframscript |
version_wolframengine | Returns version of Wolfram Engine |
licensetype | Returns license type of Wolfram Engine |
Integrate[x*Sin[x], x]Both Wolfram Engine and WolframScript are freely available for personal use.
wolframscript -version
wolframscript -activate
wolframscript -code "Integrate[x*Sin[x], x]"
curl -LsSf https://astral.sh/uv/install.sh | sh
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/mathematica_mcp/mathematica_mcp.log on macOS.{
"mcpServers": {
"mathematica-mcp": {
"command": "uvx",
"args": [
"mathematica-mcp"
]
}
}
}
Claude Desktop config file on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"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/claude_desktop_config.json