Manim

v1.0.0โ€ขDeveloper Toolsโ€ขstable

๐Ÿ ๐Ÿ  ๐ŸชŸ ๐Ÿง - A local MCP server that generates animations using Manim.

manimmcpai-integration
Share:
593
Stars
0
Downloads
0
Weekly
0/5

What is Manim?

Manim is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ๐Ÿ ๐Ÿ  ๐ŸชŸ ๐Ÿง - a local mcp server that generates animations using manim.

๐Ÿ ๐Ÿ  ๐ŸชŸ ๐Ÿง - A local MCP server that generates animations using Manim.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • ๐Ÿ ๐Ÿ  ๐ŸชŸ ๐Ÿง - A local MCP server that generates animations using

Use Cases

Generate mathematical animations locally using Python and Manim.
abhiemj

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 7, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx manim

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Manim

The Manim MCP server is a local Python-based server that allows AI assistants to generate mathematical animations using the Manim Community library. It accepts Manim Python scripts via MCP tool calls, executes them locally, and returns rendered animation files saved in a visible media folder. This enables Claude and other AI agents to create visualizations of mathematical concepts, algorithm animations, and educational content directly from natural language descriptions without the user needing to write Manim code manually.

Prerequisites

  • Python 3.8 or later installed
  • Manim Community Edition installed (pip install manim)
  • MCP Python framework installed (pip install mcp)
  • An MCP-compatible client such as Claude Desktop
  • LaTeX distribution (e.g., MiKTeX or MacTeX) if rendering LaTeX math formulas
1

Install Manim Community Edition

Install the Manim animation library. This is the core dependency the MCP server uses to render animations.

pip install manim
2

Install the MCP framework

Install the Python MCP library required to run the server.

pip install mcp
3

Clone the manim-mcp-server repository

Clone the server source code to your local machine.

git clone https://github.com/abhiemj/manim-mcp-server.git
cd manim-mcp-server
4

Find your Python and Manim executable paths

You need the absolute paths to your Python executable and the Manim executable for the Claude Desktop config. Use the appropriate command for your OS.

# macOS/Linux:
which python3
which manim

# Windows PowerShell:
(Get-Command python).Source
(Get-Command manim).Source
5

Configure Claude Desktop

Add the server to Claude Desktop's config file. Replace the paths with the absolute paths from the previous step. The MANIM_EXECUTABLE env var tells the server where manim is installed.

{
  "mcpServers": {
    "manim": {
      "command": "/usr/bin/python3",
      "args": ["/absolute/path/to/manim-mcp-server/server.py"],
      "env": {
        "MANIM_EXECUTABLE": "/usr/local/bin/manim"
      }
    }
  }
}
6

Restart Claude Desktop

Fully quit and relaunch Claude Desktop. Rendered animations will be saved to the media/ subdirectory within the manim-mcp-server folder.

Manim Examples

Client configuration

Claude Desktop config for the Manim MCP server with Python executable and MANIM_EXECUTABLE env var.

{
  "mcpServers": {
    "manim": {
      "command": "/usr/bin/python3",
      "args": ["/Users/yourname/manim-mcp-server/server.py"],
      "env": {
        "MANIM_EXECUTABLE": "/usr/local/bin/manim"
      }
    }
  }
}

Prompts to try

Ask Claude to generate Manim animations for mathematical or educational content.

- "Create a Manim animation showing the Pythagorean theorem with a right triangle."
- "Animate a sine wave being drawn across the screen using Manim."
- "Generate a Manim animation that visualizes bubble sort on an array of 8 elements."
- "Create a Manim scene showing the transformation of a square into a circle."

Troubleshooting Manim

Manim renders fail with 'manim not found' error

Set the MANIM_EXECUTABLE env var to the full absolute path of your manim binary. Use 'which manim' on macOS/Linux or '(Get-Command manim).Source' on Windows to find it.

LaTeX-related errors when rendering math formulas

Install a LaTeX distribution. On macOS use MacTeX (brew install --cask mactex), on Windows use MiKTeX, on Linux use texlive-full. After install, restart your terminal and Claude Desktop.

Animation files not visible after rendering

Check the media/ directory inside the cloned manim-mcp-server folder. Manim saves rendered files there by default. If the directory is empty, check Claude Desktop logs for Python errors in the server script.

Frequently Asked Questions about Manim

What is Manim?

Manim is a Model Context Protocol (MCP) server that ๐Ÿ ๐Ÿ  ๐ŸชŸ ๐Ÿง - a local mcp server that generates animations using manim. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Manim?

Follow the installation instructions on the Manim GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Manim?

Manim works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Manim free to use?

Yes, Manim is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "manim": { "command": "npx", "args": ["-y", "manim"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

Ready to use Manim?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides