Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Overleaf Web MCP

MCP server by mhmdaskari Community

Overleaf Web MCP lets AI assistants read, edit, compile, and review Overleaf projects through the user's own signed-in web session. It also works as a command line tool and a TypeScript library.

  • Score 82
  • 14 stars
  • 1.2k a week
  • MIT
  • Updated

Install Overleaf Web MCP

Built from the published package, never by AI.

claude mcp add overleaf-web-mcp -- npx -y overleaf-web-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Overleaf Web MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the overleaf-web-mcp block.

About

Overleaf Web MCP is a Model Context Protocol server, a command line tool, and a TypeScript library for working with Overleaf projects. It signs in once through a browser window the user controls, then lets an AI assistant, a script, or a program browse files, make revision-checked edits, compile, and handle review comments and tracked changes. It uses the same browser-facing endpoints as the Overleaf editor.

It suits Overleaf users who want an assistant or script to work on their projects. Edits can be recorded as tracked changes, and destructive actions need confirmation first. The source describes 33 tools in eight groups, and read-only tools change nothing on Overleaf.

Written from the project's README and checked against it.

Tools it gives your assistant

  • auth_statusVerifies the saved session and reports when it expires.
  • list_projectsLists and searches projects, newest first.
  • read_fileReads a text document and its revision.
  • write_fileReplaces a document with a revision-checked edit of only the changed words.
  • sync_directoryUploads changed local files and can delete files removed locally in mirror mode.
  • compile_projectCompiles the project and reports errors and warnings from the log.
  • get_sectionsParses the section headings of one file.
  • list_commentsLists review threads with their locations.
  • list_tracked_changesLists tracked changes with their locations and authors.
  • monitor_project_historyPolls recent project history with a cursor to see who changed what.

What you need

  • Node.js 20 or newer
  • A Chrome-family browser (Chrome, Chromium, Brave, or Edge)
  • An Overleaf account
SettingNeededWhat it is
OVERLEAF_BASE_URLEnvironment variableOptionalOverleaf origin to use, for a self-hosted instance. Use the same value for login and serve. Default: https://www.overleaf.com
OVERLEAF_COOKIE_JAR_FILEEnvironment variableOptionalWhere the saved session is read from, if not the platform configuration directory.
OVERLEAF_ALLOWED_PROJECTSEnvironment variableOptionalComma-separated project ids the server may touch. Unset allows every project.
OVERLEAF_LOCAL_READ_ROOTSEnvironment variableOptionalAbsolute folders local reads must stay inside, separated by : (; on Windows). Unset allows any.
OVERLEAF_LOCAL_WRITE_ROOTSEnvironment variableOptionalAbsolute folders local writes must stay inside, separated by : (; on Windows). Unset allows any.
OVERLEAF_ALLOWED_EFFECTSEnvironment variableOptionalComma-separated kinds of change operations may make, such as overleaf-read. Unset allows all.
OVERLEAF_TOOLSETSEnvironment variableOptionalComma-separated tool groups to offer MCP clients, such as files,compile. Unset offers every tool.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Compile the paper and tell me whether it built cleanly, and where any errors are.
  • Summarize the open review comments and reply to the one about Table 2.
  • Rewrite the introduction of main.tex for a general audience, as a tracked change.

Good to know

  • Uses Overleaf's private web APIs, which can change without notice.
  • Automating www.overleaf.com may carry Terms-of-Service and account risk.
  • The saved session lasts five days from its last use.
  • Accepting or rejecting tracked changes needs a project whose owner's Overleaf plan includes track changes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Overleaf Web MCP

All alternatives →
MR Office XinaTian
98

Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.

ACA Local and remote 5.8k
kordocchrisryugj
94

Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.

AAA Local 129k/wk
Desktop Commanderwonderwhy-er
94

Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.

AAA Local 1.4M/wk
MCP Linear tacticlaunch
94

Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.

AAB Local 69k/wk
Pptx Viewer MCP ChristopherVR
94

pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.

AAB Local 50k/wk
Dsh Plugin Reactive Resume amruthpillai
94

Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.

AAA Local 46k

Compare with MR Office, kordoc or Desktop Commander

Overleaf Web MCP: common questions

Does it need an Overleaf premium plan?

The source says no Git integration or premium plan is needed for the core workflow. Accepting or rejecting tracked changes does need a plan that includes track changes.

Does it store my Overleaf password?

The source says only cookies for the Overleaf origin are saved, to a file only the user can read.

Can it delete projects by accident?

Projects go to the trash first, and permanent deletion only works from there. Trashing or deleting a project requires its name to be confirmed.

How do I install Overleaf Web MCP?

In Claude Code run claude mcp add overleaf-web-mcp -- npx -y overleaf-web-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Overleaf Web MCP the official server?

Overleaf Web MCP is a community project by mhmdaskari, not verified by a company domain.

Is Overleaf Web MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Overleaf Web MCP safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Overleaf Web MCP?

Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.

Does Overleaf Web MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Overleaf Web MCP Install

Add to stack

Loading.