compareLabelVersions

Free

Show what changed in a DailyMed drug label between two versions: sections added, removed or modified, with the added and removed sentences. Give sinceDate to compare the label in force at that date with the current one ('what changed in the label since X'), or explicit versions from getLabelHistory. Defaults to the latest change (previous version vs current). Sentence-level diff of the SPL text; tables are flattened.

Try it

Open in playground
kirha tools run dailymed_compareLabelVersions \
  --input '{
    "setId": "<setId>"
  }'

Uses the key saved by kirha auth login.

  • setIdstring, required, UUID

    SPL set ID from searchLabels or openfda-mcp searchDrugLabels

  • fromVersioninteger, 1 to 9007199254740991

    Overrides sinceDate

  • sinceDatestring, YYYY-MM-DD

    YYYY-MM-DD; baseline = the version in force before this date

  • toVersioninteger, 1 to 9007199254740991

    Defaults to the current version

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot