Implements a Model Context Protocol (MCP) server using Wolfram Language, enabling LLMs to access Wolfram Language computation capabilities.
- Create custom MCP servers with tailored tools
- Easily integrate with popular AI assistants like Claude and Cursor
- Use Wolfram Language's computational power directly in AI conversations
- Pre-configured servers for common use cases
- Wolfram Language 14.2 or higher
- Claude Desktop, Cursor, or other MCP-compatible client applications
PacletInstall["Wolfram/MCPServer"]Needs["Wolfram`MCPServer`"]Install a Wolfram MCP server for Claude Desktop:
InstallMCPServer["ClaudeDesktop"]
(* Out: Success["InstallMCPServer", <|...|>] *)After restarting Claude Desktop, it will have access to Wolfram knowledge and tools:
- Create an MCP server with custom tools using LLMConfiguration:
config = LLMConfiguration[<|
"Tools" -> {LLMTool["PrimeFinder", {"n" -> "Integer"}, Prime[#n]&]}
|>];
server = CreateMCPServer["My MCP Server", config]
(* Out: MCPServerObject[...] *)- Install for use in Claude Desktop:
InstallMCPServer["ClaudeDesktop", server]
(* Out: Success["InstallMCPServer", <|...|>] *)After restarting Claude Desktop, your custom tools will be available:
Claude Desktop offers an excellent integration experience with MCPServer, providing seamless access to Wolfram Language's computational capabilities.
Install an MCP server for use in Cursor:
InstallMCPServer["Cursor", server]
(* Out: Success["InstallMCPServer", <|...|>] *)Check the MCP tab in Cursor settings to verify the server connection:
Your Wolfram tools will now be available in Cursor agent chat:
For more details on creating custom MCP servers, configuring tools, and advanced options, please refer to the documentation.
See CLAUDE.md for development guidelines and commands.
This project is licensed under the MIT License - see the LICENSE file for details.
Richard Hennigan (Wolfram Research)



