neuromechanist/matlab-mcp-tools

View on GitHub ↗

An MCP to develop MATLAB pipelines section by section and read figures one dimension at a time

18 ★6 forksPythonUpdated 6mo ago

What you need to know

MCP server for developing and running MATLAB files, providing 15 tools for script execution, workspace inspection, figure analysis, and MATLAB linting.

Install

./install-matlab-mcp.sh auto-detects MATLAB and installs uv
Or manual setup via scripts/setup-matlab-mcp.sh
Configure client with MATLAB_PATH env

Usage

  • Run a MATLAB script and capture plots
  • Execute a single section by index/title
  • Llint code quality

Key features

  • Script and section execution with workspace persistence
  • Workspace variable inspection with field/depth control
  • Figure metadata and plot data extraction
  • matlab_lint via checkcode
  • Script creation and reading

Caveats

  • Requires Python 3.10+, MATLAB with Python Engine, and uv
Platforms: macOS · Windows · LinuxClients: Claude Code · Cursor

Reviewed 2026-08-11

Topics

agentic-workflowmatlabmodel-context-protocolscientific-visualization
Stars
18★
Forks
6
Language
Python
License
BSD-3-Clause
Created
2025-01-27
Last push
2026-03-02