alterlab-hmdb

Installation
SKILL.md

HMDB Database

Overview

The Human Metabolome Database (HMDB) is a comprehensive, freely available resource containing detailed information about small molecule metabolites found in the human body.

Scripts

HMDB serves no public REST API, and the whole site (records, .xml URLs, search, downloads) answers scripted requests with a Cloudflare challenge (HTTP 403, cf-mitigated: challenge; checked 2026-10-23). Start with scripts/hmdb_open.py (stdlib only, JSON to stdout), which assembles HMDB content from keyless mirrors and labels every value with its source:

python scripts/hmdb_open.py record HMDB0000001        # identity + HMDB annotations + concentrations
python scripts/hmdb_open.py disease "diabetes mellitus type 2" --biofluid Blood   # biomarkers
python scripts/hmdb_open.py structure "CN1C=NC2=C1C(=O)N(C(=O)N2)C"   # SMILES -> HMDB ID(s)
Installs
67
GitHub Stars
86
First Seen
Apr 12, 2026