Uses Git integration to access and manage Overleaf project files, enabling file retrieval and content extraction from Overleaf repositories.
Provides tools for parsing LaTeX document structure, extracting sections and subsections, and retrieving specific content from LaTeX files in Overleaf projects.
Enables access to Overleaf projects via Git integration, allowing for listing and reading files, parsing LaTeX sections and subsections, extracting specific content by section title, and obtaining project summaries.
Overleaf MCP Server
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, and extract content from Overleaf projects.
Features
- 📄 File Management: List and read files from Overleaf projects
- 📋 Document Structure: Parse LaTeX sections and subsections
- 🔍 Content Extraction: Extract specific sections by title
- 📊 Project Summary: Get overview of project status and structure
- 🏗️ Multi-Project Support: Manage multiple Overleaf projects
Installation
- Clone this repository
- Install dependencies:
- Set up your projects configuration:
- Edit
projects.json
with your Overleaf credentials:
Getting Overleaf Credentials
- Git Token:
- Go to Overleaf Account Settings → Git Integration
- Click "Create Token"
- Project ID:
- Open your Overleaf project
- Find it in the URL:
https://www.overleaf.com/project/[PROJECT_ID]
Claude Desktop Setup
Add to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Restart Claude Desktop after configuration.
Available Tools
list_projects
List all configured projects.
list_files
List files in a project (default: .tex files).
extension
: File extension filter (optional)projectName
: Project identifier (optional, defaults to "default")
read_file
Read a specific file from the project.
filePath
: Path to the file (required)projectName
: Project identifier (optional)
get_sections
Get all sections from a LaTeX file.
filePath
: Path to the LaTeX file (required)projectName
: Project identifier (optional)
get_section_content
Get content of a specific section.
filePath
: Path to the LaTeX file (required)sectionTitle
: Title of the section (required)projectName
: Project identifier (optional)
status_summary
Get a comprehensive project status summary.
projectName
: Project identifier (optional)
Usage Examples
Multi-Project Usage
To work with multiple projects, add them to projects.json
:
Then specify the project in tool calls:
File Structure
Security Notes
projects.json
is gitignored to protect your credentials- Never commit real project IDs or Git tokens
- Use the provided
projects.example.json
as a template
License
MIT License
This server cannot be installed
Provides access to Overleaf projects via Git integration, allowing Claude and other MCP clients to read LaTeX files, analyze document structure, and extract content.
Related MCP Servers
- -securityAlicense-qualityA specialized MCP server for in-depth analysis of git repositories, offering tools for branch overview, time period analysis, file changes, and merge recommendations.Last updated -41JavaScriptApache 2.0
- -securityFlicense-qualityProvides integration with Github through the Model Context Protocol (MCP), allowing Large Language Models to interact with Github's repositories, issues, pull requests and search functionality.Last updated -1TypeScript
- -securityFlicense-qualityAn MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.Last updated -TypeScript
- -security-license-qualityAn MCP server that allows Claude and other MCP-compatible LLMs to interact with the GitHub API, supporting features like creating issues, getting repository information, listing issues, and searching repositories.Last updated -TypeScript