hello-qm/catgo-lrg/fetch
Claude Code and agent skill by hello-qm/catgo-lrg
- community
Checking that the SKILL.md file is still in the repository.
Fetch crystal structures from Materials Project/OPTIMADE databases and molecules from PubChem. Search, select, and load structures into the CatGO viewer.
Install
npx vskill@latest install hello-qm/catgo-lrg/fetchSKILL.md
Structure Fetching Skill
When to Use
Use this skill when the user wants to:
- Load a known crystal structure (e.g., "get TiO2 rutile")
- Search for materials by composition or elements
- Fetch a molecule by name or formula from PubChem
- Browse structures from OPTIMADE-compliant databases
Data Sources
| Source | Tool action | What it has | |
|---|---|---|---|
| Materials Project | catgo_fetch(action: "crystal") | ~150k inorganic crystals, DFT-relaxed | |
| Alexandria | catgo_fetch(action: "search", provider: "alexandria") | ~5M structures, PBE/PBEsol | |
| MC3D | catgo_fetch(action: "search", provider: "mc3d") | Curated crystal database | |
| 2DMatPedia | catgo_fetch(action: "search", provider: "twodmatpedia") | 2D materials | |
| PubChem | catgo_fetch(action: "molecule") | ~110M molecules, 3D conformers |
MCP Tool Examples
Fetch a crystal by formula (Materials Project)
This loads the lowest-energy TiO2 structure from Materials Project directly into the viewer. The formula is automatically normalized for OPTIMADE (alphabetical element order: "O2Ti").
Fetch a specific structure by ID
Search for structures (returns list, does not auto-load)
Returns a list of matching structures with IDs, space groups, and energies. The user then picks one to load:
Search by elements (any compound containing these elements)
This finds all compounds containing Ti and O (TiO2, Ti2O3, SrTiO3, etc.).
Search across multiple providers
Fetch a molecule from PubChem
By name:
By formula:
By PubChem CID:
Add a molecule to existing structure
To add a molecule into the current structure (e.g., adding an adsorbate above a surface), use catgo_structure instead:
This fetches from PubChem and merges into the current viewer structure. For multiple copies (e.g., a water layer):
Workflow: Search -> Select -> Load -> Build
A typical session for setting up a catalysis calculation:
- Search for the bulk crystal:
- Load the desired polymorph:
- Verify it loaded correctly:
- Build a slab for surface chemistry:
- Place an adsorbate:
Formula Normalization
OPTIMADE requires formulas in alphabetical element order:
- User says "TiO2" -> query sends "O2Ti"
- User says "Fe2O3" -> query sends "Fe2O3" (already alphabetical)
- User says "H2O" -> query sends "H2O" (already alphabetical)
Unicode subscripts are automatically converted: TiO₂ -> TiO2.
The catgo_fetch tool handles this normalization internally. You do not need to manually reorder formulas.
Provider-Specific Notes
Materials Project (mp)
- Highest quality: structures are DFT-relaxed with standardized settings
- Has computed properties: band gap, formation energy, stability
- Preferred for common inorganic materials
Alexandria
- Largest database (~5M structures)
- Good for finding exotic compositions
- PBE and PBEsol relaxed
PubChem
- Molecules only (no periodic structures)
- 3D conformers from MMFF94 or experimental data
- Returns the first conformer; may not be the global minimum
- Always optimize the geometry after fetching for DFT work
Common Mistakes
- Searching with non-alphabetical formula on OPTIMADE (handled automatically)
- Expecting PubChem molecules to be DFT-optimized (they are not)
- Loading a crystal when a molecule is needed, or vice versa
- Not checking
catgo_view(action: "get_state")after loading to confirm
the structure is correct
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingserver/catgo/workflow/skills/structure/fetch/SKILL.md
Popularity
- Repository stars
- 172
- Repository forks
- 18
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hello-qm/catgo-lrg/fetch)