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 "Deploy 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 Server search 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.
Inputs: no named parameters.
get_package_detailsA
Get detailed information about a specific Typst package, including its description, authors, categories, repository link, import code, and version history.
Inputs: packageName (required).
list_categoriesA
List all available package categories in Typst Universe.
Inputs: no named parameters.
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).
Inputs: query, kind, category, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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
Related MCP Connectors
Real-time package and vulnerability data (Python, npm, Cargo, Go, and more) for AI coding agents.
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 and fetch curated AI agent skills, prompts and MCP servers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- AlicenseAqualityDmaintenanceEnables 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.613 npm5MIT
- 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
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search and retrieve detailed package information from multiple package registries (NPM, crates.io, NuGet, PyPI, Go).MIT