Typst MCP Server is an MCP server that provides official Typst typesetting documentation directly to Model Context Protocol clients like Claude Code. It connects AI assistants to reference materials, syntax guides, and function documentation for Typst, a modern markup-based typesetting system designed as an alternative to LaTeX. Software engineers, academic writers, and technical document authors use this server to inspect Typst features without leaving their coding workflows. The server enables clients to execute structured documentation searches, inspect reference file hierarchies, and read markdown source files detailing document styling, layout rules, table formatting, and page configuration syntax. By surfacing this context directly to language models, it allows assistants to generate accurate Typst markup, troubleshoot typesetting errors, and explain specific syntax directives such as page margins or header configurations. The server operates locally using standard input/output communication powered by Python and the uv package runner, making it lightweight to run alongside local editing environments.
Category: Design, Media & Creative
Tags: documentation, latex-alternative, typesetting, typst
uv package manager are installed. 2. To add the server to your Claude Code project configuration, run: bash claude mcp add typst-mcp -s project -- uv run --with "git+https://github.com/FujishigeTemma/typst-mcp" typst-mcp serve 3. Alternatively, manually add the server to your .mcp.json configuration file under mcpServers: json { "mcpServers": { "typst-mcp": { "type": "stdio", "command": "uv", "args": [ "run", "--with", "git+https://github.com/FujishigeTemma/typst-mcp", "typst-mcp", "serve" ], "env": {} } } } 4. Query Typst documentation through your MCP client.Part of MCP Servers
You can install and run Typst MCP Server using the uv package manager on Python 3.12 or higher. To add it directly to a Claude Code project, execute the claude mcp add command pointing to uv and the GitHub repository. Alternatively, configure the server manually inside your client configuration file using uv as the command runner.
Typst MCP Server exposes three primary tools: typst_search, typst_browse, and typst_read. The search tool finds relevant documentation sections by query string. The browse tool navigates the documentation folder tree with optional depth settings. The read tool retrieves the full markdown contents of specific documentation pages for the AI assistant.
Typst MCP Server works with any client supporting the standard Model Context Protocol over stdio. It is tested and documented for Claude Code, allowing developers and writers to inspect documentation directly inside CLI-based coding workflows, and can be integrated into other compatible MCP host environments.
Yes, Typst MCP Server is open source software distributed under the terms of the MIT License. The complete source code, test suites, and development tooling are publicly accessible on GitHub at the FujishigeTemma/typst-mcp repository for community inspection and contributions.