mcp-server-mathematica

mcp-server-mathematica

3.3

If you are the rightful owner of mcp-server-mathematica and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This repository contains a Model Context Protocol (MCP) server that allows MCP clients to execute Mathematica code via `wolframscript` and verify mathematical derivations.

The Mathematica MCP Server acts as a bridge, enabling applications that support MCP to leverage the power of a local Mathematica installation for tasks such as performing complex mathematical calculations, verifying mathematical derivation steps provided by humans or AI models, and generating LaTeX or Mathematica string representations of expressions. It requires Mathematica and Node.js to be installed on the system, and it uses the `wolframscript` command-line utility to execute Mathematica code. The server is built using TypeScript and can be integrated with various MCP clients like Cursor, Cline, and Claude Desktop.

Features

  • Executes Mathematica code and returns results in various formats.
  • Verifies mathematical derivations step-by-step.
  • Generates LaTeX or Mathematica string representations of expressions.
  • Integrates with multiple MCP clients for seamless operation.
  • Built with TypeScript for robust and maintainable code.

Tools

  1. execute_mathematica`

    Execute any Mathematica code and return the result

  2. verify_derivation`

    Verify the logical correctness of mathematical derivation steps