Skip to main content
MCP server CX Codex

tex-mcp-web — Claude Code MCP server: features and setup

The tex-mcp-web MCP server for Claude Code links LaTeX edits with comments on a rendered PDF. The agent updates the source, compiles the paper, and replies to review notes.

MIT ★ 10 updated 2026-11-16

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add tex-mcp-web -- uvx tex-mcp-web
Open on GitHub

What tex-mcp-web does

tex-mcp-web displays a LaTeX paper as a PDF in a web interface and passes comments on selected text or page regions to the agent. The agent edits the source, compiles the document, and responds in the comment thread. Suggested wording can be accepted or rejected.

Run do tex init to locate the main .tex file and a free port. The agent shows its proposed settings and, after approval, creates .tex-mcp-web.yaml. Overleaf comments can appear in a separate tab: private messages stay on the review page, while only replies marked public are sent to Overleaf.

A Claude Code session opened in the project folder waits for Call agent on its own. In Codex, ask the agent to run do tex listen after it starts.

What it helps with

  • comment on a PDF passage and send the note to the agent
  • request a figure or table change by marking its area
  • draft replies to co-authors' Overleaf comments
  • locate short lines when the paper exceeds its page limit

Example prompts for the agent

  • Set up PDF review for this project with do tex init.
  • Revise the selected passage from its comment, then compile the PDF.
  • Connect the Overleaf comments and draft a reply to a co-author.

How to install tex-mcp-web

Platform CLI

claude mcp add tex-mcp-web -- uvx tex-mcp-web

uvx runs the command named after the package; if the README names another one, use uvx --from tex-mcp-web <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about tex-mcp-web

How do I install tex-mcp-web in Claude Code?

Run claude mcp add tex-mcp-web -- uvx tex-mcp-web.

What does tex-mcp-web do?

It connects a LaTeX source to its rendered PDF so an agent can receive review comments, edit the source, compile the paper, and respond in the thread.

How does tex-mcp-web handle Overleaf comments?

Connected project threads appear in a separate tab. Messages to the agent remain private; only a public reply that is sent goes to Overleaf.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open