Command Line Interface
Basic Usage
foundry --helpCommands
Search Datasets
# Search by keyword
foundry search "band gap"
# Limit results
foundry search "band gap" --limit 10
# JSON output (for scripting)
foundry search "band gap" --jsonGet Dataset Info
# Get info by DOI
foundry get 10.18126/abc123
# JSON output
foundry get 10.18126/abc123 --jsonView Schema
List All Datasets
Check Publication Status
Version
HuggingFace Export
MCP Server
JSON Output
Exit Codes
Code
Meaning
Environment Variables
Variable
Purpose
Examples
Find and Download a Dataset
Export to HuggingFace
Scripting with JSON
Last updated
Was this helpful?