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"])`.

评论

记忆与知识 分类下的更多 MCP 服务器