typst_searchLABSCO SUMMARY
Typst answers that come from the Typst docs.
Typst is recent enough that a model will happily invent syntax for it. Search plus read means a question about page setup or table formatting is answered from the reference page, with the file path shown, rather than from memory. It is documentation only: it does not compile your document.
What it is
A documentation server for Typst. It searches the docs, walks their structure as a tree, and reads any page back as markdown, so an assistant writing .typ files works from the real reference.
What you get
- The documentation searched for a topic, function or piece of syntax, returning relevant sections with titles, descriptions and file paths (typst_search)
- The documentation structure browsed as a hierarchical tree, to a chosen depth or from a chosen sub_directory (typst_browse)
- A specific documentation file read in full, returned as markdown (typst_read)
Requirements
Python 3.12 or higher and the uv package manager. A single claude mcp add command registers it for a project, with uv fetching the server straight from the repository.
Setup effort
One command — claude mcp add typst-mcp -s project -- uv run --with "git+https://github.com/FujishigeTemma/typst-mcp" typst-mcp serve
USE CASES
Writing Typst without guessing at the syntax
Ask the assistant to add a table of contents or set page margins, and it searches the docs for the function first, so the code it writes matches the current reference.
Understanding a line someone else wrote
Search for the function in a set rule you do not recognise and read the page that documents it, which explains the arguments rather than paraphrasing them.
Finding out what is available at all
Browse the documentation tree, narrowed to a sub_directory such as the reference section and limited by depth, when you want to know what exists before knowing what to search for.
3 tools
Listed in project docs. Your client may show a different list.
typst_browsetypst_readBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
Python 3.12 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
claude mcp add typst-mcp -s project -- uv run --with "git+https://github.com/FujishigeTemma/typst-mcp" typst-mcp serveMCP Clients
Claude Code
{
"mcpServers": {
"typst-mcp": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--with",
"git+https://github.com/FujishigeTemma/typst-mcp",
"typst-mcp",
"serve"
],
"env": {}
}
}
}