tex-mcp-web
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tex-mcp-webshow paper with comments"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tex-mcp-web
Review a LaTeX paper from its rendered PDF, on a desktop, tablet, or phone, while Claude Code or Codex edits the source.
⭐ If this helps your writing, please give it a star. It helps others find the project.

Install
Paste this into Claude Code or Codex:
Install tex-mcp-web by following https://raw.githubusercontent.com/MiiKiyoshi/tex-mcp-web/main/INSTALL.mdThe agent checks for Python 3.10 or newer and latexmk, shows where it will install and
which agents it will register with, and installs once you agree. Start the agent again
afterwards.
Related MCP server: overleaf-mcp
Init
Once per paper, start the agent in the paper's folder and say:
do tex initThe agent finds the main .tex file and a free port, shows you the settings, and writes
.tex-mcp-web.yaml once you agree. A folder that already has one keeps it.
Listen
To review, say:
do tex listenOpen http://localhost:<port> with the port you chose at init. The agent serves the page,
so there is nothing else to start. Say it again after the agent restarts.
Reviewing
Drag over PDF text and write what should change. Add a suggested wording in the replacement box when you have one.
+ Note comments on the whole paper, and the Sections tab comments on a section. You can also select text in the Source tab and press + Comment.
Press Call agent, the bell in the Comments tab, when your comments are ready. The listening agent edits the source, compiles, and replies in the same thread. Without listen, ask the agent in chat to handle the tex comments.
Resolve a thread whose edit satisfies you, or Reply in it when it does not. Archive sets a thread aside, and it still takes replies.
Edits in the Source tab are saved when you press Save.
Suggested edits
The thread shows the source lines the agent would change as a −/+ pair, and the Source tab marks the same text in red. Apply suggestion writes the change into the file. Proposing again replaces the proposal.
On a tablet or phone

Forward the port you chose at init over SSH, from Termux on Android or iSH on iOS, then open
http://localhost:<port> in the phone's browser.
ssh -L <port>:localhost:<port> <server>Configuration
Edit .tex-mcp-web.yaml at the paper's root. A saved change applies at once, except port
and dir, which apply when Claude Code or Codex restarts.
main: main.tex
watch:
- '*.tex'
- '*.bib'
ignore:
- '*_backup.tex'
compiler: auto
port: 8765Field | Effect |
| Top-level source file compiled into the PDF. |
| Folder holding the paper, relative to this file or absolute. Unset means this file's folder. |
| Source files the Source tab offers. |
| Patterns excluded even when they match |
|
|
| This paper's review page port. Any free port works. Init picks the first free one from 8765, so each paper can have its own. |
Acknowledgements
tex-mcp-web is a hard fork of queelius/scholia at commit e6c7454 (version 0.6.1), independently developed since under the MIT license. See LICENSE. PDF viewing uses EmbedPDF and its PDFium WebAssembly engine, whose notices are in tex_mcp_web/static/embedpdf/LICENSE and tex_mcp_web/static/embedpdf/LICENSE.pdfium. Source highlighting uses Ace Editor builds 1.44.0 under the BSD-3-Clause license, and its notice is in tex_mcp_web/static/ace/LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that allows Claude AI to search, explore, and compare arXiv papers efficiently through a custom-built local server.418MIT
- AlicenseAqualityCmaintenanceAn MCP server for Overleaf that allows Claude or other agents to navigate projects, read and edit .tex files, compile, and interact with review-panel comments via Overleaf's real-time Socket.IO API, with seamless support for tracked changes as pending suggestions.1737 npm4AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceA real-time MCP server that enables AI coding agents to read, write, and compile LaTeX projects in self-hosted Overleaf instances via native OT protocol.114 npm7AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets Claude read, write, and push Overleaf LaTeX projects from the chat, with token-efficient features like sparse checkout and smart diffs.14MIT