pymatgen

Analyze crystal structures and calculate electronic properties with pymatgen.

2|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/mcox3406/claude-comp-chem-skills --skill pymatgen-mcox3406
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymatgen
Source: https://github.com/mcox3406/claude-comp-chem-skills/tree/main/pymatgen
Command: npx skills add https://github.com/mcox3406/claude-comp-chem-skills --skill pymatgen-mcox3406

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies complex materials science tasks, from analyzing crystal structures and predicting properties to setting up computational workflows, making advanced research accessible.

Core Features & Use Cases

  • Structure Analysis: Parse, manipulate, and analyze crystal structures and molecular systems.
  • Property Prediction: Calculate phase diagrams, band structures, and thermodynamic properties.
  • Workflow Automation: Set up and manage calculations for VASP, Gaussian, and other codes.
  • Use Case: Analyze the stability of a new material composition, predict its band gap, and generate input files for a VASP calculation, all within a single, streamlined process.

Quick Start

Use the pymatgen skill to analyze the structure in the file 'POSCAR'.

Frequently Asked Questions about pymatgen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a crystal structure from a POSCAR file for materials science research?

To analyze a crystal structure from a POSCAR file, you can parse and manipulate the atomic coordinates and lattice parameters to extract detailed structural insights for materials characterization.

Can I calculate phase diagrams and thermodynamic properties for a new material composition?

Yes, you can calculate phase diagrams and thermodynamic properties to evaluate the stability of new material compositions and predict their behavior under varying chemical conditions.

How do I generate input files for a VASP calculation workflow?

You can set up computational simulation workflows by configuring calculation parameters and generating the required input files for execution in VASP and other computational chemistry codes.

Does this approach work with scientific libraries like mp-api for data retrieval?

Yes, this approach requires deep integration with scientific libraries like pymatgen and mp-api to facilitate data retrieval and perform comprehensive computational materials science analysis.

What is the best way to predict the electronic band structure of a material?

The best way to predict electronic band structures involves using computational materials science workflows to calculate electronic properties and characterize the material's electronic behavior.

Are there limitations when setting up complex simulation workflows for materials discovery?

Limitations include the requirement for deep integration with scientific libraries and the need for advanced knowledge in computational chemistry to properly configure and execute complex simulation workflows.