1. Conduid
  2. Developer Tools
  3. Mathematica MCP
MCP server · Developer Tools

Mathematica MCP

Model Context Protocol (MCP) server that connects AI agents (Claude, Cursor, etc.) to Wolfram Mathematica for symbolic computation, visualization, and notebook manipulation.

Unclaimed MIT devtools
53Fair

Scored 6 days ago · breakdown

About Mathematica MCP

Mathematica MCP is an MCP server published by AbhiRawat4841 in the Developer Tools category: model Context Protocol (MCP) server that connects AI agents (Claude, Cursor, etc.) to Wolfram Mathematica for symbolic computation, visualization, and notebook manipulation.

The repository has 53 stars and 9 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/AbhiRawat4841/mathematica-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Mathematica MCP

Powered by Claude · Grounded in docs

I know everything about Mathematica MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.1.2v1.1.2 · 6 Jul 2026Interactive-content fix. `Manipulate`/`Dynamic`/`DynamicModule`/`Animate`/`ListAnimate` now render as live panels on every client. Code sent to a notebook without an explicit mode is auto-detected and routed through front-end evaluation…
v1.1.1v1.1.1 · 6 Jul 2026Performance and honesty release. Breaking: addon protocol 4. Reinstall the addon (`wolframscript -file addon/install.wl` or `setup`) and restart Mathematica; a stale addon is detected by `status()`. Highlights Background kernel prewarm:…
v1.0.1v1.0.1 · 6 Jul 2026Full Changelog: https://github.com/AbhiRawat4841/mathematica-mcp/compare/v1.0.0...v1.0.1
v1.0.0v1.0.0 · 6 Jul 2026Full Changelog: https://github.com/AbhiRawat4841/mathematica-mcp/compare/v0.9.5...v1.0.0
v0.9.5v0.9.5 · 3 Jul 2026What's Changed Fix Windows path escaping in install.wl and session.py temp paths by @lecojari in https://github.com/AbhiRawat4841/mathematica-mcp/pull/7 New Contributors @lecojari made their first contribution in…

README

Mathematica MCP

A front-end / notebook automation layer for Mathematica, built for AI agents.

Your AI agent can write Mathematica code. This server lets it run that code in your live Mathematica session: create and edit notebooks, build interactive Manipulate panels, capture screenshots, verify derivations step by step, and read .nb files even without a kernel. Works with Claude, Cursor, VS Code, Codex, and Gemini.

It runs beside the official Wolfram Local MCP, not instead of it: Wolfram's server is the reference evaluator and documentation surface; this one owns the live notebook. See How it compares.

CI Repo Published

Upgrading from an earlier version? See the Migration Guide.

Watch it in action

Mathematica MCP Demo

An AI agent solving math, generating plots, and controlling a live Mathematica notebook. Errors are returned directly to the agent, no copy-pasting notebook output back into chat.


Why this exists

LLMs can write Wolfram Language, but they cannot run it, see the result, or fix their own mistakes. This server closes that loop:

  • Live notebook control: the agent creates, edits, evaluates, and screenshots real notebooks in your running Mathematica front end. Interactive content (Manipulate, Dynamic, sliders) renders as live panels.
  • Fast by default: computation runs on a persistent kernel session that starts warming the moment the server launches; calls return in milliseconds, not the ~13 seconds of a cold wolframscript start per request.
  • Self-debugging agents: Mathematica errors flow back with a suggested_fix and, when derivable, a ready-to-run retry_with call. No copying red text from the notebook into chat.
  • Derivation checking: verify_derivation validates a chain of mathematical steps and pinpoints the first invalid one.
  • Reads notebooks without a license: read_notebook_file parses .nb files in pure Python when no kernel is available (a kernel is used for higher fidelity when present).
  • Local and private: core execution stays on your machine. Cloud services are contacted only by opt-in tools like wolfram_alpha.

What you can ask for

"Integrate x^2 sin(x) from 0 to pi, then verify the result."

evaluate("Integrate[x^2 Sin[x], {x, 0, Pi}]")   =>  -4 + Pi^2
verify_derivation(steps=["Integrate[x^2 Sin[x], {x, 0, Pi}]", "-4 + Pi^2"])
=> Step 1 → 2: ✓ VALID
   All steps are valid!

"Plot the sombrero function in a new notebook."

notebooks(action="create", title="Sombrero")
evaluate("Plot3D[Sinc[Sqrt[x^2+y^2]], {x,-4,4}, {y,-4,4}]", target="notebook")
=> [3D surface plot rendered in the live notebook]

"Give me a Chebyshev polynomial explorer with a degree slider."

evaluate("Manipulate[Plot[ChebyshevT[n, x], {x, -1, 1}], {n, 0, 30, 1}]", target="notebook")
=> [live slider panel in the notebook; interactive code is auto-routed to the front end]

Quick start

Prerequisites: Mathematica 14.0+ (15+ recommended) with wolframscript on your PATH, and the uv package manager.

# One command, pick your client:
uvx mathematica-mcp-full setup claude-desktop   # or: cursor | vscode | codex | gemini | claude-code

Restart Mathematica (so the addon loads) and restart your editor. Then verify:

uvx mathematica-mcp-full doctor

Done - ask your agent for a plot.

The PyPI package and CLI are named mathematica-mcp-full.

Manual installation, per-client configuration details, and troubleshooting live in the Installation Guide.


The lean default

Agents see a consolidated 12-tool surface (~2.9k tokens of schema) instead of the classic 82 tools (~15k tokens) - a 5x cut in the context an agent pays before doing any work, with the same engine underneath. Prefer everything? MATHEMATICA_PROFILE=classic restores the full pre-1.0 surface, and MATHEMATICA_TOOLSETS adds opt-in extras to lean.


How it compares

Runs alongside the official Wolfram Local MCP (setup <client> --with-official configures both side by side). The differentiator is live notebook / front-end automation:

Capability Official Wolfram Local MCP This MCP
Wolfram-Language evaluation WolframLanguageEvaluator evaluate (warm persistent kernel)
Wolfram Alpha WolframAlpha wolfram_alpha (opt-in cloud)
Symbol docs / definitions SymbolDefinition, CreateSymbolDoc symbols extra (get_symbol_info)
Read a notebook file ReadNotebook (needs kernel) read_notebook_file - works with no kernel / license (Python fallback)
Write a notebook file WriteNotebook notebooks, edit_cells (live front-end)
Live notebook control (create/edit/eval/screenshot) No Yes
Interactive UIs (sliders, Manipulate) No Yes, in the live front-end
Derivation verification No verify_derivation
Doc search / code inspection / test reports CodeInspector, TestReport Deliberately not duplicated - use the official server

Who this is for

Audience Use case
Researchers using LLM coding assistants Run Mathematica from Claude/Cursor/VS Code without leaving your editor
Data scientists Import, transform, and visualize data through natural language
Educators Create interactive Mathematica notebooks through AI conversation
Not for Production web services, untrusted multi-tenant environments

Documentation


License

MIT License

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Mathematica MCP

How do I install Mathematica MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mathematica MCP safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mathematica MCP still maintained?

Yes — the latest release is v1.1.2 (6 Jul 2026), and the last commit was 3 months ago. The repository has 53 stars.