Compile a LaTeX page, see it rendered, map a PDF point back to source, and diff builds.
MCPpedia last refreshed this data
io.github.fangchenghao/latex-look is an MCP server that compile a LaTeX page, see it rendered, map a PDF point back to source, and diff builds. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 85/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"latex-look": {
"args": [
"-y",
"@fffangchenghao/dsh-latex-look",
"mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Compile a LaTeX page, see it rendered, map a PDF point back to source, and diff builds.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @fffangchenghao/dsh-latex-look against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in writing
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Any file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images, audio/video. Local MCP.
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
Create, edit and publish micropage.sh landing pages and blog posts from markup.
MCP Security Weekly
Get CVE alerts and security updates for io.github.fangchenghao/latex-look and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
English · 简体中文

Left: compiles with zero errors. Right: after five sentences a reader could say out
loud — "remove the rules around the title", "this table is a grid, make it a
booktabs table", "that link runs off the page", "the figure is too wide". Try it
yourself in examples/broken-layout.
A DeepSeek Harness plugin that adds exactly one tool: latex_look.
A LaTeX document can compile with zero errors and still look wrong. latex_look renders the requested page, uses SyncTeX to locate nearby source, and shows what changed since the previous build.
┌─────────────┐ latex_look ┌──────────────┐
│ agent │ ─────────────► │ pdf → png │
│ (edits .tex)│ │ synctex │
└─────────────┘ ◄───────────── │ pixel diff │
▲ image + line └──────────────┘
└─────────────── verification ───────────┘
Read the case study: a 215-page LaTeX book, read the way a reader reads it — 163 figures, 129 equations, six classes of defect that compile cleanly.
Rendering, locating, and diffing are the implementation. The agent needs one coherent verb — "look at this page" — the same way a person does. latex_look compiles, renders, resolves, and diffs in a single call, so the loop is:
look → diagnose → edit .tex → look again → confirm the change → report
Requires Node ≥ 18, a TeX engine (xelatex/lualatex/pdflatex/latexmk or tectonic), synctex, and ghostscript.
This repository is the bundle: package.json declares dsh.bundle.patch, and cordis.patch.yml inserts one row.
git clone https://github.com/fangchenghao/latex-look
Then install it into the current profile (in the Harness, via the plugin manager):
plugin_manager action: install_bundle target: /absolute/path/to/latex-look
That adds the row latex-look and registers the latex_look tool. Replacing the sources of an already-installed package needs a Harness restart to load a fresh module generation.
Published on npm as @fffangchenghao/dsh-latex-look, so the same row also installs straight from the registry:
plugin_manager action: install_bundle target: @fffangchenghao/dsh-latex-look
Two different facts, and the plugin reports them separately because confusing them is how an update goes missing:
A newer release exists. The registry is asked once a day, in the background; when something newer is published, one line is appended to a tool reply. An offline machine sees nothing at all, and an unreachable registry is never reported as "up to date".
A newer release is already installed. This is the one that silently bites. An
updater replaces the package directory while the old code keeps running, so the
running code goes on reading its version out of a package.json that was swapped
underneath it — it reports the new number while executing the old code, and
everything looks current. The plugin therefore remembers the version it started with,
re-reads the disk at most once a minute, and when the two disagree says so:
note: @fffangchenghao/dsh-latex-look 0.4.2 is installed on disk, but this process is
still r
... [View full README on GitHub](https://github.com/fangchenghao/latex-look#readme)