# Aldine

> Aldine is an open-source MCP server for files and documents. Let Claude edit, typeset and fix errors in a self-hosted LaTeX project. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** self-hosted, Web
- **Website:** https://aldine.dev/latex-mcp/
- **Repository:** https://github.com/trahloff/aldine
- **MCP Registry name:** io.github.trahloff/aldine
- **Categories:** files and documents, developer tools
- **Listing updated:** 2026-11-14

## About

Aldine is a LaTeX editor first, and its MCP server is the editor's own backend. That matters because Claude works on the same live documents your co-authors have open: its edits appear as those of an attributed collaborator and your cursor stays where it was. Every change lands as a git commit authored Claude, and a Revert these changes button undoes a session in one new commit.

The typical loop is to ask for a typeset. The compile tool runs latexmk and returns errors first, each with file, line, message and source line, plus a hint when a package is missing. Claude fixes the first error by replacing the exact failing text, typesets again and shows the PDF in the chat. The plugin's latex-fix-build skill stops after three attempts and reports what is left.

Other tools read the file tree and source, write whole files, resolve a DOI or arXiv id to BibTeX and list citation keys and labels. You connect to your own instance at https://<host>/mcp, or try demo.aldine.dev, which resets nightly. The project's page says it found no official Overleaf MCP server as of 12 October 2026.

## Features

- **Shared live documents:** Claude edits the same document co-authors have open.
- **Compile with errors:** latexmk runs and errors return with file, line and source.
- **Git-backed edits:** Every change is a commit with a one-click revert.
- **PDF in chat:** Shows the typeset PDF once it builds.
- **Citation help:** Resolve DOIs and arXiv ids to BibTeX and list existing keys.
- **Self-hosted:** Runs as two containers and one SQLite file by default.

## Good for

- Fix LaTeX compile errors in a paper
- Tighten an abstract and add a section
- Add a reference from a DOI
- Review exactly what an assistant changed before keeping it

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http aldine https://demo.aldine.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://demo.aldine.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "aldine": {
      "url": "https://demo.aldine.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "aldine": {
      "type": "http",
      "url": "https://demo.aldine.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "aldine": {
      "serverUrl": "https://demo.aldine.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "aldine": {
      "type": "http",
      "url": "https://demo.aldine.dev/mcp"
    }
  }
}
```

## FAQ

### Is Aldine open source?

Yes, it is described as an open-source, self-hosted collaborative LaTeX editor.

### How does Claude connect?

Add a custom connector with your instance's /mcp URL, or install the Aldine plugin in Claude Code.

### Can I review what Claude changed?

Yes. Claude edited N files opens the diff and each edit is a git commit.

### Is there an official Overleaf MCP server?

The Aldine page says it found none as of 12 October 2026 and lists community bridges.

### Is Aldine free?

Yes. Aldine is open source, so you can use and self-host it for free.

### How do I add Aldine to Claude Code?

Run this command in your terminal: claude mcp add --transport http aldine https://demo.aldine.dev/mcp

### What are the best alternatives to Aldine?

The closest alternatives to Aldine are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/aldine
