chemanim
Click on "Install 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., "@chemanim演示乙烯与溴的加成反应,产物展示为1,2-二溴乙烷,并生成结构式动画。"
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.
ChemAnim
Translate Chinese chemistry animation requirements into verifiable Manim scenes: DeepSeek handles requirement understanding and provides English canonical names and candidate isomeric SMILES; the program then queries PubChem, compares candidate structures using Morgan fingerprints, and uses RDKit to verify molecular formulas, formal charges, and equation conservation. Manim only reads the final JSON and does not execute model-generated code.
Preparation
Requires Python 3.12 and a DeepSeek API key. Equations use Unicode chemical subscripts for display and no longer depend on MiKTeX. First installation:
cd C:\Users\i\Documents\chemenv
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .Do not write the key into source code or .env. Set it in the current PowerShell session:
$secureKey = Read-Host "DeepSeek API Key" -AsSecureString
$env:DEEPSEEK_API_KEY = [Net.NetworkCredential]::new("", $secureKey).PasswordTo persist it across new terminals, add it to the Windows user environment variables as DEEPSEEK_API_KEY, then reopen PowerShell. Verify the environment:
.\check_environment.ps1Related MCP server: math-animation-mcp
Usage
First generate and check the scene, structure, and verification report only:
.\.venv\Scripts\chemanim.exe "演示乙烯与溴的加成反应。生成物为1,2-二溴乙烷,展示所有物质的结构式。" --no-renderRender the 2D or 3D animation:
.\.venv\Scripts\chemanim.exe "演示乙烯与溴的加成反应。生成物为1,2-二溴乙烷。" --quality high
.\.venv\Scripts\chemanim.exe "演示乙烯与溴的加成反应。生成物为1,2-二溴乙烷。" --quality high --structure-mode 3d--structure-mode 3d enables OpenGL/GPU by default; 2D structures use the more compatible Cairo by default. For quick previews, use --quality medium; for manual selection, add --renderer opengl or --renderer cairo.
In 2D mode, structures in the same scene share a scale, so small molecules are no longer forcibly enlarged to match complex molecules.
Output is located at:
build/scene.json: final scene and verification summarybuild/verification.json: PubChem CID, InChIKey, candidate/verified SMILES, and Morgan Tanimoto similaritybuild/molecule_*.svgor 3D atom/bond data in the scenemedia/: Manim videos
The workflow automatically retries up to three times when the DeepSeek JSON is invalid. If PubChem is temporarily unavailable, it keeps the candidate structures and performs local RDKit verification; if verification fails, it stops and does not render erroneous results.
By default, it uses the faster deepseek-v4-flash; chemical structures are still verified by PubChem and RDKit. For stronger planning, add --model deepseek-v4-pro --request-timeout 180.
More Examples
.\.venv\Scripts\chemanim.exe "演示甲苯被氧气选择性氧化为苯甲醛和水,展示全部结构式。" --quality medium
.\.venv\Scripts\chemanim.exe "制作阿莫西林半合成原理动画,保持正确立体化学,不要虚构实验条件。" --no-renderMCP Server
The project provides a standard stdio MCP entry point:
.\.venv\Scripts\chemanim-mcp.exeMCP client configuration example (the key is inherited from the client process; do not write it into JSON):
{
"mcpServers": {
"chemanim": {
"command": "C:\\Users\\i\\Documents\\chemenv\\.venv\\Scripts\\chemanim-mcp.exe"
}
}
}The server exposes the generate_chemistry_animation tool with parameters including prompt, quality, structure_mode, render, model, and request_timeout. It only invokes the constrained ChemAnim CLI and does not execute model-submitted Python code.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Turn text or an image into an animation-ready 3D model (GLB): generate, rig, animate, retexture.
Creates 2D motion-graphics videos: kinetic typography, charts, formulas, narrated explainers.
AI orchestration for computational chemistry and HPC workflows.
AI visual generation agent: multi-pipeline rendering, prompt crafting, and image composition.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables natural language interaction with computational chemistry tools including molecule building, electronic structure calculations, geometry optimization, vibrational spectroscopy, and molecular dynamics, powered by RDKit, PySCF, and ASE.MIT
- AlicenseNot gradedqualityFmaintenanceEnables creating 3Blue1Brown style math animations from text descriptions, PDFs, or images. Supports rendering educational videos for math and physics topics.16MIT
- FlicenseNot gradedqualityBmaintenanceEnables creating Manim animations via natural language commands using DeepSeek API, with a RAG system for Manim documentation retrieval.-
- AlicenseNot gradedqualityAmaintenanceEnables generation of chemical structures, reactions, spectra, titration curves, 3D models, and more from natural language or SMILES, using RDKit for offline rendering and supporting formats like PNG, SVG, CDXML, and Anki decks.11Apache 2.0