Skip to main content

MCP server for WolframScript

Project description

Mathematica MCP Server

Build Python Version License PyPI version

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.

Tool Description
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

Background

  • Wolfram Language: symbolic programming language e.g. Integrate[x*Sin[x], x]
  • Wolfram Engine: kernel for running Wolfram Language code
  • WolframScript: command-line interface to Wolfram Engine
  • Mathematica: notebook interface to Wolfram Engine

Both Wolfram Engine and WolframScript are freely available for personal use.

Installation

  1. Please ensure WolframScript is locally installed and activated:
wolframscript -version
wolframscript -activate
wolframscript -code "Integrate[x*Sin[x], x]"
  1. Install the uv package manager.
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Extend the Claude Desktop config file.
    ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mathematica": {
      "command": "uvx",
      "args": ["mathematica-mcp"]
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mathematica_mcp-0.1.3.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mathematica_mcp-0.1.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file mathematica_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: mathematica_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mathematica_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e914a3d17d9c8c832c081980b1a3705e4aefbdceeb35750af6c3c549bb274656
MD5 6bf8b6801266b687783a85aab0fb9e7c
BLAKE2b-256 5a29144bfe1ff5c54471c54dcc97639c6e5d87565fc20865a6eea7ba57d23d21

See more details on using hashes here.

File details

Details for the file mathematica_mcp-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: mathematica_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mathematica_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f995704f793ebe98ed768136b5cc88d0ad8466c27ff8bba9c609485eb0a94def
MD5 2307853ea1cffb317629c00ac71a5f4d
BLAKE2b-256 2dfcd22c23bef33691c7606aeb006c50e7dca8b11732eb9ff92f15354cc1fcfe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page