MCP server for checking Mathematica code via local MMA installation
Overview
What is MCP-MMA-Docs?
MCP-MMA-Docs is a server designed for checking Mathematica code through a local MMA installation, utilizing FastMCP for efficient operation.
How to use MCP-MMA-Docs?
To use MCP-MMA-Docs, ensure you have Mathematica installed and run the command fastmcp dev path/to/mcp-mma-doc.py to initialize the server. You can also install it to claude using the provided JSON configuration.
Key features of MCP-MMA-Docs?
- Supports factory functions and functions via addons and packages.
- Commands like
get_docsandlist_package_symbolsfor easy access to documentation and symbols. - Customizable path for
wolframscriptif needed.
Use cases of MCP-MMA-Docs?
- Checking and validating Mathematica code snippets.
- Accessing documentation for various Mathematica functions and packages.
- Integrating with other tools like claude for enhanced functionality.
FAQ from MCP-MMA-Docs?
- What are the requirements to run MCP-MMA-Docs?
You need to have Mathematica installed and run
pip install -r requirements.txtto set up the environment.
- Can I customize the path for wolframscript?
Yes! You can change the path in the Python file to point to your custom installation of wolframscript.
- Are there any known issues?
Yes, some issues related to incomplete implementation of function description and complex styling formats in MMA docs may occur, but they do not affect functionality.