by matlab
The MATLAB Agentic Toolkit brings trusted MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.
# Add to your Claude Code skills
git clone https://github.com/matlab/matlab-agentic-toolkitGuides for using ai agents skills like matlab-agentic-toolkit.
Last scanned: 5/19/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-19T07:45:24.713Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}The MATLAB® Agentic Toolkit allows you to use AI agents with MATLAB by giving your AI agent the knowledge and context to work efficiently with MATLAB and its toolboxes. Use this toolkit to provide trusted MATLAB capabilities to your agent. This toolkit can prevent your AI coding agent from hallucinating toolbox functions, missing new features, and wasting time with extra steps that experienced MATLAB users would skip.
Use this toolkit to:
Connect your AI agent to MATLAB. This toolkit does this by automatically installing the MATLAB MCP Server. You can then use your agent to write idiomatic code, generate and run tests, diagnose errors, build apps, and more.
Provide curated expertise, called skills, to your agent. These skills equip your agent with knowledge of MATLAB workflows, conventions, and best practices while minimizing token burn.
[!Note] To use AI agents with Simulink® only, install the Simulink Agentic Toolkit. To install both the toolkits, use the Agentic Toolkit Installer.
These steps show you how to use the MATLAB Agentic Toolkit to install the MATLAB MCP Server and add skills to your agent.
Note: For detailed instructions on configuration options for this toolkit, platform-specific notes, verification steps, and troubleshooting, see Configuration and Troubleshooting. If you already have the MCP server installed and only need to add skills, see Adding Skills Only.
You can use the Agentic Toolkit installer to set up the MATLAB Agentic Toolkit. The installer:
--matlab-session-mode="auto" or "existing").Follow these steps to set up the MATLAB Agentic Toolkit.
setupAgenticToolkit("install")
Install only the skill groups relevant to your work — this helps your agent reliably trigger the right skills. To add more skill groups later, re-run the installer.
You can also use your agent to set up the MATLAB Agentic Toolkit. Note that this approach installs all skill groups. To use specific skill groups only, you must manually remove other skill groups after setup (see Adding Skills Only). The MATLAB-based installer above is recommended for most users.
Clone the repository:
git clone https://github.com/matlab/matlab-agentic-toolkit.git
cd matlab-agentic-toolkit
Deploy your agent (claude, codex, gemini, etc.) and ask the agent to set up the MATLAB Agentic Toolkit.
Set up the MATLAB Agentic Toolkit
The setup looks for your most recent MATLAB installation, downloads the MCP server binary to ~/.matlab/agentic-toolkits/bin/, writes your agent's global configuration, and registers skills through the agent's native plugin system or global skill links. After your setup is complete, start a new session in any project directory to use the MATLAB tools and skills.
Ask your agent:
What version of MATLAB is running? List the installed toolboxes.
After you install the MATLAB Agentic Toolkit, your agent can use these tools provided by the MATLAB MCP Server.
| Tasks you can ask your agent to do | Tool used by agent |
|---|---|
| Run MATLAB code and return command window output | evaluate_matlab_code |
| Run a MATLAB program | run_matlab_file |
Run tests via runtests with structured results |
run_matlab_test_file |
| Static analysis with the Code Analyzer | check_matlab_code |
| List installed MATLAB version and toolboxes | detect_matlab_toolboxes |
The server also provides two MCP resources: matlab_coding_guidelines (coding standards) and plain_text_live_code_guidelines (Live Script format rules).
After you install the MATLAB Agentic Toolkit, your agent can use skills. For best results, install only the skill groups relevant to your work — agents are more reliable at triggering skills when fewer are loaded. You can also manually trigger a specific skill by name (e.g., /matlab-testing in Claude Code) to guarantee it loads. To read details about all the skills, see the skills catalog. Skill groups include:
| Skill Group | Description |
|---|---|
| MATLAB Core | Create, debug, test, review, and manage MATLAB code and installations |
| MATLAB App Building | Build MATLAB apps programmatically using UI components, layouts, callbacks, and web integration |
| MATLAB Data Import and Analysis | Analyze tabular data in MATLAB using tables, timetables, filtering, aggregation, and time-series operations |
| MATLAB External Language Interfaces | Call Python™ libraries from MATLAB and upgrade MEX files to the interleaved complex API |
| MATLAB Programming | Write robust MATLAB functions with validated inputs |
| MATLAB Software Development | Modernize legacy code, optimize performance and memory, document and create toolboxes, create projects, and develop build plans |
| Skill Group | Supported Products |
|---|---|
| Aerospace | Aerospace Toolbox |
| AI and Statistics | Deep Learning Toolbox and Statistics and Machine Learning Toolbox |
| Automotive | Automated Driving Toolbox, RoadRunner, and RoadRunner Scene Builder |
| Cloud Solutions | MATLAB Drive |
| Code Generation | Fixed-Point Designer |
| Computational Biology | SimBiology |
| Computational Finance | Datafeed Toolbox |
| Image Processing and Computer Vision | Image Processing Toolbox, Computer Vision Toolbox, Lidar Toolbox, and Medical Imaging Toolbox |
| Math and Optimization | PDE Toolbox |
| Parallel Computing | Parallel Computing Toolbox and MATLAB Parallel Server |
| Radar | Phased Array System Toolbox, Sensor Fusion and Tracking Toolbox, and Mapping Toolbox |
| Reporting and Database Access | Database Toolbox |
| RF and Mixed Signal | Antenna Toolbox, Mixed-Signal Blockset, RF Toolbox, RF PCB Toolbox, and SerDes Toolbox |
| Robotics and Autonomous Systems | Navigation Toolbox, UAV Toolbox, and Robotics System Toolbox |
| Signal Processing | Audio Toolbox, DSP HDL Toolbox, DSP System Toolbox, Signal Processing Toolbox, and Wavelet Toolbox |
| Test and Measurement | Data Acquisition Toolbox, Image Acquisition Toolbox, Industrial Communication Toolbox, MATLAB Support Package for Arduino Hardware, and Vehicle Network Toolbox |
| Wireless Communications | Communications Toolbox, 5G Toolbox, WLAN Toolbox, Bluetooth Toolbox, Satellite Communications Toolbox, Wireless Network Toolbox, and Wireless Testbench |
| <! |
matlab-agentic-toolkit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by matlab. The MATLAB Agentic Toolkit brings trusted MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready. It has 759 GitHub stars.
Yes. matlab-agentic-toolkit passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/matlab/matlab-agentic-toolkit" and add it to your Claude Code skills directory (see the Installation section above).
matlab-agentic-toolkit is primarily written in MATLAB. It is open-source under matlab on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh matlab-agentic-toolkit against similar tools.
No comments yet. Be the first to share your thoughts!