Identifying the most appropriate bioinformatics tool for a task remains challenging across multiple domains. Annotating tools with EDAM ontology terms (e.g. topics, operations, input / output data and formats) can help, but manual annotation is labour-intensive, error-prone, and difficult to scale, particularly given the high rate of first-time package developers in academic environments. At BioHackathon Europe 2025, our team explored how Large Language Models (LLMs) can assist this process through the Model Context Protocol (MCP), an emerging open standard that specifies how LLMs call external functions, using metabolomics as a domain use case. We developed an MCP-based workflow that grounds tool descriptions in the EDAM ontology (Ison et al., 2013), improving reproducibility and semantic precision. Two core modules, entry-point specification and semantic text segmentation, were completed during the hackathon, while additional mapping, validation, and reporting functions were outlined for follow-up development. Benchmarking integrated with the BioChatter framework (Lobentanzer et al., 2025) demonstrated that MCP-assisted models outperform unconstrained baselines on initial tests using metabolomics packages from bio.tools (Ison et al., 2019). Ongoing work will expand benchmarking datasets, refine term-mapping logic, and extend the workflow to proteomics, supporting scalable, ontology-driven annotation across the ELIXIR ecosystem.

Figures

Mid-week reporting poster used during BioHackathon Europe 2025 to communicate early design decisions, illustrate EDAM bran...
Mid-week reporting poster used during BioHackathon Europe 2025 to communicate early design decisions, illustrate EDAM...Mid-week reporting poster used during BioHackathon Europe 2025 to communicate early design decisions, illustrate EDAM branches, and motivate the use of the Model Context Protocol to mitigate LLM hallucinations during ontology-driven tool annotation.
Example of hallucination: operation_3225 is actually “Variant classification”.
Example of hallucination: operation_3225 is actually “Variant classification”.
Schematic view of the workflow and its interactions.
Schematic view of the workflow and its interactions.
Evaluation on 2 examples shows significantly better performance over the baseline LLM.
Evaluation on 2 examples shows significantly better performance over the baseline LLM.

Version history

VersionPostedDOILinks
1 (this page) 10.37044/osf.io/x5v6b_v1 PDF · Europe PMC