MCP Hub
Back to servers

latex-mcp

Enable AI agents to compile TeX files with LaTeX inside a Docker container.

Stars
2
Updated
Feb 28, 2026
Validated
Mar 2, 2026

Quick Install

uvx latex-mcp

latex-mcp

Publish to PyPI Build and Push Docker Images PyPI version License: AGPL 3.0 Issue

Enable AI agents to compile TeX files with LaTeX inside a Docker container.

Quickly Start

Prerequisites

Configuration in Claude Code

Create a .mcp.json file in your project root. This configuration is ideal for team collaboration as it uses ${PWD} environment variable that works across different machines:

{
  "mcpServers": {
    "latex-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount",
        "type=bind,src=${PWD},dst=${PWD}",
        "-w",
        "${PWD}",
        "ghcr.io/sepinetam/latex-mcp:latest"
      ]
    }
  }
}

Reviews

No reviews yet

Sign in to write a review