
Matlab Mcp Core Server
by @matlab
Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
Send to Your Agent
Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.
Install the Matlab Mcp Core Server MCP server for me.
Server: Matlab Mcp Core Server
Description: Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
Install command: npx -y matlab/matlab-mcp-core-server
Environment variables needed:
- For: Windows or Linux, [**Download the Latest Release**](https://github.com/matlab/matlab-mcp-core-server/releases/latest). ( (required)
- For: macOS, first download the latest release by running the following command in your terminal: (required)
- For: Apple silicon processors, run: (required)
- For: Intel processors, run: (required)
GitHub: https://github.com/matlab/matlab-mcp-core-server
Please install this MCP server and confirm when ready. Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.
Quick Install
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
- Open Claude Desktop app
- Go to Settings → Developer → Edit Config
- Paste the config below into the file
- Restart Claude Desktop
{
"mcpServers": {
"matlab-mcp-core-server": {
"command": "npx",
"args": [
"-y",
"matlab/matlab-mcp-core-server"
],
"env": {
"For": "value"
}
}
}
} Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json
Installation Methods
npx -y matlab/matlab-mcp-core-serverTools (10)
Returns information about installed MATLAB and toolboxes, including version numbers.
Performs static code analysis on a MATLAB script. Returns warnings about coding style, potential errors, deprecated functions, pe
Inputs - `script_path` (string): Absolute path to the MATLAB script file to analyze. Must be a valid `.m` file. The file is not
Evaluates a string of MATLAB code and returns the output.
Inputs - `code` (string): MATLAB code to evaluate.
project_path (string): Absolute path to your project directory. MATLAB sets this directory as the current working folder. Example: `C
Executes a MATLAB script and returns the output. The script must be a valid `.m file`.
Inputs - `script_path` (string): Absolute path to the MATLAB script file to execute. Must be a valid `.m` file. Example: `C:\Us
Executes a MATLAB test script and returns comprehensive test results. Designed specifically for MATLAB unit test files that follo
Inputs - `script_path` (string): Absolute path to the MATLAB test script file. Must be a valid `.m` file containing MATLAB unit
Environment Variables
For RequiredWindows or Linux, [**Download the Latest Release**](https://github.com/matlab/matlab-mcp-core-server/releases/latest). (
valueFor RequiredmacOS, first download the latest release by running the following command in your terminal:
valueFor RequiredApple silicon processors, run:
valueFor RequiredIntel processors, run:
value| Name | Description | Required | Example |
|---|---|---|---|
| For | Windows or Linux, [**Download the Latest Release**](https://github.com/matlab/matlab-mcp-core-server/releases/latest). ( | Required | value |
| For | macOS, first download the latest release by running the following command in your terminal: | Required | value |
| For | Apple silicon processors, run: | Required | value |
| For | Intel processors, run: | Required | value |
Compatibility
About
MATLAB MCP Core Server
Overview
Run MATLAB® using AI applications with the official MATLAB MCP Server from MathWorks®. This MCP server for MATLAB supports a wide range of coding agents like Claude Code® and Visual Studio® Code.
Tools
- Returns: information about installed MATLAB and toolboxes, including version numbers.
- Performs: static code analysis on a MATLAB script. Returns warnings about coding style, potential errors, deprecated functions, pe
- Inputs: -
script_path(string): Absolute path to the MATLAB script file to analyze. Must be a valid.mfile. The file is not - Evaluates: a string of MATLAB code and returns the output.
- Inputs: -
code(string): MATLAB code to evaluate. - project_path: (string): Absolute path to your project directory. MATLAB sets this directory as the current working folder. Example: `C
- Executes: a MATLAB script and returns the output. The script must be a valid
.m file. - Inputs: -
script_path(string): Absolute path to the MATLAB script file to execute. Must be a valid.mfile. Example: `C:\Us - Executes: a MATLAB test script and returns comprehensive test results. Designed specifically for MATLAB unit test files that follo
- Inputs: -
script_path(string): Absolute path to the MATLAB test script file. Must be a valid.mfile containing MATLAB unit
Environment Variables
For: Windows or Linux, Download the Latest Release. ( (Required)For: macOS, first download the latest release by running the following command in your terminal: (Required)For: Apple silicon processors, run: (Required)For: Intel processors, run: (Required)
Installation
NPX
npx -y matlab/matlab-mcp-core-server
Related Resources
MCP Registry Server
MCP ServerPublish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
MCP Server Builder
SkillBuild high-quality Model Context Protocol (MCP) servers to integrate external APIs and services with AI assistants. Follow best practices for tool design, security, and cross-platform compatibility.
MCP Tool Orchestrator
PromptDesign and orchestrate complex multi-tool workflows using the Model Context Protocol (MCP). Build intelligent agent systems that coordinate multiple MCP servers for sophisticated automation tasks.
MCP
GlossaryMCP stands for Model Context Protocol. It is an open standard that lets AI clients connect to external tools, data sources, and prompts through a single, consistent interface. Anthropic introduced MCP in late 2024, and it has since been adopted by Claude Desktop, Cursor, Cline, VS Code, Windsurf, and a growing list of community clients. An MCP server is a small program that exposes three things: tools the model can call, resources the client can read, and prompts that help users accomplish common tasks. An MCP client discovers those capabilities and decides when to invoke them. Transport is usually stdio for local servers or Server-Sent Events for remote ones. For developers, MCP removes the need to build a custom integration for every API. You write one server, and any compatible client can use it. For users, it means AI assistants can securely access files, databases, SaaS tools, and web services without each client reinventing the wheel.
Mcp
MCP ServerCatalog of official Microsoft MCP (Model Context Protocol) server implementations for AI-powered data access and tool integration
Compare LLM Pricing
This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.