Mathematica Docs

by benhaotang

5 292 downloads Not rated yet MIT
GitHub

About

Integrates with Wolfram Mathematica's documentation to provide access to function details, package symbols, and computational capabilities for mathematical modeling and scientific computing tasks.

Details

Repository
benhaotang/mcp-mma-docs
License
MIT

Explore

- Retrieve documentation for any Wolfram Language symbol.
- Support for functions from installed packages (e.g., LieART).
- Support for functions from loaded add-ons (e.g., FeynArts).
- List all symbols or functions contained in a package.
- Customisable wolframscript path via environment variable.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mathematica Docs
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 run
    • Argument 2 --with
    • Argument 3 mcp
    • Argument 4 mcp
    • Argument 5 run
    • Argument 6 /path/to/mcp-mma-doc.py

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Made with mcp-python-sdk

> [!IMPORTANT]
> if you are still using FastMCP version of this mcp server, please consider pull this repo again and update to newer versions as FastMCP is already deprecated.

get_docs

Support factory functions, function via an addon, and function via a package. Basic usage: get_docs('Plot'). With package: get_docs('WeightSystem', packages=['LieART']). With addon: get_docs('FCFeynmanParametrize', packages=['FeynCalc'], load_addons=['FeynArts']).

list_package_symbols

List all symbols/functions in a package. Basic usage: list_package_symbols('FeynCalc').

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mathematica docs": {
            "cwd": null,
            "env": {},
            "args": [
                "run",
                "--with",
                "mcp",
                "mcp",
                "run",
                "/path/to/mcp-mma-doc.py"
            ],
            "shell": false,
            "command": "uv"
        }
    }
}

Linux

{
    "cwd": null,
    "env": [],
    "args": [
        "run",
        "--with",
        "mcp",
        "mcp",
        "run",
        "/path/to/mcp-mma-doc.py"
    ],
    "shell": false,
    "command": "uv"
}

Macos

{
    "cwd": null,
    "env": [],
    "args": [
        "run",
        "--with",
        "mcp",
        "mcp",
        "run",
        "/path/to/mcp-mma-doc.py"
    ],
    "shell": false,
    "command": "uv"
}

Windows

{
    "cwd": null,
    "env": [],
    "args": [
        "run",
        "--with",
        "mcp",
        "mcp",
        "run",
        "/path/to/mcp-mma-doc.py"
    ],
    "shell": false,
    "command": "uv"
}

Mathematica Documentation MCP server

General & Usage

Made with mcp-python-sdk

> [!IMPORTANT]
> if you are still using FastMCP version of this mcp server, please consider pull this repo again and update to newer versions as FastMCP is already deprecated.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.