matlab-mcp-core-server — Claude Code skill: what it does
The matlab-mcp-core-server skill gives your coding assistant a MATLAB connection through MathWorks' MCP server: run scripts, check .m files statically, list toolboxes, attach to an open session.
no license 201 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a claude-codeWhat matlab-mcp-core-server does
The skill wires your assistant to the MCP server that MathWorks ships, so MATLAB turns into one more tool inside the conversation. From there the agent runs .m files, evaluates short expressions, inspects code without executing it, and reports the installed toolboxes together with the MATLAB version.
Four tools come with the server. check_matlab_code takes a file path and reports problems while leaving the script untouched. evaluate_matlab_code wants a code string plus a working folder, whereas run_matlab_file wants the script path. detect_matlab_toolboxes answers what is installed. Startup behaviour is set by --matlab-display-mode (desktop or nodesktop), and --matlab-session-mode=existing attaches to a session that is already running.
Two things have to be ready first: MATLAB R2021a or newer on the system PATH, and the server binary pulled from the releases. Miss either one and the server never starts, however tidy the config looks. Attaching to a live session takes R2023a or newer, and that mode needs a one-time ./matlab-mcp-core-server --setup-matlab run.
What it helps with
- run a MATLAB script from the chat and read its output
- catch style and error issues in an
.mfile without executing it - list the MATLAB version and installed toolboxes
- attach to a MATLAB session that is already open
- evaluate a quick matrix or plotting snippet without leaving the editor
Example prompts for the agent
- Run
/home/user/projects/analysis.min MATLAB and show me the output - Check
/home/user/projects/calculate_fft.mfor style problems - Which MATLAB toolboxes are installed on this machine?
How to install matlab-mcp-core-server
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a claude-code2Manually: put the files in place
~/.claude/skills/matlab-mcp-core-server/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/matlab-mcp-core-server/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a codex2Manually: put the files in place
.agents/skills/matlab-mcp-core-server/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a cursor2Manually: put the files in place
.cursor/skills/matlab-mcp-core-server/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/matlab-mcp-core-server2Manually: put the files in place
.github/skills/matlab-mcp-core-server/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/matlab-mcp-core-serverManually: put the files in place
.devin/skills/matlab-mcp-core-server/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about matlab-mcp-core-server
How do I install matlab-mcp-core-server in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill matlab-mcp-core-server -a claude-code. The skill lands at ~/.claude/skills/matlab-mcp-core-server/SKILL.md.
What does matlab-mcp-core-server do?
It connects your assistant to the MathWorks MCP server, so it can execute code and .m files, review a script without running it, report the MATLAB version and toolboxes, and attach to an open session.
What does the skill need in order to work?
MATLAB R2021a or newer on PATH, plus the server binary from the releases. Existing-session mode requires R2023a or newer and a single ./matlab-mcp-core-server --setup-matlab run.