latex

latex is a Claude Code mod by zaahiral that render TeX math, TikZ diagrams and LaTeX blocks in Claude Code's desktop app, in any of 10 LaTeX fonts, with every LaTeX compile sandboxed.

Updated 2026-10-02

What is latex?

latex is a Claude Code mod by zaahiral that render TeX math, TikZ diagrams and LaTeX blocks in Claude Code's desktop app, in any of 10 LaTeX fonts, with every LaTeX compile sandboxed. It is listed under Security and has 6 GitHub stars.

TypeClaude code mod
Authorzaahiral
Repositoryzaahiral/claude-latex
Popularity6 GitHub stars
CategorySecurity
SecurityHigh risk (52/100)
Rank#680 of 5,272 Claude Code mods; #95 in Security
LicenseMIT
Last commit2026-10-02
Stars this week+2
Hooks6 events
Seesevery prompt
Draws onAssistantMessage|UserMessage, AbovePrompt, Pane

Is latex safe to install?

latex scores 52/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.command.register
$.config.list
$.config.setchanges config
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.copydraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install latex?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/zaahiral/claude-latex
    claude plugin validate ./claude-latex/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add zaahiral/claude-latex && claude plugin install latex@claude-latex

Or ask Claude to set it up

Paste this into Claude Code and it installs latex for you:

Install the "latex" Claude Code mod from https://github.com/zaahiral/claude-latex. Run claude plugin validate on it first and show me what it can access before you enable it.