About Chemgraph
Chemgraph is an MCP server published by argonne-lcf in the Developer Tools category: agentic framework for computational chemistry and materials science workflows. Conduid read 15 tools from its source: aggregate_simulation_results, extract_output_json, fetch_mp_structures, inspect_json, molecule_name_to_smiles, plot_xanes and 9 more. It is published to PyPI as chemgraph and runs with uvx.
The repository has 175 stars and 52 forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v0.7.0 (11 Sep 2026). It follows v0.6.0 (19 Jul 2026), and the 5 most recent releases go back to v0.3.3 (11 Feb 2026). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include quantum, devtools, materials-science, chemistry and workflow.
Install
uvx chemgraphpip install chemgraphgit clone https://github.com/argonne-lcf/ChemGraphTools (15)
aggregate_simulation_resultsCombine JSONL simulation records, including failures, into a CSV with original source identity.| Parameter | Type | Description |
|---|---|---|
| file_paths * | array | |
| output_csv_path * | string |
extract_output_jsonLoad simulation results from a JSON file produced by run_ase.| Parameter | Type | Description |
|---|---|---|
| json_file * | string |
fetch_mp_structuresFetch optimized structures from Materials Project.| Parameter | Type | Description |
|---|---|---|
| params * | any |
inspect_jsonInspect a JSON file, a directory of JSON files, or a missing expected JSON path. Returns compact summaries and nearby JSON files when the requested path is absent.| Parameter | Type | Description |
|---|---|---|
| glob_pattern | string | |
| max_files | integer | |
| max_preview_chars | integer | |
| path * | string | |
| recursive | boolean |
molecule_name_to_smilesConvert a molecule name to a SMILES string using PubChem. Set include_stereochemistry=true to distinguish enantiomers.| Parameter | Type | Description |
|---|---|---|
| include_stereochemistry | boolean | |
| name * | string |
plot_xanesGenerate normalized XANES plots for completed FDMNES calculations.| Parameter | Type | Description |
|---|---|---|
| runs_dir * | string |
rank_mofs_performanceRank exact adsorption conditions by uptake or working capacity, retaining full source identity.| Parameter | Type | Description |
|---|---|---|
| ads_pressure * | number | |
| ads_temp * | number | |
| des_pressure | number | |
| des_temp | number | |
| input_csv_path * | string | |
| min_cutoff | number | |
| top_percentile | number |
run_aseRun ASE calculations using specified input parameters.| Parameter | Type | Description |
|---|---|---|
| params * | any |
run_graspa_ensembleRun a single-adsorbate ensemble and return an isolated JSONL summary path.| Parameter | Type | Description |
|---|---|---|
| params * | any |
run_mace_ensembleRun an ensemble of MACE calculations| Parameter | Type | Description |
|---|---|---|
| params * | any |
run_mace_singleRun a single MACE calculation| Parameter | Type | Description |
|---|---|---|
| params * | any |
run_xanes_ensembleRun an ensemble of XANES/FDMNES calculations using Parsl.| Parameter | Type | Description |
|---|---|---|
| params * | any |
run_xanes_singleRun a single XANES/FDMNES calculation for one input structure.| Parameter | Type | Description |
|---|---|---|
| params * | any |
smiles_to_coordinate_fileConvert a SMILES string to a coordinate file| Parameter | Type | Description |
|---|---|---|
| fmt | string | |
| output_file | string | |
| seed | integer | |
| smiles * | string |
split_cif_datasetSplit a folder of CIFs file into batches. The batch size/number of batches is based on batch_size or num_workers.| Parameter | Type | Description |
|---|---|---|
| batch_size | integer | Explicit number of files per batch. |
| input_dir * | string | Directory containing the source .cif files. |
| num_workers | integer | Number of workers to distribute files across (used to calculate batch size). |
| output_root * | string | Directory where batch subdirectories will be created. |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.3K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- !No dynamic code executionScanned 254 source files and found 3 calls to eval or shell execution, in src/chemgraph/execution/local_backend.py:60, src/chemgraph/tools/docking_core.py:172 and src/chemgraph/tools/docking_core.py:175. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/chemgraph/mcp/server_utils.py:96, src/chemgraph/mcp/server_utils.py:83
- Starts other programs
- 19 callssrc/chemgraph/academy/runtime/compute_launcher.py:283, src/chemgraph/academy/runtime/compute_launcher.py:338, src/chemgraph/academy/runtime/dashboard_launcher.py:83
- Outbound network calls
- 13 callssrc/chemgraph/academy/dashboard/static/app.js:85, src/chemgraph/academy/dashboard/static/app.js:86, src/chemgraph/academy/runtime/dashboard_launcher.py:153
- Writes or deletes files
- 89 callssrc/chemgraph/academy/observability/run_artifacts.py:278, src/chemgraph/academy/observability/run_artifacts.py:282, src/chemgraph/academy/observability/run_files.py:28
- Lockfile
- None in the repository
Pattern matches on the source text of 254 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README