You definitely want your AI to search legal databases, and not draw from "memory". This is where AI offerings from Thomson or Lexis could shine, especially in jurisdictions where case law is not freely available online.

Or you can just have Claude code search westlaw / vlex/ courtlistener