MATLAB MCP Server
About
The MATLAB MCP server provides AI users with powerful scientific computing and data analysis capabilities. It allows users to execute MATLAB code directly in conversations, generate MATLAB scripts from natural language descriptions, and access MATLAB documentation.
Details
- Author
- WilliamCloudQi
- GitHub stars
- 55
- Downloads
- 814
- Categories
- Developer Tools, AI, Knowledge Base, Other
Jump to
- Execute MATLAB code and view results in conversation.
- Generate MATLAB code from natural language descriptions.
- Access MATLAB documentation via matlab://documentation/getting-started URI.
- Option to save generated scripts for future reference.
- Get started guide with examples and usage instructions.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MATLAB MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install globally via npm (npm install -g matlab-mcp-server) or clone the repository and build manually. Configure the MCP server in your Claude desktop config file by adding the server entry with the path to the MATLAB executable. Use the MATLAB_PATH environment variable to specify the MATLAB installation location. Then invoke the server through your AI assistant to use its tools.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"matlab mcp server": {
"matlab-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@WilliamCloudQi/matlab-mcp-server",
"--client",
"claude"
]
}
}
}
}
McpServers
{
"matlab-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@WilliamCloudQi/matlab-mcp-server",
"--client",
"claude"
]
}
}
A powerful MCP server that integrates MATLAB with AI, allowing you to execute MATLAB code, generate MATLAB scripts from natural language descriptions, and access MATLAB documentation directly through your AI assistant.
- Access MATLAB documentation viamatlab://documentation/getting-startedURI
- Get started guide with examples and usage instructions
-
execute_matlab_code- Execute MATLAB code and get results
- Run any MATLAB commands or scripts
- Option to save scripts for future reference
- View output directly in your conversation
generate_matlab_code- Generate MATLAB code from natural language
- Describe what you want to accomplish in plain language
- Get executable MATLAB code in response
- Option to save generated scripts
- MATLAB installed on your system
- Node.js (v14 or higher)
To install MATLAB MCP Server for Claude Desktop automatically viaSmithery:
npx -y @smithery/cli install @WilliamCloudQi/matlab-mcp-server --client claude
Or clone the repository and build it yourself:
git clone https://github.com/username/matlab-mcp-server.git cd matlab-mcp-server npm install npm run build
To use with cline , add the server config:
On MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "matlab-server": { "command": "node", "args": ["/path/to/matlab-server/build/index.js"], "env": { "MATLAB_PATH": "/path/to/matlab/executable" }, "disabled": false, "autoApprove": [] } } }
Replace/path/to/matlab/executablewith the path to your MATLAB executable:
- Windows: UsuallyC:\\Program Files\\MATLAB\\R2023b\\bin\\matlab.exe
- macOS: Usually/Applications/MATLAB_R2023b.app/bin/matlab
- Linux: Usually/usr/local/MATLAB/R2023b/bin/matlab
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using theMCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Assists AI developers with requirement clarification, module design, and technical architecture.
Provides AI assistants with a comprehensive, one-time analysis for complete codebase context and understanding.
The official Duck Framework MCP server provides AI assistants with rich, project-aware context for building applications using Duck Framework. It offers documentation retrieval, code guidance, API references, best practices, component discovery, and framework-specific recommendations to help developers generate high-quality Duck Framework projects faster and more accurately.
An AI-powered documentation server for code improvement and management, with Claude and Brave Search integration.
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating how to give LLMs secure access to tools and data using Typescript and Python SDKs.
Automatic documentation updates from agents, and codebase conventions to reduce token usage.
AI agent readability scanner: 59 checks against the Vercel Spec, llmstxt.org, and agent-protocol manifests, with per-check fix guidance.
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent
Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





