- Home
- MCP servers
- Typst
Typst
- python
4
GitHub Stars
python
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"fujishigetemma-typst-mcp": {
"command": "uv",
"args": [
"run",
"--with",
"git+https://github.com/FujishigeTemma/typst-mcp",
"typst-mcp",
"serve"
]
}
}
}You can run Typst documentation tooling as an MCP server so Claude Code and other MCP clients can access Typst references on demand. This server exposes Typst topics, browseable structure, and file content, enabling you to search, browse, and read documentation without leaving your editor or IDE.
How to use
Connect your MCP client to the Typst MCP Server to start asking for Typst documentation. Once connected, you can search for Typst topics, browse the documentation tree, and read specific files in Markdown format. Use the capabilities to get quick explanations, examples, and references for Typst syntax and layout features.
How to install
Prerequisites: Python 3.12 or higher and the uv package manager.
Add the Typst MCP server to your project scope using Claude Code configuration:
claude mcp add typst-mcp -s project -- uv run --with "git+https://github.com/FujishigeTemma/typst-mcp" typst-mcp serve
If you prefer to configure manually, place the following in your .mcp.json configuration file under mcpServers. Ensure the command and arguments are preserved exactly as shown.
{
"mcpServers": {
"typst-mcp": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--with",
"git+https://github.com/FujishigeTemma/typst-mcp",
"typst-mcp",
"serve"
],
"env": {}
},
}
}
Additional configuration and usage notes
Start using Typst capabilities once the server is configured. You can request Typst documentation topics, browse the documentation hierarchy, or read specific Typst files as part of your coding workflow.
Examples and capabilities
- Search for Typst topics using the typst_search tool to find sections, descriptions, and file paths.
- Browse Typst documentation with typst_browse to view a hierarchical tree of files and folders.
- Read exact content of a Typst reference file with typst_read to get full Markdown content.
Development notes
For development workflows, you can clone the project and run the development setup with uv sync --dev, then run tests and format code as needed. Use the provided commands to keep your environment aligned with the project requirements.
Security and access
Only expose the Typst MCP Server to trusted clients in your environment. Manage access through your overall project security policies and limit the scope of the MCP configuration to your development and production workflows.
Available tools
typst_search
Search Typst documentation for topics, functions, or syntax and return relevant sections with titles, descriptions, and file paths.
typst_browse
Browse the Typst documentation structure as a hierarchical tree, with parameters for depth and sub_directory, returning a tree of files and directories.
typst_read
Read the content of a specific Typst documentation file and return the full Markdown content for that file.