MCP.so
ログイン

Mathematica Documentation MCP server

@benhaotang

基本情報

カテゴリ

メモリとナレッジ

ライセンス

MIT

トランスポート

stdio

作者

benhaotang

Mathematica Documentation MCP server について

MCP server for checking Mathematica documentation via local MMA installation

Mathematica Documentation MCP server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Mathematica Documentation MCP server のツール

2

support factory functions, function via an addon, and function via a package.

list all symbols/functions in a package.

概要

What is Mathematica Documentation MCP server?

This MCP server integrates Mathematica documentation with AI assistants like Claude. It allows querying documentation for Mathematica functions, including those from packages and add-ons. Built with mcp-python-sdk, it requires Mathematica or a callable wolframscript (e.g., via the free Wolfram Engine for Developers).

How to use Mathematica Documentation MCP server?

After installing the Python requirements (pip install -r requirements.txt) and ensuring Mathematica/wolframscript is available, run mcp dev path/to/mcp-mma-doc.py to initialize the server, or mcp install path/to/mcp-mma-doc.py to install it into Claude. Alternatively, add the corresponding JSON configuration to your Claude or Cline config file. If wolframscript is not in the system path, set the WOLFRAMSCRIPT_PATH environment variable in your shell or MCP config.

Key features of Mathematica Documentation MCP server

  • 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.

Use cases of Mathematica Documentation MCP server

  • Quickly look up the syntax and usage of built‑in Mathematica functions like Plot.
  • Access documentation for specialized package functions, e.g., FCFeynmanParametrize from FeynCalc.
  • Enumerate all symbols in a package to discover available functions.

よくある質問

1

What runtime dependencies does the server require?

Python (with packages from `requirements.txt`) and Mathematica (or at least `wolframscript` callable from the terminal, e.g., via the free Wolfram Engine for Developers).

2

Can I use a custom path for wolframscript?

Yes. Set the environment variable `WOLFRAMSCRIPT_PATH` to the full path of your `wolframscript` binary, either in your shell or inside the MCP client configuration.

3

Why am I seeing `INFO Processing request of type ... ListToolsRequest` messages?

These are harmless debug messages from the Python SDK that cannot be suppressed. They do not affect the server’s functionality.

4

How do I get documentation for a function in a specific package?

Use the `get_docs` tool with the `packages` argument, e.g., `get_docs("WeightSystem", packages=["LieART"])`.

5

Can I get documentation for functions that require an add‑on?

Yes. Provide both the `packages` and `load_addons` arguments to `get_docs`, e.g., `get_docs("FCFeynmanParametrize", packages=["FeynCalc"], load_addons=["FeynArts"])`.

コメント

「メモリとナレッジ」の他のコンテンツ