Skip to content
Tresca

MATLAB MCP servers and AI agent skills

MathWorks publishes the official MATLAB MCP Server, a Go binary that starts or connects to MATLAB on your machine to run code, run tests and check code, plus the MATLAB Agentic Toolkit of skills and an MCP framework for MATLAB Production Server. Community servers built on the MATLAB Engine for Python add section-by-section execution, engine pools and figure extraction. Everything needs a local, licensed MATLAB: R2021a or later for the official server, R2022b or later for most community ones.

  • Includes MathWorks's official server (pre-1.0).
  • 7 MCP servers and 2 agent skills listed.
MathWorks7 servers · 2 skillsChecked 4 Nov 2026

Integrations for MATLAB

Official

PluginOfficial

Simulink Agentic Toolkitby MathWorks

MathWorks's Simulink tools and Model-Based Design skills, added to the MATLAB MCP Server so an agent can read, edit and test models.

LocalWindows, Linux, macOSNeeds a MATLAB licenceCan modify models1.3k· updated 2 days ago
MCP serverOfficial · Pre-1.0

MATLAB MCP Serverby MathWorks

MathWorks's own MCP server: starts or connects to MATLAB on your machine, runs and tests code and checks it with the Code Analyzer.

LocalWindows, Linux, macOSNeeds a MATLAB licenceCan modify models1.8k· updated 7 days ago
MCP serverOfficial

MCP Framework for MATLAB Production Serverby MathWorks

Publishes your own MATLAB functions as MCP tools on MATLAB Production Server, so agents call deployed code over HTTP.

RemoteNeeds a MATLAB licenceRead-only or read-write (configurable)36· updated 8 days ago
SkillOfficial

MATLAB Agentic Toolkitby MathWorks

MathWorks's skill groups for MATLAB and its toolboxes, installed together with the MATLAB MCP Server and wired into your agent.

LocalWindows, Linux, macOSNeeds a MATLAB licence1.3k· updated 10 days ago

Community and commercial servers

MCP serverCommunity

MATLAB MCP Server (matlab-mcp-python)by HanSur94

A Python MATLAB server with an engine pool for several users, async long jobs, and figures returned as interactive Plotly charts.

LocalWindows, macOS, LinuxNeeds a MATLAB licenceCan modify models4· updated 4 months ago
MCP serverCommunity

MATLAB Simulink MCP Server (matlab-simulink-mcp)by Rohail Malik

A FastMCP server that runs MATLAB code and reads Simulink models through the MATLAB Engine, confined to one working folder.

LocalWindows, macOS, LinuxNeeds a MATLAB licenceCan modify models0· updated 5 months ago
MCP serverCommunity

Simulink MCP Server (turboboost17)by turboboost17

A 43-tool MATLAB and Simulink server for VS Code agents, working in a shared MATLAB session you can watch and edit.

LocalWindowsNeeds a MATLAB licenceRead-only or read-write (configurable)1· updated 6 months ago
MCP serverCommunity

MATLAB MCP Tool (matlab-mcp-tools)by neuromechanist

Runs MATLAB scripts section by section through the Python engine and lets the agent inspect variables and read figures.

LocalmacOS, WindowsNeeds a MATLAB licenceCan modify models19· updated 8 months ago

Agent skills

SkillCommunity

MATLAB Agent Skills (matlab-agent-skills)by wzyn20051216

Nine skills that route MATLAB and Simulink work through the official MCP server and end each task with logs and a check.

LocalWindowsNeeds a MATLAB licence30· updated 8 days ago

Listings are sorted by origin, then by recent activity. GitHub data is refreshed nightly. Nothing here is ranked.

How AI connects to MATLAB

An MCP server or skill can only do what MATLAB lets programs do. MATLAB exposes 3 automation interfaces:

  • MATLAB language, scripts and functions (Other): The official server doesn't wrap MATLAB in dozens of narrow tools. It gives the agent five: evaluate a code string, run an .m or .p file, run a unit-test file, run the Code Analyzer on a script, and list the installed release and toolboxes. Anything MATLAB or an installed toolbox can do is reachable through those, and JSON extension files can add your own tools, which is how the Simulink Agentic Toolkit adds model-editing tools. Documentation
  • MATLAB Engine API for Python (Python): The Engine API lets a Python program start MATLAB, or connect to a shared session, and call it as a computational engine. It needs a full MATLAB install (MATLAB Runtime is not enough) and a matlabengine package that matches your MATLAB release and a supported Python version. Most community MATLAB and Simulink MCP servers are Python programs built on it. Documentation
  • MATLAB Production Server (REST API): For shared or centralised use, MathWorks's MCP framework compiles chosen MATLAB functions and deploys them to MATLAB Production Server (R2025b or later) as MCP tools over HTTP. Agents then call only those functions, with typed inputs, rather than getting an open MATLAB session. Documentation

What MathWorks offers

MathWorks offers three things. MATLAB Copilot is a paid generative AI assistant inside the MATLAB desktop that answers questions, completes and explains code and generates tests. The MATLAB MCP Server on GitHub (v0.16.0, 30 October 2026) connects outside agents such as Claude Code, Copilot, Codex and Gemini CLI to local MATLAB. The MATLAB and Simulink Agentic Toolkits add curated skills and a single installer for both.

Checked 4 Nov 2026. Sources: MATLAB Copilot (MathWorks), MATLAB MCP Server product page (MathWorks), matlab/matlab-mcp-server releases, matlab/matlab-agentic-toolkit

What you can do with MATLAB and AI

  • Write a script, run it in your MATLAB session and read back Command Window output, without copying code between the chat and the editor.
  • Generate unit tests for a function and run them with structured pass and fail results.
  • Run the Code Analyzer over a script and fix style issues, deprecated functions and likely bugs.
  • Run a long script section by section, inspect variables and structs, and pull raw data out of the resulting figures.
  • Load toolbox-specific skills (for example control systems, signal processing or aerospace) so the agent uses current functions instead of guessing.
  • Publish a vetted calculation as an MCP tool on MATLAB Production Server for your team's agents.

Taken from the listings' own documentation. Check each listing for exactly what it supports.

Installing

The listings here document setup for Amp, Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, GitHub Copilot, GitHub Copilot CLI, VS Code and VS Code (GitHub Copilot). Install steps, copied from each project's own documentation, are on each listing's page. Most MATLAB integrations run on your own computer next to MATLAB, so you need MATLAB installed and licensed on the same machine unless the listing says otherwise.

Questions

Is there an official MATLAB MCP server?

Yes. MathWorks publishes the MATLAB MCP Server at github.com/matlab/matlab-mcp-server, with prebuilt binaries for Windows, Linux and macOS and a Claude Desktop bundle. It is free to download, but its licence only allows use with MathWorks products, and a server must not be shared by several users.

Which MATLAB release do I need?

R2021a or later for the official server, and R2023a or later if you want it to attach to a session you already have open (run shareMATLABSession() in MATLAB). The Simulink Agentic Toolkit also needs R2023a or later.

Can Claude run MATLAB code?

Yes. Add the official server to Claude Code with claude mcp add --transport stdio matlab followed by the binary path, or install the .mcpb bundle in Claude Desktop. MathWorks asks you to review each tool call, since the evaluate tool runs whatever code it is given.

Does the MATLAB MCP server send data to MathWorks?

It collects anonymised usage data by default. Start it with --disable-telemetry=true to turn that off. The code you run stays in your local MATLAB.

How is this different from MATLAB Copilot?

MATLAB Copilot is a separately licensed assistant built into the MATLAB desktop. The MCP server works the other way round: your own AI client (Claude, Copilot, Codex, Gemini CLI) controls a local MATLAB through tools.

AI-generated models, drawings and results must be checked by a qualified engineer before use.

Sources (checked 4 Nov 2026): matlab/matlab-mcp-server README · MATLAB MCP Server product page (MathWorks) · MATLAB Engine API for Python (MathWorks) · matlab/agentic-toolkit-installer README · MATLAB Copilot (MathWorks) · MATLAB product page

MATLAB is a trademark of MathWorks. Tresca is independent and not affiliated with or endorsed by MathWorks.