Pymatgen

🌐Community
by davila7 · vlatest · Repository

Pymatgen allows you to programmatically analyze and generate materials data, accelerating research by automating complex calculations and simulations.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add pymatgen npx -- -y @trustedskills/pymatgen
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "pymatgen": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/pymatgen"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The pymatgen skill enables AI agents to perform advanced materials science calculations using Python. It provides access to a comprehensive library of tools for analyzing crystal structures, simulating thermodynamic properties, and predicting material behavior through first-principles methods.

When to use it

  • Analyzing the stability and formation energy of novel alloy compositions.
  • Simulating phase transitions in battery electrode materials under varying temperatures.
  • Calculating electronic band structures for semiconductor design.
  • Automating high-throughput screening of potential catalyst candidates.

Key capabilities

  • Crystal structure visualization and manipulation
  • Thermodynamic property prediction (e.g., formation energy, heat capacity)
  • Electronic structure analysis (band gaps, density of states)
  • Magnetic property simulation
  • Defect formation energy calculations
  • Phase diagram generation

Example prompts

  • "Calculate the formation energy of a lithium vacancy in LiCoO2 at 300K."
  • "Generate a band structure plot for silicon using DFT parameters."
  • "Screen perovskite oxides for high oxygen reduction activity and list top candidates."

Tips & gotchas

Ensure your environment has the necessary computational resources, as density functional theory (DFT) calculations can be resource-intensive. Verify that input crystal structures are properly formatted to avoid convergence errors during simulation.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
davila7
Installs
162

🌐 Community

Passed automated security scans.