That sounds correct, MPX passes along the MCC for whatever the card is for, so in your case dining. AMEX on the other hand sees it as United, so you should see it in the travel category.
The Freedom category is Amazon.com specifically, not bookstore or online store, so MCC doesn't matter.