Fetching details from the dictionary...

the head; the foremost; beginning; the very front
火事のときはまっ先に子供を逃がした。
During the fire, I got the children out first.
彼はまっ先に手を挙げて質問した。
He was the first to raise his hand and ask a question.
朝起きてまっ先にすることはコーヒーを淹れることだ。
The first thing I do when I wake up is brew coffee.