For LLMs & API
Ask an AI assistant to search the catalog for you. Paste the prompt below into ChatGPT, Claude, Gemini or any assistant that can open web links, then add your question at the end.
Refer to https://microbiome-repo.colorado.edu/llms.txt for instructions on how to access the Microbiome Repo. My question:
Example questions: probiotic trials where both treated and placebo samples have metagenomes · ulcerative colitis FMT projects · adult colorectal cancer cohorts with healthy controls · infant samples from Finland with exact ages.
How the search works
- Start from a ready-made selection. Small files list the projects for one intervention, health condition or age group:
- by intervention: fmt · probiotic · prebiotic_or_fibre · synbiotic · live_biotherapeutic · antibiotic · diet_intervention · dietary_supplement · drug_therapy · surgery · bowel_preparation · exercise · vaccine · phage_therapy · other_intervention
- by age: neonate · infant · child · adolescent · adult · elderly
- by health condition (one file per code in api/vocabularies.json): allergy_or_atopy · autoimmune_inflammatory · cardiometabolic_other · colorectal_adenoma · colorectal_cancer · crohns_disease · gi_infection_or_diarrhoea · healthy_control · ibd_or_gi_disease · ibd_unspecified · ibs · intervention_cohort · kidney_disease · liver_disease · malnutrition · nec · neurological_psychiatric · obesity · other_cancer · other_disease · other_infection · pregnancy_postpartum · preterm_nicu · sepsis_or_infection · transplant_or_immunocompromised · type1_diabetes · type2_diabetes · ulcerative_colitis
- Combine. Every project record has the same keys — e.g. take by-intervention/probiotic.json and keep projects whose health_conditions include crohns_disease: that is "Crohn's + probiotic".
- Open the samples. api/samples/<ACCESSION>.csv lists every sample with its arm (intervention: probiotic / placebo / no_intervention …), condition, age, country and sequencing depth.
The same filters are on the Projects (health condition × intervention × design × "treated & control arms") and Samples.
MCP server
An assistant that speaks the Model Context Protocol can query one release on your own machine instead of reading files from this site. microbiome_repo-mcp (the Python package is called microbiome-repo-mcp) is a small Python package that reads the unpacked data package with DuckDB and answers six kinds of question: find projects, filter samples, summarise a condition, prevalence of a taxon per body site, how to cite, and the coded values a filter accepts. It is pinned to one release, downloads nothing and writes nothing; every answer names the release it came from. Installation and the list of tools are in its README.
Endpoints
| file | contents |
|---|---|
| llms.txt | plain-text instructions an assistant reads first (the prompt points here) |
| api/index.json | endpoint list, meaning of every key, counts |
| api/vocabularies.json | codes and labels: health conditions, interventions, designs, age categories |
| api/projects.json | all 5,086 projects (≈ 2 MB; better for scripts) |
| api/by-intervention/<code>.json · api/by-condition/<code>.json · api/by-age/<category>.json | the selections above |
| api/by-condition/<MONDO_0005011>.json | one file per condition identifier (783); the name is the identifier with the colon written as an underscore, as on the Condition explorer. It selects the samples whose label was mapped to that condition, where by-condition/<code>.json selects the catalog's own health-condition code. |
| api/samples/<ACCESSION>.csv | per-project sample sheet (plain CSV, key columns) |
| data/catalog_sample_metadata_wide.parquet | every sample, every field (for DuckDB / pandas / R) |
| data/catalog_studies.parquet | one row per project |
| Downloads & releases | the whole data package and every table |
The API is a set of static files regenerated with every release (release R2026.44); URLs are stable. No key and no rate limit. Values are evidence-linked claims — the evidence for each is on the project page.
Licence: curated values CC-BY-4.0; archive metadata under INSDC terms; Sandpiper community profiles CC-BY. Cite: Microbiome Repo, release R2026.44 (data package 1.35.0), Olm Lab, University of Colorado Boulder, 2026-11-25. DOI 10.5281/zenodo.23087712 Please also cite the primary study of each project.
Project record keys
| accession | BioProject accession |
| title | project title |
| n_samples | catalog samples; in a selection file this and every other count below are the project's own totals, over all its samples, not only the samples of the selection |
| gbp_per_sample_median | median sequencing depth per sample (Gbp) |
| health_conditions | code -> number of samples |
| age_categories | life stage -> number of samples |
| countries | country -> number of samples |
| sex | sex -> number of samples |
| interventions | interventions the project ADMINISTERED (project level, from abstract / description; [] = none stated) |
| intervention_design | randomized_controlled_trial | non_randomized_controlled | crossover | single_arm_before_after | observational_with_procedure | none | unknown |
| intervention_detail | short free text naming agent / regimen |
| trial_population_condition | underlying condition of the trial population |
| sample_intervention_arms | code -> number of samples whose own archive record states the arm (placebo / no_intervention = controls / baselines) |
| has_cases_and_healthy_controls | >= 3 healthy_control samples and >= 3 samples with a disease code |
| has_treated_and_control_arms | >= 3 samples in an active arm and >= 3 placebo / no_intervention samples (archive attributes) |
| papers | up to 5 linked papers |
| urls | page, samples_csv (plain CSV), samples_full_csv_gz, evidence_csv_gz, ena |
The file an assistant reads: llms.txt.