Texflow MCP — AI skill for Claude Code
LaTeX document compiler with MCP interface — AI agents author documents via structured model, TeXFlow handles LaTeX mechanics.
How to install Texflow MCP
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open aaronsb/texflow-mcp and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Texflow MCP does
LaTeX document compiler with MCP interface — AI agents author documents via structured model, TeXFlow handles LaTeX mechanics.
Alternatives in AI
- Codex Plugin — 's /codex:adversarial-review command 9.6k ★
- Graphjin — GraphJin - An Automagical Compiler to Connect AI to Your Databases 3034 44 1 3k ★
- Llmwiki — Open Source Implementation of Karpathy's LLM Wiki 1.5k ★
README
TeXFlow MCP
  
A LaTeX document compiler with an [MCP](https://modelcontextprotocol.io) interface. AI agents operate on a structured document model — sections, paragraphs, figures, tables — while TeXFlow handles all LaTeX mechanics: packages, preamble, fonts, and compilation.
Install
pip install texflow-mcp
Or run without installing:
uvx texflow-mcp
System dependencies (optional)
TeXFlow compiles documents to PDF using XeLaTeX. Without it, you can still build and export `.tex` files.
# Arch
pacman -S texlive-xetex texlive-fontsrecommended texlive-fontsextra
# Debian/Ubuntu
apt install texlive-xetex texlive-fonts-recommended texlive-fonts-extra
# Fedora
dnf install texlive-xetex texlive-collection-fontsrecommended texlive-collection-fontsextra
For page preview (PNG), install `poppler-utils` (provides `pdftoppm`).
Configure with Claude Code
claude mcp add texflow -- uvx texflow-mcp
That's it. Restart Claude Code and the tools are available.
To set a workspace directory (where documents are saved):
claude mcp add texflow -- uvx texflow-mcp ~/Documents/TeXFlow
Configure with Claude Desktop
Add to your `claude_desktop_config.json`:
{
"mcpServers": {
"texflow": {
"command": "uvx",
"args": ["texflow-mcp"]
}
}
}
How it works
TeXFlow has two entry flows, both converging on the same in-memory document model:
- Scaffold —
document(action="create")builds an empty document skeleton. Add content withedit(action="insert"). - Markdown ingest —
document(action="ingest", source="paper.md")parses markdown into the model. Refine layout from there.
The model auto-saves to disk as JSON. LaTeX is only ever an output artifact — you never edit `.tex` directly.
Related Skills
PRD Taskmaster V2
Zero-config goal-to-tasks engine. AI handles discovery and content; script.py and the prd-taskmaster MCP handl
LaTeX Document Skill
Universal LaTeX document skill for Claude Code: 27 templates, 27 scripts, 26 reference guides. Made with Claud
Foundations
Manage BOS-AI foundation documents handoff - scan, validate, extract to structured YAML
Knowledge Distiller
AI agent skill that distills documents into temporally-aware structured knowledge graphs. Dual output: .knowle
Arc Agent
Go CLI using AI for structured system design documents, artifacts, and Mermaid diagrams.
Yotta School Doc
Local, deterministic school-document skeleton and validation skill for AI agents: versioned rule packs + struc
Related Agents
Integrity Sweep
Read-only mechanical-conservation checker for an academic-writing project in LaTeX. After a restructure, move,
Authoring Loop
ScholarEval-gated authoring improvement loop. Define a subject, author with the matching authoring agent (scop
Ashigaru Scribe
Documentation specialist. Handles domain knowledge consolidation in knowledge/, document output to reports/, a