Manim

Provides a Manim-powered MCP server to render mathematical animations via Claude Desktop.
  • python

0

GitHub Stars

python

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "stelath-manim-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Stelath/manim-mcp.git",
        "manim-mcp"
      ]
    }
  }
}

This MCP server lets Claude Desktop generate Manim-based mathematical animations by feeding it scene code. It enables you to render animations at multiple qualities and provides ready-to-use templates to illustrate equations, graphs, geometry, and other concepts, all through a simple MCP workflow.

How to use

You interact with the Manim MCP Server through your MCP client by supplying Python code that defines a Manim Scene and the name of the Scene class you want to render. You can request different output qualities and optionally specify a custom output filename. There are ready-made examples for text, equations, graphs, geometry, and calculus to help you start quickly.

How to install

Prerequisites you need before installation are Python 3.10 or higher and Claude Desktop. Follow one of these installation paths based on your preference and environment.

# Option 1: MCPB Bundle (easiest, one-click)
# 1) Download the latest .mcpb file
# 2) Double-click the .mcpb file or drag-and-drop into Claude Desktop
# 3) Follow the installation prompts in Claude Desktop
# 4) Install system dependencies as prompted

# Option 2: Direct Install (developers)
# Install from GitHub
pip install git+https://github.com/Stelath/manim-mcp.git

# Or install from a local clone
# git clone https://github.com/Stelath/manim-mcp.git
# cd manim-mcp
# macOS/Linux
./install.sh
# Windows
install.bat

# Using uvx for isolated environments
uvx --from git+https://github.com/Stelath/manim-mcp.git manim-mcp

Configuration

If you install via the direct GitHub path using uvx, you can configure Claude Desktop to run the MCP server by supplying an MCP command that uses uvx to fetch and run the server package.

{
  "mcpServers": {
    "manim": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Stelath/manim-mcp.git",
        "manim-mcp"
      ]
    }
  }
}

Restart Claude Desktop after changes

After updating the configuration, restart Claude Desktop so the new MCP server settings take effect.

Usage examples

When you ask Claude to create an animation, provide the Manim scene code and specify the scene class name to render. You can request different output qualities like low, medium, or high, and set a custom output filename if needed.

Output location

Generated videos are saved to the system temp directory used by the MCP server. On most systems this is typically a path like /tmp/manim_mcp_output/ or a corresponding user-specific temp folder depending on your OS.

Available tools

create_math_animation

Create and render a mathematical animation by supplying a Manim Scene class code, the scene name, and optional quality and output filename.

get_manim_example

Retrieve example Manim code templates for common animation types such as basic text, equations, graphs, geometry, transformations, and calculus visuals.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational