Ryan Ellis, 30, made no plea and was remanded in custody.
It followed an incident in which two brothers from Aberdeen were said to have been stabbed in Wardieburn Street West in the Pilton area of the capital on 8 April.
The men told police they had travelled from Aberdeen to buy a car.
Bradley Frail, 16, made no plea last week in connection with the same case. He was also charged with attempted murder.
A second man has appeared in court in Edinburgh charged with attempted murder following an attack on two men from Aberdeen.