Mathematica MCP Server

MCP server for WolframScript

Local serverstdio

What is the Mathematica MCP server?

Connect Mathematica to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for WolframScript. The mathematica mcp server is what makes that connection.

What the server does

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.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • WolframScript — command-line interface to Wolfram Engine
  • Mathematica — notebook interface to Wolfram Engine
  • 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

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Mathematica's toolset — WolframScript, Mathematica, evaluate and 3 more — is a fair guide to whether it matches your workflow. It is maintained by lars20070; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
WolframScriptcommand-line interface to Wolfram Engine
Mathematicanotebook interface to Wolfram Engine
evaluateEvaluates a Wolfram Language script
version_wolframscriptReturns version of wolframscript
version_wolframengineReturns version of Wolfram Engine
licensetypeReturns license type of Wolfram Engine

Example prompts to try

  • Use Mathematica to WolframScript.
  • Use Mathematica to Mathematica.
  • Use Mathematica to evaluate.

Frequently asked questions

It connects Mathematica to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (WolframScript, Mathematica, evaluate, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Mathematica directly.