by trahloff
Aldine: self-hosted, open-source collaborative LaTeX editor (an Overleaf alternative). Real-time editing, git branches, GitHub/GitLab/Gitea sync, Zotero, MCP server for Claude. Two containers, AGPL-3.0.
# Add to your Claude Code skills
git clone https://github.com/trahloff/AldineGuides for using mcp servers skills like Aldine.
Aldine is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by trahloff. Aldine: self-hosted, open-source collaborative LaTeX editor (an Overleaf alternative). Real-time editing, git branches, GitHub/GitLab/Gitea sync, Zotero, MCP server for Claude. Two containers, AGPL-3.0. It has 151 GitHub stars.
Aldine's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/trahloff/Aldine" and add it to your Claude Code skills directory (see the Installation section above).
Aldine is primarily written in TypeScript. It is open-source under trahloff on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Aldine against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Write LaTeX together. Fast, versioned, yours.
Aldine is a self-hosted, open-source collaborative LaTeX editor and an Overleaf alternative. It is slim and built for speed: real-time multi-cursor editing, every project a real git repo with branches, native Zotero, ~2s warm recompiles. Two containers and one SQLite file by default: no database server to run, nothing to babysit.
Homepage · Try the live demo (resets nightly) · Quick start · How Aldine compares · Screenshots · Self-hosting · Contributing
Guides on aldine.dev: Self-hosting Overleaf (Community Edition, Server Pro) compared with Aldine · Git with Overleaf and a git-native alternative · A LaTeX MCP server for Claude
Live collaboration, a recompile, and a SyncTeX jump, in one real recording (compile wait trimmed):

Status: Aldine reached 1.0 in October 2026, three months after its first release. Within 1.x an upgrade starts on older data with no manual step, and stable settings, MCP tools and the plugin API keep their names until 2.0 (docs/STABILITY.md). That is a promise about upgrades, not a long track record. It compiles real papers daily and every headline feature has a Playwright end-to-end test; CI runs those on every pull request, next to typecheck, build and the integration suites. Expect rough edges, and file issues generously.
Bring your Overleaf projects, and take them with you: download any Overleaf project as a ZIP, drop it on the home screen, keep writing — root file detected, first typeset automatic.
Real-time collaboration: CRDT-based (Yjs), multi-cursor with live presence, conflict-free by construction. Unlimited collaborators.
Git-native with branches: every project is a real git repository. Create branches, edit them independently, merge back from the UI. Publish a project to GitHub, GitLab, Gitea or Forgejo and a co-author can clone it and keep using VS Code; their commits come back with one Pull.
Fast, sandboxed compiles: TeX Live + latexmk with persistent incremental builds (~2s warm recompiles) in a no-egress container with restricted shell-escape; errors surfaced with line numbers and click-to-jump.
GitHub/GitLab/Gitea/Forgejo sync: import from GitHub, GitLab, Gitea or Forgejo as a project or publish a local project to a fresh repo, push/pull with ahead/behind indicators, branches, a conflicting pull that lists the files and keeps your version until you take the remote's, server-side autopush, and open a pull or merge request, all from the editor. gitlab.com and self-hosted GitLab, any Gitea or Forgejo instance (Codeberg included); a personal access token needs no OAuth app. A team instance can create every new project in a GitLab group automatically and push every autosave from the server.
Native Zotero integration: link your whole Zotero library or a single
collection, from My Library or any of your group libraries, no premium
tier required; keep a .bib in sync with cheap
version-aware refresh, insert citations from a search panel or via \cite{
autocomplete.
Claude as a collaborator (optional, ALDINE_MCP=1): Aldine has a
built-in MCP server. Connect your
instance to claude.ai, Claude Desktop, Cowork or Claude Code over MCP and
Claude edits, typesets and shows the PDF in the chat (inline on claude.ai,
Claude Desktop and Cowork; a signed link elsewhere); every change is a git
commit authored "Claude" with a review-and-revert toast in the editor.
Setup, reachability and the security model: docs/AGENT_API.md.

\label,
alignment, a comment or a line break inside, opens as source), editable
tables, inline tracked changes from review suggestions,
paste-rich-text-to-LaTeX, image-previewing figure chips, and an outline.
From the keyboard, Ctrl+Enter (⌘Enter on a Mac) with the caret in a
formula's or a table's source opens its editor. Cursor-reveal shows raw
source under the caret, including a remote collaborator's. Switch between
Source and Visual in the toolbar or the command palette (⌘K); a .tex file
opens as source until you pick Visual, and your browser remembers the last
choice.OPENROUTER_API_KEY,
OPENAI_API_KEY, or ANTHROPIC_API_KEY on the server to enable (that
precedence order if several are set; ALDINE_AI_MODEL overrides the model).
With ALDINE_AI_AUTOFIX=1 a typeset someone asks for that fails runs the
diagnosis without a click, once per new error (auto-typeset runs never do). The key stays server-side and never reaches the browser. Unset the key and
Aldine is a 100% AI-free editor.\cite (no account, free public APIs).TEMPLATE_REPOS). Or import an existing project from an Overleaf ZIP.AUTH_ENABLED=1 for login, per-project
ownership, and sharing (invitations, or share links with a role, an
expiry and, if the owner allows it, guests without an account). Google, GitHub & ORCID SSO,
your own OpenID Connect provider (Keycloak, Authentik, Authelia, Pocket ID;
docs/OIDC.md), or email/password (scrypt-hashed, revocable HTTP-only-cookie sessions);
ALDINE_SSO_ONLY=1 disables passwords entirely. Off by default
(single-tenant); the collab socket is access-checked.
[email protected] opens /admin: accounts, active
users (7 / 30 days, editing now), projects, compile time, and per account
disable, confirm address, password reset and delete. Never project content.
No compose file passes this variable through; add it under environment:
of the app service. ALDINE_SIGNUP=approval keeps every new account,
password or single sign-on, waiting until an administrator approves it on
/admin, unless a project invitation is for its proven address; with email
set up, the administrators get a mail when one starts waiting, with the
person's note on what they will use Aldine for, and the person gets a
welcome mail with three first steps once approved. /signup opens the
sign-up form directly, for a "Request access" link.ALDINE_INSTANCE_NAME, a logo, your website and
a support contact (ALDINE_SUPPORT) show who runs the instance and whom to
ask for help, beside Aldine's own name, on the si