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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@pavithra.kvp5/animejs-mcp-server

v1.0.0

Published

A Model Context Protocol (MCP) server for Anime.js animation library, providing AI assistants with access to Anime.js components, APIs, examples, and documentation.

Downloads

9

Readme

Anime.js MCP Server

A Model Context Protocol (MCP) server providing AI assistants with comprehensive access to Anime.js animation library components, APIs, examples, and documentation.

Features

  • 🎬 Complete Anime.js API Coverage: Access to all major Anime.js functions and properties
  • 📚 Rich Documentation: Built-in guides for getting started, easing functions, performance optimization
  • 🎯 Interactive Examples: Ready-to-use code examples for common animation patterns
  • 🔍 Smart Search: Find relevant examples and documentation quickly
  • Performance Tips: Best practices for smooth animations
  • 🎨 Animation Patterns: Transform, timeline, stagger, SVG, morphing, and more

Installation

Via npm

npm install -g @animejs/anime-js-mcp-server

Via npx (recommended)

npx @animejs/anime-js-mcp-server

Usage

Basic Usage

# Start the server
npx @animejs/anime-js-mcp-server

# With GitHub API token for enhanced features
npx @animejs/anime-js-mcp-server --github-api-key YOUR_GITHUB_TOKEN

Environment Variables

export GITHUB_PERSONAL_ACCESS_TOKEN=your_token_here
export LOG_LEVEL=info  # debug, info, warn, error

MCP Tools

Component Information

  • get_anime_component: Get detailed info about specific Anime.js APIs
  • list_anime_components: Browse all available components by category

Examples and Tutorials

  • get_anime_example: Get complete code examples for animation patterns
  • search_anime_examples: Search through examples by keywords
  • get_anime_docs: Access comprehensive documentation topics

Supported Animation Types

Core Animations

  • Basic Transforms: translate, rotate, scale, skew
  • CSS Properties: opacity, colors, dimensions, positioning
  • Timeline Sequences: Complex multi-step animations
  • Stagger Effects: Grid-based and directional delays

Advanced Features

  • SVG Path Animations: Path following and morphing
  • Text Animations: Letter-by-letter effects
  • Elastic & Physics: Spring and bounce effects
  • Performance Optimization: Hardware acceleration tips

Example Usage with Claude

# Get started with Anime.js
"How do I create a basic slide-in animation?"

# Explore specific features
"Show me timeline examples for sequential animations"

# Search for patterns
"Find examples with stagger effects"

# Get performance tips
"How do I optimize animations for mobile?"

API Reference

Tools Available

| Tool | Description | Parameters | |------|-------------|------------| | get_anime_component | Get component documentation | componentName (required) | | list_anime_components | List all components | category (optional) | | get_anime_example | Get code example | exampleType (required) | | search_anime_examples | Search examples | query (required) | | get_anime_docs | Get documentation | topic (required) |

Categories

  • core: Main animation functions (anime, timeline)
  • utilities: Helper functions (stagger, random, set)
  • svg: SVG-specific animations (path, morphing)

Example Types

  • basic-transform - Simple transform animations
  • timeline-sequence - Sequential timeline animations
  • stagger-grid - Grid-based stagger effects
  • svg-path - SVG path animations
  • text-animation - Text effects
  • elastic-bounce - Physics-based easing
  • morphing - CSS property morphing
  • keyframes - Complex keyframe animations

Documentation Topics

  • getting-started - Installation and basic usage
  • animation-controls - Play, pause, seek controls
  • easing - All easing functions and custom curves
  • performance - Optimization best practices
  • timeline - Timeline and sequencing
  • stagger - Stagger effects and patterns

Configuration

Claude Desktop Integration

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "anime-js": {
      "command": "npx",
      "args": ["@animejs/anime-js-mcp-server"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here"
      }
    }
  }
}

Development Setup

# Clone and install
git clone https://github.com/juliangarnier/anime-js-mcp-server.git
cd anime-js-mcp-server
npm install

# Build and run
npm run build
npm start

# Development mode
npm run dev

Architecture

The server follows MCP best practices with:

  • Request Validation: Zod schema validation for all inputs
  • Error Handling: Comprehensive error handling and logging
  • Caching: Intelligent caching for performance
  • Circuit Breakers: Resilient external API calls
  • Logging: Configurable logging levels

Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Submit a pull request

License

MIT License - see LICENSE file for details.

Related Projects

Support


Built with ❤️ for the animation community