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 329 GitHub stars, is released under the MIT license and runs locally with npx -y @mjyoo2/overleaf-mcp.
github.com/mjyoo2/OverleafMCP (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
- 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
no_human
no-human-ai/no_human
File a task with your local nohuman and check on it: taskadd and task_status over stdio.
Too new to judge · created Aug 5, 2026
Developer toolsPythonPostman MCP Server
postmanlabs/postman-mcp-server
Give your AI agents trusted access to the full Postman platform.
Active · last commit Oct 16, 2026
OfficialDeveloper toolsTypeScriptCharles MCP
heizaheiza/Charles-mcp
Charles Proxy MCP server for AI agents with live capture, structured traffic analysis, and agent-friendly tool contracts.
Maintained · last commit Jun 23, 2026
Developer toolsPythonPackmindHub MCP Server
PackmindHub/packmind
Packmind captures, scales, and enforces your organization's technical decisions.
Active · last commit Oct 23, 2026
OfficialDeveloper toolsTypeScriptGoldentrii MCP Server
Goldentrii/AgentRecall-X
Correction-first agent memory. Precision KPI tracks if agents heed warnings.
Active · last commit Oct 16, 2026
Developer toolsJavaScriptLLM Context.py
cyberchitta/llm-context.py
Share code with LLMs via Model Context Protocol or clipboard.
Maintained · last commit Oct 19, 2026
Developer toolsPython
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.