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: ChemCP
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 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
- AlicenseAqualityDmaintenanceRenders interactive 2D molecular structure diagrams from SMILES notation and computes molecular properties like molecular weight, LogP, and TPSA, directly in the chat.1601ISC
- AlicenseNot gradedqualityFmaintenanceEnables creating 3Blue1Brown style math animations from text descriptions, PDFs, or images. Supports rendering educational videos for math and physics topics.12MIT
- FlicenseNot gradedqualityBmaintenanceEnables creating Manim animations via natural language commands using DeepSeek API, with a RAG system for Manim documentation retrieval.
Related MCP Connectors
AI visual generation agent: multi-pipeline rendering, prompt crafting, and image composition.
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
DXF and PDF/X-4 for AI agents: structured facts, PNG renders, an interactive in-chat viewer.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/imashen/chemanim-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server