Typst Universe MCP Server
Provides access to the Typst Universe package registry, enabling search for packages and templates, retrieval of package details including authors and version history, browsing categories, and discovering featured packages in the Typst ecosystem.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Typst Universe MCP Serversearch for Typst packages for creating diagrams"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Typst Universe MCP Server
An MCP (Model Context Protocol) server that provides AI assistants with access to the Typst Universe package registry. This allows AI models to search for packages, get package details, and explore the Typst ecosystem.
Features
This MCP server provides the following tools:
Tool | Description |
🔍 | Search for Typst packages by query, category, or kind |
📦 | Get detailed info about a specific package |
📂 | List all available package categories |
⭐ | Get featured/popular packages |
Related MCP server: Pub.dev MCP Server
Installation
From npm (recommended)
npm install -g typst-universe-mcpFrom source
git clone https://github.com/W1seGit/typst-universe-mcp.git
cd typst-universe-mcp
npm install
npm run buildConfiguration
Claude Desktop
Add this to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"typst-universe": {
"command": "npx",
"args": ["-y", "typst-universe-mcp"]
}
}
}Or if installed from source:
{
"mcpServers": {
"typst-universe": {
"command": "node",
"args": ["/path/to/typst-universe-mcp/dist/index.js"]
}
}
}Other MCP Clients
The server uses stdio transport. Start it with:
npx typst-universe-mcp
# or
node /path/to/dist/index.jsUsage Examples
Once connected to an AI assistant, you can ask:
"Search for Typst packages for creating diagrams"
"Get details about the cetz package"
"What categories are available in Typst Universe?"
"Show me featured Typst packages"
"Find math-related Typst packages"
"Search for presentation templates"
Tool Details
search_packages
Search for packages in Typst Universe.
Parameters:
query(string, optional): Search text (e.g., "math", "diagram")kind(string, optional):"packages"or"templates"(default:"packages")category(string, optional): Filter by category (e.g., "visualization", "math")limit(number, optional): Max results to return (default: 20)
get_package_details
Get detailed information about a specific package.
Parameters:
packageName(string, required): The exact package name (e.g., "cetz", "polylux")
Returns: Description, authors, categories, repository link, import code, and version history.
list_categories
Lists all available package categories in Typst Universe. No parameters required.
get_featured_packages
Returns a list of featured/popular packages. No parameters required.
Development
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Run production build
npm startRequirements
Node.js >= 18.0.0
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Disclaimer
This project is not affiliated with Typst GmbH. It uses web scraping to access publicly available information from Typst Universe.
Available Tools
4 toolsget_featured_packagesB
Get a list of featured/popular packages from Typst Universe.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does but doesn't describe traits like rate limits, authentication needs, pagination, or what 'featured/popular' means (e.g., curated vs. algorithmically determined). This leaves significant gaps for a tool that likely involves external data fetching.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any fluff or redundancy. It's front-loaded and wastes no words, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, no output schema), the description is adequate as a basic overview. However, it lacks details on behavioral aspects (e.g., how 'featured/popular' is determined, response format) and usage context, which could help an agent use it more effectively. It's minimally viable but has clear gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and the schema description coverage is 100% (empty schema). The description doesn't need to explain parameters, so it meets the baseline expectation. No additional parameter information is required or provided, which is appropriate here.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get a list') and resource ('featured/popular packages from Typst Universe'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'search_packages' or 'list_categories' beyond the 'featured/popular' qualifier, which prevents a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'search_packages' or 'list_categories'. It mentions 'featured/popular' packages but doesn't clarify if this is for discovery, recommendations, or other contexts, leaving the agent to infer usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_package_detailsA
Get detailed information about a specific Typst package, including its description, authors, categories, repository link, import code, and version history.
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | The exact name of the package (e.g., "cetz", "polylux", "fletcher") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes what information is returned but does not address key behavioral aspects such as error handling (e.g., what happens if the package doesn't exist), rate limits, authentication needs, or whether it's a read-only operation. The description adds some value by listing the data fields, but misses critical operational context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that efficiently lists all key information points without redundancy. It is front-loaded with the main purpose and follows with specific details, making it easy to parse. Every part of the sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is adequate but incomplete. It covers the purpose and data returned, but lacks behavioral details (e.g., error cases) that would be important for an agent to use it correctly. Without annotations or output schema, the description should do more to compensate, but it only partially meets this need.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with the parameter 'packageName' fully documented in the schema. The description does not add any parameter-specific details beyond what the schema provides (e.g., it doesn't clarify format constraints or provide examples beyond the schema's examples). Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Get detailed information') and resource ('a specific Typst package'), with explicit listing of the information included (description, authors, categories, etc.). It distinguishes from sibling tools like 'get_featured_packages' (which lists packages) and 'search_packages' (which searches) by focusing on detailed metadata for a single package.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when detailed package metadata is needed, but does not explicitly state when to use this tool versus alternatives like 'search_packages' or 'list_categories'. It provides context by specifying the type of information returned, but lacks explicit guidance on exclusions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_categoriesA
List all available package categories in Typst Universe.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. While it indicates this is a read operation ('List'), it doesn't mention any behavioral traits like whether results are paginated, sorted, cached, or if there are rate limits. For a tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It's perfectly front-loaded and appropriately sized for a simple list operation with no parameters.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, no output schema, no annotations), the description is complete enough to understand the basic purpose. However, without annotations or output schema, it lacks details about return format, pagination, or other behavioral aspects that would help an agent use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters with 100% schema description coverage, so the schema already fully documents the input structure. The description appropriately doesn't add parameter information since none are needed, earning a baseline score of 4 for not introducing unnecessary complexity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('List') and resource ('all available package categories in Typst Universe'), distinguishing it from sibling tools that focus on packages rather than categories. It provides a precise verb+resource combination that leaves no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by specifying 'all available package categories,' suggesting this is for browsing categories rather than searching packages. However, it doesn't explicitly state when to use this tool versus alternatives like get_featured_packages or search_packages, leaving some inference required for the agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_packagesB
Search for Typst packages in the Typst Universe. You can search by query text, filter by category, and specify the kind (packages or templates).
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query text to find packages (e.g., "math", "diagram", "table") | |
| kind | No | Type of items to search for. Defaults to "packages". | packages |
| category | No | Filter by category (e.g., "visualization", "math", "text") | |
| limit | No | Maximum number of results to return. Defaults to 20. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions search capabilities but lacks details on critical behaviors: it doesn't specify if this is a read-only operation (implied but not stated), how results are returned (e.g., pagination, sorting), rate limits, authentication needs, or error handling. For a search tool with zero annotation coverage, this leaves significant gaps in understanding its operational traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized with two sentences that efficiently convey the tool's purpose and key parameters. It's front-loaded with the main action ('Search for Typst packages'), and the second sentence adds useful context without redundancy. Every sentence earns its place, though it could be slightly more structured (e.g., bullet points for parameters).
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (search with filters), 100% schema coverage, and no output schema, the description is partially complete. It covers the basic purpose and parameters but lacks behavioral details (e.g., result format, pagination) and explicit usage guidelines vs. siblings. Without annotations or output schema, more context on what to expect from the search results would improve completeness for effective agent use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, providing clear details for all 4 parameters (e.g., 'query' for search text, 'kind' with enum and default, 'category' for filtering, 'limit' with default). The description adds minimal value beyond the schema by listing the parameters ('search by query text, filter by category, and specify the kind') but doesn't explain semantics like how 'query' interacts with 'category' or what 'limit' entails in practice. Baseline 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Search for Typst packages') and resource ('Typst Universe'), making the purpose immediately understandable. It distinguishes from siblings like 'get_featured_packages' (which likely shows curated items) and 'get_package_details' (which retrieves specific package info) by emphasizing search functionality. However, it doesn't explicitly mention how it differs from 'list_categories' (which might list categories without searching).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through phrases like 'You can search by query text, filter by category, and specify the kind,' suggesting when to use this tool for searching with filters. However, it doesn't provide explicit guidance on when to choose this over alternatives like 'get_featured_packages' (e.g., for curated vs. search-based results) or 'list_categories' (e.g., for browsing categories vs. searching within them). No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
- First observed
get_featured_packages - First observed
get_package_details - First observed
list_categories - First observed
search_packages
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: get_featured_packages retrieves curated/popular packages, get_package_details provides in-depth information on a specific package, list_categories enumerates available categories, and search_packages enables filtered searching. An agent can easily distinguish between these functions without confusion.
All tool names follow a consistent verb_noun pattern (get_featured_packages, get_package_details, list_categories, search_packages) with clear, descriptive verbs (get, list, search) and nouns (packages, categories). There are no deviations in style or convention.
With 4 tools, this server is well-scoped for its purpose of interacting with the Typst Universe package repository. Each tool earns its place by covering essential operations: browsing featured packages, viewing details, exploring categories, and searching. This count avoids bloat while providing complete core functionality.
The tool set covers the core browsing and discovery workflows for a package repository (list, get details, search, filter by category), with no obvious dead ends. A minor gap exists in the lack of tools for package management actions like installation or version updates, but this is reasonable for a read-only discovery server focused on the Typst Universe.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Real-time Python package and vulnerability data for AI coding agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to search, analyze, and retrieve detailed information about Dart and Flutter packages from pub.dev. Supports package discovery, version management, dependency analysis, and documentation access.6135MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search and retrieve information about Terraform providers and modules from the public Terraform registry, including detailed documentation, version information, and resource specifications.12MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch, explore, and analyze source code from any Python package on PyPI, including listing files, reading specific code, and searching packages across all published versions.MIT