matlab-mcp-server-python: Instructions file for Claude Code

CLAUDE.md

matlab-mcp-server-python CLAUDE.md is an instructions file for Claude Code from HanSur94/matlab-mcp-server-python. It costs 4,228 tokens per session, scanned A, original, MIT.

Project instructions for a Python server that connects coding agents to MATLAB through MATLAB’s Engine API.

In plain words
What is it for?
Use them when developing or maintaining the MATLAB MCP server, including its agent connection, MATLAB execution, monitoring dashboard, configuration, and Windows support.
Why use it?
They give contributors the project’s required versions, platform limits, compatibility requirements, and dependency on MATLAB R2022b or newer.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code; mentions Codex.

This is HanSur94/matlab-mcp-server-python's own configuration. It tells Claude Code how to work on matlab-mcp-server-python itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything matlab-mcp-server-python configures →

Reuse

Borrowing it

Nothing to install: this file belongs to HanSur94/matlab-mcp-server-python. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/HanSur94/matlab-mcp-server-python/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/HanSur94/matlab-mcp-server-python

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for matlab-mcp-server-python CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hansur94/matlab-mcp-server-python/claude-md/github.svg)](https://agentmods.dev/instructions/hansur94/matlab-mcp-server-python/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/hansur94/matlab-mcp-server-python/claude-md"><img src="https://agentmods.dev/badge/instructions/hansur94/matlab-mcp-server-python/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for matlab-mcp-server-python CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/hansur94/matlab-mcp-server-python/claude-md"><img src="https://agentmods.dev/badge/instructions/hansur94/matlab-mcp-server-python/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,228 This file is loaded in full into every session.
When invoked 4,228 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04228 $0.04228
Opus 5.5 $0.01691 $0.01691
Sonnet 5.5 $0.00846 $0.00846
Haiku 4.5 $0.00423 $0.00423

Measured 2mo ago against content hash 5142fb660891, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

matlab-mcp-server-python CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 296 lines

How it starts

The opening of the file, as written. The whole thing — 296 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project

MATLAB MCP Server — v2.0 Milestone

A Python-based MCP server that lets AI coding agents (Claude Code, Codex CLI, etc.) execute MATLAB code, inspect workspaces, manage files, and monitor server health. It bridges the Model Context Protocol to MATLAB's Engine API with elastic pooling, session isolation, and async job orchestration.

Core Value: Any MCP-compatible coding agent can connect to MATLAB and run code securely — with minimal setup, proper authentication, and production-grade reliability.

Constraints

  • Tech stack: Python 3.10+, must keep backward compat with existing config.yaml format
  • Platform: Must work on Windows 10 without admin rights (no service installation, no elevated ports)
  • Dependency: FastMCP 3.0 migration must not break existing stdio/SSE clients
  • MATLAB: Requires MATLAB R2022b+ with Engine API — this is an external user dependency

Technology Stack

Languages

  • Python 3.10+ - Core application language, enforced via pyproject.toml
  • MATLAB R2022b+ - Target runtime for code execution (via MATLAB Engine API)
  • JavaScript/TypeScript - Dashboard frontend (static HTML/CSS/JS in monitoring UI)

Runtime

  • Python 3.10, 3.11, 3.12 - Supported versions per pyproject.toml
  • MATLAB Engine API for Python - Bridge to MATLAB execution (imported at src/matlab_mcp/pool/engine.py)
  • pip - Python dependency management
  • Lockfile: requirements-lock.txt (pinned versions)
  • Build backend: hatchling (via [build-system] in pyproject.toml)

Frameworks

  • FastMCP 3.4.4 - MCP server framework (fastmcp>=3.4.4,<4.0.0 in dependencies)
  • Starlette 0.52.1 - Web framework for HTTP monitoring dashboard (src/matlab_mcp/monitoring/dashboard.py)
  • Uvicorn 0.42.0 - ASGI server for HTTP transport and dashboard
  • Model Context Protocol (MCP 1.26.0) - Protocol implementation
  • Pydantic 2.12.5 - Configuration validation and data models (src/matlab_mcp/config.py)
  • PyYAML 6.0.3 - Configuration file parsing (YAML format)
  • aiosqlite 0.22.1 - Async SQLite for metrics persistence (src/matlab_mcp/monitoring/store.py)
  • Plotly 6.6.0 - Interactive plot generation and JSON export (src/matlab_mcp/output/plotly_convert.py)
  • Pillow 12.1.1 - Image processing for thumbnails (src/matlab_mcp/output/thumbnail.py)
  • sse-starlette 3.3.3 - Server-sent events for multi-user SSE transport
  • websockets 16.0 - WebSocket support
  • pytest 7.0+ - Test runner
  • pytest-asyncio 0.21+ - Async test support
  • pytest-cov 4.0+ - Coverage reporting
  • ruff 0.1.0+ - Code linting and formatting
  • pip-audit 2.6.0+ - Security vulnerability scanning
  • build 1.0.0+ - Python package builder

Read the full file on GitHub · 296 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 296 lines · 4,228 tokens per session scan A 5142fb660891

Subscribe to this mod's changes

matlab-mcp-server-python CLAUDE.md is an instructions file published in the GitHub repository HanSur94/matlab-mcp-server-python (4 stars, last pushed 3mo ago), licensed MIT. It adds 4,228 tokens to every session, about $0.0169 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

matlab-mcp-server-python CLAUDE.md compared with instructions from other repositories

matlab-mcp-server-python CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
matlab-mcp-server-python CLAUDE.mdHanSur94/matlab-mcp-server-pythonInstructions file43mo agoMITA4,228Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode