Overleaf MCP server
io.github.yangzichao/mcp-server-overleaf·v0.3.9Overleaf MCP server for Claude, Codex, ChatGPT, and Cursor with safe LaTeX editing and review.
not scanned yet
0 stars288 downloads/wk
Reviews
Write oneNobody has reviewed Overleaf yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Overleaf tools
No tool declarations could be read from the package source. They show once the server is installed.
How Overleaf compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,243 servers
- Downloads a week
- 288
- more than 80% of 12,306 servers with a package
Release history: 5 versions in the registry since 2026-09-11, latest 2026-10-15, typically one every 4 days.
Install Overleaf in Claude Code, Cursor or VS Code
Runs npx -y mcp-server-overleaf on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-server-overleaf -- npx -y mcp-server-overleaf
What the publisher says
From the Overleaf repository's README, as published. We do not edit it. Read it on GitHub
Overleaf MCP Server — Safe AI Editing for LaTeX Papers
Connect Claude Code, Claude Desktop, Codex, ChatGPT, Cursor, VS Code, or any MCP client to Overleaf. Read, search, edit, compile, and review real LaTeX projects without copy-pasting your paper into a chat window.
npx --yes mcp-server-overleaf@0.3.4 setupEdits stay in a local clone until you explicitly publish them. Before every read and every push, this Overleaf MCP server checks what your collaborators changed. If both of you touch the same lines, it stops the push and shows both versions instead of choosing a winner.
With an optional Overleaf session cookie, edits can also arrive as tracked-change suggestions for co-authors to accept or reject, and the existing review panel becomes readable. A plain Git push cannot express either.
Download the one-click Claude Desktop bundle or use the setup command above for Claude Code, Codex, Cursor, and other local AI clients.
Independent community project; not affiliated with or endorsed by Overleaf.
Why choose this Overleaf MCP server?
Several Overleaf MCP servers exist. Of the ones built on Overleaf's official Git bridge, this is the most complete, and it is the only one that stops instead of overwriting when a co-author has already changed the lines you are editing.
first checks what changed on Overleaf. When two edits touch the same lines, push_changes refuses and shows you both versions.
- A conflict ends the push, not your co-author's paragraph. Every read and every push
section or by exact text, add, rename and remove files, compile locally, inspect the diff, then publish deliberately.
- 18 tools, and nothing reaches Overleaf until you say so. Read, search, and edit by
Overleaf's editor rather than the Git bridge, so a change lands in the review panel for a co-author to accept or reject. A Git push cannot express that. Tracked changes
- An edit can arrive as a suggestion, not as finished text. Three optional tools talk to
bundle; Claude Code and Codex install it as a plugin.
- No terminal, if you do not want one. Claude Desktop installs it from a downloaded
it, and the published plugin declares no environment variables at all.
- The token is written once, to one file, at mode 600. No client configuration holds
Related projects compares the alternatives tool by tool, and is equally direct about the things this server cannot do.
Common workflows include revising an academic paper by section, searching a large LaTeX project, checking a bibliography, compiling before publication, reviewing the exact diff, and sending an edit to Overleaf as a tracked suggestion.
Where it installs
Every route below reaches the same server and the same 18 tools, and every one of them keeps edits local until an explicit push. Pick the row for your client. The three tracked-changes tools are extra, and appear only once a session cookie is configured.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Overleaf: common questions
- Is Overleaf MCP server safe?
- Mostly: it is graded B (83/100). Read the Overleaf safety report
- How do I install Overleaf?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Overleaf need an API key?
- Yes. The registry entry asks for
OVERLEAF_GIT_TOKEN,OVERLEAF_SESSION_COOKIE. - Is Overleaf maintained?
- The last commit was 22 days ago (2026-10-14). The latest release is v0.3.9.
- How does Overleaf compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,243 servers); downloads a week 288 (more than 80% of 12,306 servers with a package). Full comparison.