Model Context Protocol server · Mass spectrometry
Ask questions of mass spectrometry data—directly.
MSMCP connects AI workflows to deterministic, auditable tools for inspection, QC, search, and hypothesis testing.
It is an MCP server between your LLM client and the operations that actually need doing: exact-mass validation, adduct and isotope chemistry, spectral similarity, quality control and library search. The model plans and interprets; the tools compute — against your files, on your machine.
LLMs should reason about mass spectrometry, not perform the arithmetic. Every scientific value on this page is a tool's output rather than a model's recollection, and every derived result carries a record of how it was made. That is the standard AI-assisted mass spectrometry should be held to, and MSMCP is infrastructure for it.
- 13 tools
- mzML · MGF · imzML
- stdio, local only
- no credentials
- MIT
How the peaks stay out of the prompt
- 1experiment.mzML — 220 peaks, parsed in the server process. mzML, MGF and imzML are read locally; vendor formats are refused with conversion guidance.
- 2load_spectrum(…) returns metadata and a reference.
- 3
reference =
"ptr:spectrum:264a5ae9…"
An opaque, random, expiring handle — never an address, an id or a path.
- 4Every later tool dereferences it server-side: validate_precursor · compute_cosine · generate_qc_summary · search_library
The model carries references, job IDs and verdicts — never spectra.