Mathematica Documentation MCP server
@benhaotang
关于 Mathematica Documentation MCP server
MCP server for checking Mathematica documentation via local MMA installation
基本信息
配置
工具
2support 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.,
FCFeynmanParametrizefrom FeynCalc. - Enumerate all symbols in a package to discover available functions.
FAQ from Mathematica Documentation MCP server
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).
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.
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.
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"]).
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 服务器
Notion MCP Server
makenotionOfficial Notion MCP Server
MemoryMesh
CheMiguel23A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
Anytype MCP Server
anyprotoAn MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Memory Bank MCP Server
alioshrA Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.
评论