Pymatgen
Toolkit for crystal structures, phase diagrams, electronic structure, and Materials Project queries in Python.
- CCM score
- 65 of 100
- skills.sh installs
- 368
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers structure creation, symmetry analysis, format conversion, phase diagram construction, and band structure and DOS analysis
- Includes helper scripts such as
structure_converter.py,structure_analyzer.py, andphase_diagram_generator.pywith batch and export options - Supports over 100 file formats, including CIF, POSCAR, and XYZ, plus VASP, Gaussian, and Quantum ESPRESSO outputs
- Designed for computational materials scientists who need programmatic access to Materials Project data through
mp-api
Install
$ npx -y skills add davila7/claude-code-templates --skill pymatgen -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Pymatgen - Python Materials Genomics
Overview
Pymatgen is a comprehensive Python library for materials analysis that powers the Materials Project. Create, analyze, and manipulate crystal structures and molecules, compute phase diagrams and thermodynamic properties, analyze electronic structure (band structures, DOS), generate surfaces and interfaces, and access Materials Project's database of computed materials. Supports 100+ file formats from various computational codes.
When to Use This Skill
This skill should be used when:
- Working with crystal structures or molecular systems in materials science
- Converting between structure file formats (CIF, POSCAR, XYZ, etc.)
- Analyzing symmetry, space groups, or coordination environments
- Computing phase diagrams or assessing thermodynamic stability
- Analyzing electronic structure data (band gaps, DOS, band structures)
- Generating surfaces, slabs, or studying interfaces
- Accessing the Materials Project database programmatically
- Setting up high-throughput computational workflows
- Analyzing diffusion, magnetism, or mechanical properties
- Working with VASP, Gaussian, Quantum ESPRESSO, or other computational codes
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Research & Academic, Data Science & Analytics, Python
- First seen
- Jun 3, 2026
Questions
What does the pymatgen skill do for Claude Code?
The pymatgen skill is a materials science toolkit that helps the agent work with crystal structures in CIF and POSCAR formats. It covers phase diagrams, band structure, density of states, Materials Project integration, and format conversion for computational materials science.
Who is the pymatgen skill for?
It is aimed at researchers doing computational materials science who work with crystal structures, electronic structure data, or the Materials Project database. It also suits anyone converting structure files between codes such as VASP, Gaussian, and Quantum ESPRESSO.
How do I install the pymatgen skill?
Run npx -y skills add davila7/claude-code-templates --skill pymatgen -y in a project to install it. Once installed, the agent can read and write structure files, analyze symmetry and coordination, and build phase diagrams with pymatgen.
Where does pymatgen stand in the Research and Academic category?
Pymatgen is listed in the Research and Academic category on Claude Marketplaces, alongside skills such as research, paper-context-resolver, and repo-intake-and-plan. Its specific focus is crystal structures, phase diagrams, and electronic structure in materials science.
Does the pymatgen skill need a Materials Project API key?
Only for Materials Project features. The skill describes setting the MP_API_KEY environment variable so the mp-api client can fetch structures and entries, while local structure work and format conversion do not require it.
More from davila7/claude-code-templates
All 398- Codex Review365
- Behavioral Modes364
- Accessibility362
- Networkx362
- Python Patterns362
- Analytics Tracking361
- Production Code Audit359
- Biorxiv Database358
- Javascript Mastery358
- Plan Writing358
- Risk Management Specialist358
- Ab Test Setup356
- Deslop356
- Biopython354
- Fda Consultant Specialist352
- Voice Ai Development352
- Performance Profiling351
- Voice Agents351
- Geo Database350
- Server Management350
- Email Systems348
- Browser Extension Builder342
- Discord Bot Architect342
- Launch Strategy342
Similar to Pymatgen
More Research & Academicpdb-databaseSkilldavila7/claude-code-templates281 installsPython client and REST access to the RCSB PDB for searching and retrieving 3D macromolecular structures.
alphafold-databaseSkilldavila7/claude-code-templates326 installsFind, download, and score AlphaFold's AI-predicted protein structures by UniProt ID or species.
ConstructMCP serverrtmandreyev181 starsTurns part-by-part descriptions into named 3D constructs exported as glTF, OBJ, 3MF or STL.
PaperBananaMCP serverllmsresearch2.5K starsGenerate academic diagrams and statistical plots from text via multi-agent AI pipelines.
rdkitSkillk-dense-ai/scientific-agent-skills2.2K installsOpen-source cheminformatics toolkit for fine-grained molecular control, from parsing to custom sanitization.
tooluniverse-protein-structure-retrievalSkillmims-harvard/tooluniverse449 installsRetrieves protein structures from RCSB PDB, PDBe, AlphaFold, and SWISS-MODEL with quality assessment and disambiguation.