OverleafMCP
OverleafMCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Model Context Protocol (MCP) server that lets AI assistants read Overleaf projects, parse LaTeX document structure, and push section-level edits… It has 293 GitHub stars, is released under the MIT license and runs locally with npx -y @mjyoo2/overleaf-mcp.
- Needs API key
- Developer tools
- MIT
- Maintained
Install OverleafMCP
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"overleafmcp": {
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_GIT_TOKEN": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env OVERLEAF_GIT_TOKEN=your-value --transport stdio overleafmcp -- npx -y @mjyoo2/overleaf-mcpCursor
{
"mcpServers": {
"overleafmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_GIT_TOKEN": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "overleaf_git_token",
"description": "OVERLEAF_GIT_TOKEN",
"password": true
}
],
"servers": {
"overleafmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mjyoo2/overleaf-mcp"
],
"env": {
"OVERLEAF_GIT_TOKEN": "${input:overleaf_git_token}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
OVERLEAF_PROJECT_ID | No | Shown in the README's example configuration. |
OVERLEAF_GIT_TOKENsecret | No | Shown in the README's example configuration. |
Tools (10)
Parsed from the Tools section of the README; check the repository for the current list.
list_projectsList all configured projects.
list_filesList files in a project (default: .tex files).
extensionFile extension filter (optional)
read_fileRead a specific file from the project.
get_sectionsGet all sections from a LaTeX file.
get_section_contentGet content of a specific section.
status_summaryGet a comprehensive project status summary.
write_fileWrite the full content of a file to the project.
contentContent to write to the file (required)
write_sectionWrite the content of a specific section to the project.
About OverleafMCP
An MCP (Model Context Protocol) server that provides access to Overleaf projects via Git integration. This allows Claude and other MCP clients to read LaTeX files, analyze document structure, extract content, and write files from and to Overleaf projects.
- ai-tools
- chatgpt
- claude
- latex
- mcp
- mcp-server
- overleaf
Similar MCP servers
More developer tools MCP servers
Gemini CLI
google-gemini/gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
Developer toolsTypeScriptFront-End Checklist
thedaviddias/Front-End-Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
Developer toolsMDXClaude Flow
ruvnet/ruflo
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Developer toolsTypeScriptCodebase Memory
DeusData/codebase-memory-mcp
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Developer toolsCBytedance Filesystem
bytedance/UI-TARS-desktop
MCP server for filesystem access.
Developer toolsTypeScriptGitHub
github/github-mcp-server
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
OfficialDeveloper toolsGo
What is OverleafMCP?
OverleafMCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Model Context Protocol (MCP) server that lets AI assistants read Overleaf projects, parse LaTeX document structure, and push section-level edits… It has 293 GitHub stars, is released under the MIT license and runs locally with npx -y @mjyoo2/overleaf-mcp. The source code is at github.com/mjyoo2/OverleafMCP.
How do I install the OverleafMCP MCP server?
Add the command npx -y @mjyoo2/overleaf-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is OverleafMCP free?
The server is open source under the MIT license, so running it is free. It needs credentials (OVERLEAF_GIT_TOKEN) for the service it connects to, which may require a paid account.
Is OverleafMCP actively maintained?
The most recent commit was on May 3, 2026. The latest release is 1.0.0, published May 3, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.