I've found several lists online (example) of surahs, where the classification of Meccan or Medinan is given for each surah. Every list seems to classify them the same way, whether the list follows the traditional Egyptian chronology or Nöldeke's chronology. Is that because Muslims agree, or am I missing a crucial piece of the picture? If there is widespread agreement, how did it come about?
1 Answer
Most copies of the Qur'an have an entry at the beginning of each sura stating the name of the sura, whether it is Meccan or Medinan, and how many verses it contains. These superscriptions are not considered to be part of the revealed text, but they are fairly uniform in copies of the Qur'an.
Just one example (below): the last word on the left in the gilded panel is "makkiyya," indicating a Meccan sura.
There is also a whole branch of Islamic learning called asbābu t-tanzīl (أسباب التنزيل) which is concerned with determining the circumstances in which any given sura was revealed to the Prophet. Of course, there is a lot of disagreement about the details. So the answer to your question is: no, there is no universal agreement.