Skip to content
MCP server

Mathematica MCP

MCP server giving AI clients access to Wolfram Language evaluation via wolframscript

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
Version
0.1.11
Listing updated
today

Similar MCP servers

About Mathematica MCP

Mathematica MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

The server wraps the wolframscript command-line tool, so an AI client can send Wolfram Language code and get results back without opening a notebook. It exposes an evaluate tool for running scripts, plus tools that report the wolframscript version, the Wolfram Engine version and the Engine license type.

The README describes a setup in which WolframScript is installed and activated on the local machine first, then the server is launched through uvx from PyPI, with Claude Desktop named as the client in the config examples. A cloned repository can be used instead if the server code needs to be changed.

The server suits people who already work with Wolfram Language and want an assistant to run symbolic calculus, algebra or other computations on their own machine. The README notes that Wolfram Engine and WolframScript are free for personal use.

Install

Run in a terminal

claude mcp add mathematica-mcp -- uvx mathematica_mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mathematica-mcp": {
      "command": "uvx",
      "args": [
        "mathematica_mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mathematica-mcp": {
      "command": "uvx",
      "args": [
        "mathematica_mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mathematica-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mathematica_mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mathematica-mcp": {
      "command": "uvx",
      "args": [
        "mathematica_mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mathematica-mcp": {
      "command": "uvx",
      "args": [
        "mathematica_mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

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

What it does

Evaluate Wolfram code
The evaluate tool runs Wolfram Language scripts through wolframscript and returns the output.
Version reporting
Separate tools report the wolframscript and Wolfram Engine versions.
License type check
A licensetype tool returns the license type of the local Wolfram Engine installation.
PyPI installation via uvx
The package can be launched with uvx without cloning the repository.
Editable local clone
Users can clone the repository and modify the server code for their own needs.

Good for

  • Solving symbolic integrals or algebra problems from an AI chat client
  • Checking which Wolfram Engine version and license are active on a machine
  • Running Wolfram Language scripts as part of an AI-assisted workflow
  • Extending the MCP server with custom Wolfram-based tools

Pricing

Open source

Open-source MCP server; Wolfram Engine is free for personal use.

Mathematica MCP FAQ

What does the server need to run?

The README says WolframScript must be installed and activated on the system, and uv is used to launch the server.

Is Wolfram Engine free to use?

The README says Wolfram Engine and WolframScript are freely available for personal use.

Which client is used in the setup examples?

The configuration examples are written for Claude Desktop.

Is Mathematica MCP free?

Yes. Mathematica MCP is open source, so you can use and self-host it for free.

How do I add Mathematica MCP to Claude Code?

Run this command in your terminal: claude mcp add mathematica-mcp -- uvx mathematica_mcp

What are the best alternatives to Mathematica MCP?

The closest alternatives to Mathematica MCP are MCP Server Commands, Weblate MCP by usefulapi, unity-mcp, KitWright Unity MCP and MCP Z3 Prover.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers