LaTeX Look
Lets an agent compile LaTeX, see the rendered page and map a spot back to its source line
- Pricing
- Free
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- Version
- 0.4.3
- Listing updated
- today
Similar MCP servers
About LaTeX Look
LaTeX Look is a free MCP server for files and documents. It runs locally on your machine and is started by your AI client.
A LaTeX document can compile with zero errors and still look wrong, which an agent reading only .tex source cannot notice. latex_look is a single tool that compiles the document, renders a page as an image, maps a point or text on that page back to the exact source line using synctex, and diffs what the last edit changed. Pages return as image blocks so the model sees the result. A repair loop is look, diagnose, edit, look again, confirm.
Parameters cover the file, page, a text search, pointX and pointY, compare, audit, sequence and dpi. An audit mode asks what the last edit broke anywhere in the document. The same engine runs as a command line tool and, originally, as a plugin for DeepSeek Harness, with an optional SKILL.md giving a symptom, cause and fix playbook. The README cites a 215-page book as a case study.
It needs Node 18 or later, a TeX engine such as xelatex, lualatex, pdflatex, latexmk or tectonic, synctex and ghostscript. Nothing is uploaded: compilation uses the document on your disk.
Install
Run in a terminal
claude mcp add latex-look -- npx -y @fffangchenghao/dsh-latex-lookAdd to claude_desktop_config.json
{
"mcpServers": {
"latex-look": {
"command": "npx",
"args": [
"-y",
"@fffangchenghao/dsh-latex-look"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"latex-look": {
"command": "npx",
"args": [
"-y",
"@fffangchenghao/dsh-latex-look"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"latex-look": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@fffangchenghao/dsh-latex-look"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"latex-look": {
"command": "npx",
"args": [
"-y",
"@fffangchenghao/dsh-latex-look"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"latex-look": {
"command": "npx",
"args": [
"-y",
"@fffangchenghao/dsh-latex-look"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- latex_look
- Compiles a LaTeX file, renders a page, maps points to source and diffs builds
What it does
- Compile and render
- Builds the document and returns the page as an image.
- Source mapping
- Maps a point or text on the page to the exact .tex line.
- Build diffing
- Shows what the last edit changed between builds.
- Audit mode
- Checks what an edit broke elsewhere in the document.
- Local only
- Compiles documents on disk and uploads nothing.
- Update notices
- Reports when a newer release exists or is installed but not loaded.
Good for
- Spot layout defects in a document that compiles cleanly
- Find the source line behind an overlong link or wide figure
- Verify that a fix changed only what you intended
- Check a long book for regressions after edits
Pricing
Free
Published on npm; no price listed
LaTeX Look FAQ
What does it need installed?
Node 18 or later, a TeX engine, synctex and ghostscript.
Does it upload my files?
No. The README says every call compiles the document already on your disk.
Which clients can use it?
Claude Desktop, Cursor and Codex through the MCP server, or the DeepSeek Harness plugin.
How many tools does it expose?
One, latex_look.
Is LaTeX Look free?
Yes. LaTeX Look is free to use.
How do I add LaTeX Look to Claude Code?
Run this command in your terminal: claude mcp add latex-look -- npx -y @fffangchenghao/dsh-latex-look
What are the best alternatives to LaTeX Look?
The closest alternatives to LaTeX Look are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


