FoodMapper app icon

FoodMapper

Match free-text food descriptions to standardized reference databases with on-device MLX models on Apple Silicon.

Designed for nutrition research. Matching runs on your Mac, and the installer needs no administrator password.

What's new in 0.1.8macOS 14 or later on Apple Silicon

Published in The Journal of Nutrition
FoodMapper home screen showing match setup and configuration

What it does

The default GTE-Large embedding path runs locally through MLX on Apple Silicon. Anthropic comparisons are separate and send the input text and candidate database entries needed for a selected run.

On-Device Matching

The default GTE-Large embedding model runs through MLX on Apple Silicon. Input and target data stay on the Mac for that path.

Guided Review Workflow

Confirm, reject, or override matches with keyboard-driven review. Auto-advancing guided mode works through items needing attention. Export reviewed results to CSV.

Built-In Databases

FooDB (9,913 items) and DFG2 (256 items) include source rows in the app. After the approved model download, embeddings are computed and cached on first use. You can also import a CSV or TSV.

Behind the Research

The in-app research section presents the paper's methods and an NHANES-to-DFG2 demonstration, with model and data provenance.


Published research

From dietary records to a standard food database

FoodMapper builds on a peer-reviewed evaluation of fuzzy matching, TF-IDF, text embeddings, and language-model-assisted matching. The study includes ASA24-to-FooDB and NHANES-to-DFG2 tasks. The NHANES-to-DFG2 task includes descriptions with no valid DFG2 entry.

The published hybrid run used claude-3-haiku-20240307. Anthropic retired that model on April 20, 2026. Runs with newer models are separate comparisons.


How it works

1

Load your data

Drag in a CSV or TSV with food descriptions. Pick your description column and target database.

2

Match

Click Run Match and the embedding model runs on your GPU. Semantic similarity retrieves candidate database entries for each food item.

3

Review and export

Guided review opens each result in order. Confirm, reject, or override each match. Current-session export includes original columns when the input remains available, plus match metadata.


Configure Match page with loaded CSV, column picker, and database selection
Configure your match with file preview and database selection
Results table with inspector panel showing match details and candidate list
Review results with the inspector panel and keyboard shortcuts
Behind the Research showcase with pipeline visualization
Interactive research showcase with pipeline visualization