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"]).
「メモリとナレッジ」の他のコンテンツ
Notion MCP Server
makenotionOfficial Notion MCP Server
Context7 MCP - Up-to-date Docs For Any Cursor Prompt
upstashContext7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Notion MCP Server
suekouA Model Context Protocol server for connecting Notion to MCP-compatible clients
Memory Bank MCP Server
alioshrA Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.
コメント