ModernTex Check
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ModernTex Check
ModernTex Check is a small MCP server for macOS that checks LaTeX projects. It reads files and reports what it finds. It never writes a file, never compiles, and does not need a TeX installation.
It gives an AI assistant (Claude Code, Claude Desktop or any other MCP client) four tools:
Tool | What it does |
| Reads a build log, or one pasted error message, and gives the file, line, matching log line and fix steps for each error and warning. |
| Finds |
| Runs rule-based checks on structure, reported numbers, availability statements, repeated words and misspelled package names. |
| Reports duplicate keys, likely duplicate entries, missing required fields, implausible years and the clean-ups that would normalize the file. Report only; the |
Every check is deterministic. No model runs inside the server, so the same file always gives the same answer.
Install
The binary is universal (Apple silicon and Intel), signed and notarized. It needs macOS 14 or later.
Run it once in Terminal (/path/to/moderntex-check --version) and choose Open if macOS asks. macOS asks the first time a downloaded program runs, and an MCP client cannot answer that prompt.
Claude Code:
claude mcp add moderntex-check -- /path/to/moderntex-checkClaude Desktop, or any client that reads an mcpServers block:
{
"mcpServers": {
"moderntex-check": { "command": "/path/to/moderntex-check" }
}
}Paths you pass to the tools must be absolute. Files over 10 MB are refused, and an \input that points outside the root file's folder is not followed.
Related MCP server: Bibverify
Build from source
swift build -c release --product moderntex-checkscripts/mcp-check/build.sh builds both architectures, joins them, signs and notarizes.
Where the checks come from
These are the same checks that ModernTex, a LaTeX editor for macOS, runs as you write. The server shares its code with the editor, so a fix to one is a fix to both.
License
MIT. See LICENSE at the root of the repository.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent AI LaTeX workspace: edit and compile multi-file projects, export publication-ready PDFs.
A hosted LaTeX editor your assistant can actually use. Search 1,019 free templates, create and edit projects, and compile them to PDF on a real TeX Live farm, getting back the PDF or the compile log when a build fails. Thirteen tools behind OAuth 2.1, with nothing to install and nothing to run locally.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Check if references exist or were retracted, look up journal AI policies, and preview manuscripts.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to create, edit, and validate LaTeX documents through a standardized protocol with support for multiple document classes and package management. It provides tools for document structure analysis and file organization to streamline the generation of professional academic papers.827MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to verify bibliographic existence and metadata consistency, convert DOI/PMID/PMCID/arXiv identifiers to BibTeX, and check .bib files against multiple sources without destructive edits.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to see compiled LaTeX output: it builds the document, returns rendered page images, maps any point on a page back to its exact source line, and diffs what the last edit changed. It also audits an entire book for regressions, letting an agent diagnose and verify layout fixes without reading source alone.597 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read and precisely edit LaTeX projects, review diffs, sync with Overleaf and GitHub, and compile locally or online with returned PDFs and diagnostics.3MIT