npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

typst-universe-mcp

v1.0.0

Published

MCP server for searching and exploring Typst Universe packages

Readme

Typst Universe MCP Server

npm version License: MIT

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_packages | Search for Typst packages by query, category, or kind | | 📦 get_package_details | Get detailed info about a specific package | | 📂 list_categories | List all available package categories | | ⭐ get_featured_packages | Get featured/popular packages |

Installation

From npm (recommended)

npm install -g typst-universe-mcp

From source

git clone https://github.com/W1seGit/typst-universe-mcp.git
cd typst-universe-mcp
npm install
npm run build

Configuration

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.js

Usage 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 start

Requirements

  • 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.