MP Jo Cox died from multiple stab and gunshot wounds in an ambulance outside Birstall Library, a coroner heard.
An inquest into the death of Mrs Cox was opened and adjourned at Bradford Coroners’ Court last Friday.
Mrs Cox was attacked on Market Street near the library on June 16 as she went to hold a surgery with constituents.
Coroner Martin Fleming was told she was pronounced dead by a doctor in an ambulance attending the attack.
Det Supt Nick Wallen, of West Yorkshire Police, said it was immediately clear to officers and paramedics Mrs Cox was “very seriously injured indeed”.
Mr Wallen said medics worked desperately to save her life but were unable to do so.
The 41-year-old Batley and Spen Labour MP was pronounced dead in an ambulance at the scene at 1.48pm.
Her body was identified by her sister, Kim Leadbeater, at a mortuary in Bierley, Bradford.
Det Supt Wallen confirmed a post-mortem examination showed a preliminary cause of death as “multiple stab and gunshot wounds”.
Lawyers for Thomas Mair, the man accused of murdering Mrs Cox, did not request a second post-mortem examination.
Mr Fleming said this meant he could release her body “so the family can get on with the grieving process”.
He then adjourned the hearing, which lasted six minutes, until after the end of criminal proceedings.
Before that Mr Wallen gave brief details of what happened when emergency services first arrived at the scene.
The officer told the court: “On Thursday June 16, 2016, at just after 12.52pm, both the police and ambulance service were called by a number of emergency calls to Market Street in Birstall town centre, where initial information was that a man armed with a gun and knife had attacked and seriously injured a man and a woman.
“Police officers and paramedics arrived quickly at the scene and firstly found a male named Bernard Carter Kenny, aged 77, being tended to by members of the public. He had sustained a stab wound to the abdomen.”
Mr Wallen said emergency services also found a woman being tended to by members of the public.
“A number of people informed the police that the lady was Jo Cox, Member of Parliament for Batley and Spen,” he said.
The detective said Mrs Cox was taken into an ambulance by paramedics and emergency doctors “tended to her but were unable to save her life.”
He added that Mair has been charged with murder and other offences and is due to appear at the Old Bailey later this year.