Mathematica Server
FreeNot checkedEnables evaluating Wolfram Language code and retrieving Wolfram Engine version/license info through an MCP interface.
About
Enables evaluating Wolfram Language code and retrieving Wolfram Engine version/license info through an MCP interface.
README
codecov Build Python Version License PyPI version
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 |
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-mcpserver. Note thatuvxsets up an environment, installs themathematica-mcppackage, and runs the server by calling themathematica-mcpentry 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.logon macOS.
{
"mcpServers": {
"mathematica-mcp": {
"command": "uvx",
"args": [
"mathematica-mcp"
]
}
}
}
Claude Desktop config file on macOS: ~/Library/Application Support/Claude/claude_desktop_config.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/claude_desktop_config.json
Install Mathematica Server in Claude Desktop, Claude Code & Cursor
unyly install mathematica-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add mathematica-mcp-server -- uvx mathematica_mcpFAQ
Is Mathematica Server MCP free?
Yes, Mathematica Server MCP is free — one-click install via Unyly at no cost.
Does Mathematica Server need an API key?
No, Mathematica Server runs without API keys or environment variables.
Is Mathematica Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Mathematica Server in Claude Desktop, Claude Code or Cursor?
Open Mathematica Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Mathematica Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
