Mathematica MCP logo

Mathematica MCP

Evaluates Wolfram Language through wolframscript and reports WolframScript and Wolfram Engine installation details.

Install Mathematica MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mathematica-mcp": {
      "command": "uvx",
      "args": [
        "mathematica-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

The mathematica-mcp MCP server exposes Wolfram Language evaluation and Wolfram Engine diagnostics through Mathematica's `wolframscript` command-line interface. It runs as a Python MCP server launched with `uvx` or from a local checkout, then delegates code execution to the installed and activated WolframScript. Use it when an MCP client needs symbolic computation or basic information about the local Wolfram installation. The documented setup targets Claude Desktop and requires WolframScript and the `uv` package manager.

Use cases

  • Evaluate Wolfram Language expressions from an MCP client
  • Run symbolic mathematics through a local Wolfram Engine
  • Check the installed WolframScript version
  • Inspect the Wolfram Engine version and license type

Key features

  • Wolfram Language script evaluation
  • WolframScript version reporting
  • Wolfram Engine version reporting
  • Wolfram Engine license-type reporting
  • uvx and local-checkout launch modes

Tools4

What Mathematica MCP lets your agent do. Expand a tool for its parameters.

Verified live~324 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · mathematica-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Mathematica MCP works

What the mathematica-mcp MCP server does

The mathematica-mcp MCP server connects an MCP-compatible client to the local Wolfram Engine through Mathematica's wolframscript command-line tool. Its primary purpose is to let an agent submit Wolfram Language code for evaluation, such as symbolic mathematics expressions, without requiring the agent to interact with the Mathematica notebook interface.

It also exposes installation diagnostics. An agent can ask for the installed WolframScript version, the Wolfram Engine version, and the engine's license type. These checks can help determine whether the local runtime is available and identify which installation is being used.

How it works

The Python package runs as an MCP server and invokes wolframscript on the host system. WolframScript, in turn, communicates with the Wolfram Engine kernel that executes Wolfram Language code. Mathematica is described in the project as the notebook interface, while the server uses the command-line path instead.

The documented launch method uses standard input/output through an MCP client configuration. With uvx, the package environment is created automatically, the published package is installed, and its mathematica-mcp entry point is started. A local repository checkout can instead be launched with uv and a directory argument.

Setup and configuration

Install and activate WolframScript before starting the server. The README demonstrates checking it with wolframscript -version, activating it with wolframscript -activate, and evaluating a sample expression from the shell. Wolfram Engine and WolframScript are stated to be available for personal use, subject to their own terms.

Install the uv package manager, then add a server entry to the MCP client's configuration. The package-based form uses uvx with mathematica-mcp as its argument. For development or customization, clone the repository and replace that configuration with a uv --directory ... run mathematica-mcp command pointing to the local checkout.

On macOS, the documented Claude Desktop configuration file is ~/Library/Application Support/Claude/claude_desktop_config.json. Logs from the uvx setup are written to the default user log directory; the README gives ~/Library/Logs/mathematica_mcp/mathematica_mcp.log as the macOS example.

Tools and capabilities

The mathematica-mcp MCP server provides these tools:

  • evaluate: runs a Wolfram Language script.
  • version_wolframscript: returns the WolframScript version.
  • version_wolframengine: returns the Wolfram Engine version.
  • licensetype: returns the Wolfram Engine license type.

The available computation depends on the Wolfram installation and activation state on the host. The project materials specifically illustrate symbolic evaluation with an integral, but do not define a narrower mathematical feature set.

Limitations and notes

A working local WolframScript installation is required; installing the Python package alone does not provide the Wolfram runtime. WolframScript must also be activated before evaluation. No environment variables or remote Wolfram service configuration are described.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mathematica MCP

mathematica-mcp is an MCP server that connects MCP clients to a local Wolfram Engine through Mathematica's wolframscript command-line interface. Its main tools evaluate Wolfram Language scripts, report the wolframscript version, report the Wolfram Engine version, and return the engine license type.

Install and activate WolframScript, install uv, then configure the MCP client to run `uvx` with `mathematica-mcp` as its argument. This installs the package and launches its entry point without cloning the repository. You can alternatively run a local checkout with `uv --directory ... run mathematica-mcp`.

It requires an installed and activated WolframScript, access to the Wolfram Engine, and the uv package manager for the documented setup. The server itself is launched through `uvx` or `uv`; no environment variables are specified in the project documentation.

Yes. Claude Desktop is the client documented by the project. Add a `mathematica-mcp` entry that runs `uvx` with the package name, or configure `uv` to run a local repository checkout.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMathematica MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mathematica-mcp?style=directory)](https://allmcps.com/mcp/mathematica-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mathematica-mcp"><img src="https://allmcps.com/api/badge/mathematica-mcp?style=directory" alt="Mathematica MCP on AllMCPs" /></a>