Skip to main content

tex-mcp-web

tests license release python

Comment on your paper's PDF, and the coding agent that did the research fixes the LaTeX.

tex-mcp-web adds a review page for LaTeX papers to Claude Code and Codex. You open the page in a browser and comment on the PDF, and the agent edits the source. It runs on Windows, macOS and Linux.

A sentence selected in the PDF gets a comment asking for a number, and a box drawn over a table on the second page gets a comment asking for horizontal rules. One press of Call agent sends both. The agent proposes new wording for the sentence as an old and a new line, and answers that it added rules to the table. Once the wording is applied and the paper compiled, the PDF shows the new sentence and the ruled table.

Select words in the PDF, or draw a box over a figure or a table, and write what should change. Call agent sends all your comments at once. The agent edits the source, builds the PDF again and answers each comment. For a change of wording it shows the old and the new text, and you apply or reject it.

The agent is the session you already work in. It wrote the code and ran the experiments, so it answers from that work, and nothing is copied into another tool.

Quick start

  1. Paste this into Claude Code or Codex, and restart the agent when it is done:

    Install tex-mcp-web by following https://raw.githubusercontent.com/MiiKiyoshi/tex-mcp-web/main/INSTALL.md
    

    The agent says what it will install and installs once you agree.

  2. Say do tex init in the session where you work. The agent finds the main .tex file, proposes the settings, and saves them once you agree. If the paper is on Overleaf, give the agent the project's link, and it brings the files into a folder.

  3. Open the address the agent gives, comment on the PDF, and press Call agent.

In a terminal, a coding agent that has analyzed temperature logs is asked to write the findings up as a short paper, and then told do tex init. It lists the settings it proposes, asks whether other people log in to the machine, and saves the settings. The review page opens with the compiled paper.

You need Python 3.10 or newer and a LaTeX installation with latexmk. The agent checks both and asks before it installs anything.

The page is served from your own machine and answers only to it. Your comments are kept in the paper's folder. The page contacts three places: Overleaf when you connect it, the translation program when you set one, and the package index once a day for a newer release.

Work with co-authors on Overleaf

In a co-author's thread from Overleaf, the agent has misread the request and drafted a gushing reply. After a private reply corrects it, the agent fixes the sentence, the PDF shows the change, and the draft for Overleaf shrinks to one short line, which is sent with ss. The thread is then no longer marked unanswered.

Connect Overleaf asks for the project's link and, once, your Overleaf sign-in cookie. Your co-authors' comments then appear on the page. Under each comment you talk with the agent in private, and the agent drafts the reply. Only the reply you send appears on Overleaf.

The same thread on the review page and on Overleaf. The review page shows the co-author's comment, the conversation with the agent marked private and the sent reply marked public, while Overleaf shows only the comment and the sent reply.

The agent also turns a rough note into a new comment for your co-authors. Edits they suggest on Overleaf are accepted or rejected here. A search finds one comment by its writer, its file and its date. Working with Overleaf shows each of these, and how the files stay in sync with Overleaf.

Read the paper in your language

In the Preview, Translation: Korean is chosen from the ⋯ menu. The pane under the PDF shows Translating… and then each paragraph of the source in Korean, with the paragraphs on page 1 marked. On page 2, the marks move to the Results, the table caption and the Discussion. Clicking the Korean Results paragraph opens the source beside the PDF at those lines, and clicking a line of the Method in the source moves the highlight in the pane to the Method paragraph.

The page shows each paragraph in your language under the PDF. A click on a translated paragraph opens its lines in the source, and the paragraph you edit stays highlighted. You choose the program that translates, so you choose the model and the cost. Translation describes the setup.

More

  • Page limit. The agent sees where the text ends and how many lines are left, so it can shorten the paper to fit and check the result. Problems describes the list.
  • Writing rules. The agent reads your rules from a file before it edits, in every paper that names the file. Configuration describes guideline and references.
  • Keyboard. Every step works without the mouse, and the editor has Vim keys. Comment keys lists them.
  • Tablet and phone. The page works by touch. Opening the page from another device also covers an agent that runs on a server.
  • Settings. do tex init saves them in .tex-mcp-web.yaml. Configuration describes every field.

⭐ If this helps your writing, please give it a star. It helps others find the project.

See also

html-mcp-web reviews an AI agent's HTML slides or reports the same way, and exports finished slides as an editable PowerPoint deck.

Acknowledgements

tex-mcp-web is a hard fork of queelius/scholia at commit e6c7454 (version 0.6.1) and has been developed independently since then under the MIT license; see LICENSE. The PDF viewer is EmbedPDF with its PDFium WebAssembly engine, whose notices are in tex_mcp_web/static/embedpdf/LICENSE and tex_mcp_web/static/embedpdf/LICENSE.pdfium. The bundled viewer differs from the release only in its zoom gesture, which is described in Reviewing in detail. Syntax highlighting and completion in the source editor use Ace Editor builds 1.44.0 under the BSD-3-Clause license, and its notice is in tex_mcp_web/static/ace/LICENSE.

Metadata

Release files for tex-mcp-web 0.11.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tex-mcp-web 0.11.3
File Size Uploaded Provenance Actions
tex_mcp_web-0.11.3.tar.gz 3.2 MB With provenance Details for tex_mcp_web-0.11.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tex-mcp-web 0.11.3
File Interpreter ABI Platform Actions
tex_mcp_web-0.11.3-py3-none-any.whl Python 3 none any Details for tex_mcp_web-0.11.3-py3-none-any.whl

Total release size: 6.3 MB

Release files / tex_mcp_web-0.11.3.tar.gz

Download URL tex_mcp_web-0.11.3.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
6fddea3a7f9080abb1aea03fb71fbb281cada581ed61b3f0668ea7ecb68b8feb
BLAKE2b-256 checksum
How to use checksums
ae8f31e65fdcc76b820671978d2a76698b5692aa9eecc4bac3414bd8fe544375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / tex_mcp_web-0.11.3-py3-none-any.whl

Download URL tex_mcp_web-0.11.3-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
951b9b143d81fecdd078e0d66bebd419f6dc7797fa6dca20bf12fe1114440afb
BLAKE2b-256 checksum
How to use checksums
8caae0a5d9daab34bdc32cc180d04a883a89a9f427da0807a6bfd386f0ff9253
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for tex-mcp-web 0.11.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tex_mcp_web-0.11.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page