
Mathematica Mcp
io.github.lars20070由 GitHub 账号 lars20070 发布v0.1.11更新于 Oct 24, 2026
MCP server for WolframScript
概览
本地 MCP 服务器,封装 WolframScript,让助手可以执行 Wolfram Language 代码并查看 Wolfram Engine 安装信息。
- 可以做什么
- 通过本地 wolframscript 命令行执行 Wolfram Language 脚本并把结果返回给助手。查询已安装的 wolframscript 版本。查询 Wolfram Engine 版本。查询 Wolfram Engine 的许可证类型。
- 适用场景
- 适合让助手在本机执行符号运算、微积分或其他 Wolfram Language 计算,或查看当前安装的 Wolfram Engine 与 wolframscript 版本。
- 运行要求
- 作为本地进程在用户机器上运行(仅限桌面端)。需要已安装并激活的 WolframScript,以及 uv 包管理器;README 通过 uvx 或本地克隆进行配置。未声明 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Mathematica Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Mathematica MCP Server
[codecov] [Build] [Python Version] [License] [PyPI version]
MCP server that wraps Mathematica's wolframscript command-line interface. It provides tools to evaluate Wolfram Language code and retrieve information about the Wolfram Engine installation.
Background
- Wolfram Language: symbolic programming language e.g.
Integrate[x*Sin[x], x] - Wolfram Engine: kernel for running Wolfram Language code
- WolframScript: command-line interface to Wolfram Engine
- Mathematica: notebook interface to Wolfram Engine
Both Wolfram Engine and WolframScript are freely available for personal use.
Installation
- Please ensure WolframScript is installed and activated on your system.
- Install the uv package manager.
- Edit the Claude Desktop config file and add the
mathematica-mcpserver. Note thatuvxsets up an environment, installs themathematica-mcppackage, and runs the server by calling themathematica-mcpentry point defined inpyproject.toml. No cloning of the repository is necessary. The logs are written to the default user log directory, e.g.~/Library/Logs/mathematica_mcp/mathematica_mcp.logon macOS.
Claude Desktop config file on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Alternatively, you can clone the repository and then modify or extend the MCP server code. In this case, make sure to update the path to the local repository in the Claude Desktop config file.
Claude Desktop config file on macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
来源:README.md,提交 2ddd459
工具
0版本历史
1- v0.1.11最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分