原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Mass Spectrometry Data (mzML, Bruker TDF, vendor conversion)

作者:K-Dense-AI版本 0.1.1i★ –i在你的电脑上运行
注册名称io.github.K-Dense-AI/labmcp-ms-data

安装

概览

作者提供的说明(英文原文)

MCP server for LC-MS data in mzML/mzMLb and Bruker timsTOF files; vendor formats via msconvert.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: LABMCP_ADDRESS, LABMCP_SIMULATE, LABMCP_READ_ONLY, LABMCP_LIMITS

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "labmcp-ms-data": {
      "command": "uvx",
      "args": [
        "labmcp-ms-data"
      ],
      "env": {
        "LABMCP_ADDRESS": "your-value",
        "LABMCP_SIMULATE": "your-value",
        "LABMCP_READ_ONLY": "your-value",
        "LABMCP_LIMITS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add labmcp-ms-data --env LABMCP_ADDRESS=your-value --env LABMCP_SIMULATE=your-value --env LABMCP_READ_ONLY=your-value --env LABMCP_LIMITS=your-value -- uvx labmcp-ms-data

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "labmcp-ms-data": {
      "command": "uvx",
      "args": [
        "labmcp-ms-data"
      ],
      "env": {
        "LABMCP_ADDRESS": "your-value",
        "LABMCP_SIMULATE": "your-value",
        "LABMCP_READ_ONLY": "your-value",
        "LABMCP_LIMITS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "labmcp-ms-data": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "labmcp-ms-data"
      ],
      "env": {
        "LABMCP_ADDRESS": "your-value",
        "LABMCP_SIMULATE": "your-value",
        "LABMCP_READ_ONLY": "your-value",
        "LABMCP_LIMITS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • LABMCP_ADDRESS env
    Instrument address, e.g. serial:///dev/ttyUSB0 or tcp://192.168.1.50:5025
  • LABMCP_SIMULATE env
    Set to 1 to use the built-in simulator (no hardware)
  • LABMCP_READ_ONLY env
    Set to 1 to disable all state-changing tools
  • LABMCP_LIMITS env
    Safety limit overrides, e.g. max_temperature_c=80

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 K-Dense-AI 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32742 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32742 个服务器的 49% 更新
  • 基础检查结果等于或优于此分类中其他 32742 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Mass Spectrometry Data (mzML, Bruker TDF, vendor conversion) 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.1)于41天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Asset Notation

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Asset Notation

作者:assetnotation

Read and maintain an Asset Notation file on disk: net worth, holdings, valuations, CSV import.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Mass Spectrometry Data (mzML, Bruker TDF, vendor conversion) — MCP Server

Let an AI agent find, read and analyse LC-MS data files from any vendor through open interfaces: list the runs in a folder, report the instrument and acquisition details, plot TIC/BPC chromatograms, extract ion chromatograms with apex and area, read spectra, find MS2 scans by precursor m/z, and run a quick QC. Vendor files are converted to mzML with a converter you have installed. This is a data server: it controls no hardware.

Packagelabmcp-ms-data
InstrumentsAny LC-MS run saved as mzML / mzML.gz / mzMLb; Bruker timsTOF (.d, TDF) read directly; Thermo .raw, Waters .raw folders, Agilent .d, SCIEX .wiff/.wiff2, Shimadzu .lcd, Bruker BAF .d after conversion
InterfacesFiles (a local or network data folder)
ProtocolmzML 1.1 via pyteomics; mzMLb via pyteomics + h5py; Bruker TDF via its SQLite schema + timsrust (timsrust-pyo3); conversion with msconvert or ThermoRawFileParser
Status🧪 simulated: tested against a synthetic LC-MS run, hand-written and generated mzML/mzMLb files and a small Bruker TDF test set; not yet verified on a wide range of real instrument files. Report a test

Try it without data

uvx labmcp-ms-data --simulate --check

--simulate serves one synthetic 12-minute DDA LC-MS/MS run (simulated_lcms_run.mzML): eight known analytes (caffeine, sulfamethoxazole, leucine enkephalin, angiotensin II 2+, verapamil, glu-fibrinopeptide B 2+, reserpine, terfenadine) eluting as Gaussian LC peaks with isotope envelopes, a polysiloxane background ion, chemical noise, a top-5 DDA method with dynamic exclusion and fragment spectra, AGC-like injection times, and one electrospray dropout at ~10.6 min for the QC tool to find.

Point it at your data

  1. Install (pick the extras you need):
   uvx labmcp-ms-data --help                        # mzML / mzML.gz

uvx --from 'labmcp-ms-data[bruker]' labmcp-ms-data --help # + Bruker timsTOF spectra/XICs uvx --from 'labmcp-ms-data[mzmlb]' labmcp-ms-data --help # + mzMLb

2. **Choose the data folder** with `--address` (default: the current directory; the server refuses to start in the filesystem root, where many MCP clients launch servers, without an `--address`). Subfolders are searched. The agent can only read and write inside this folder: paths with `..`, absolute paths elsewhere and symlinks pointing outside are refused.
   uvx labmcp-ms-data --address ~/data/lcms --check
  1. Vendor files (optional): install a converter yourself; this package never bundles or downloads vendor libraries.
  • Thermo .raw, any OS: ThermoRawFileParser (--option converter=thermorawfileparser, plus --option converter_path=/opt/trfp/ThermoRawFileParser.dll if it isn't on PATH; .dll is started with dotnet, .exe with mono on Linux/macOS). With converter=auto, a converter_path is recognised from its file name.
  • All vendors, Windows: ProteoWizard msconvert (--option converter=msconvert).
  • All vendors, Linux/macOS: Docker and docker pull proteowizard/pwiz-skyline-i-agree-to-the-vendor-licenses (--option converter=docker). Pulling the image means you accept the vendor licences. Only the input's folder (read-only) and the output folder are mounted into the container. On Apple Silicon it runs under x86-64 emulation (slow). On Linux the output files are owned by root.
  • converter=auto (default) tries ThermoRawFileParser for Thermo files, then msconvert, then Docker.

The commands used are: ThermoRawFileParser -i= -o= -f=2 [-p] [-g] and msconvert -o --mzML --zlib [--gzip] [--filter "peakPicking vendor msLevel=1-"] (inside Docker via wine msconvert). They are run without a shell, with a timeout; on timeout the converter's whole process tree (and the Docker container) is killed and the incomplete output is deleted.

Add to your MCP client

Claude Code

claude mcp add ms-data -- uvx --from 'labmcp-ms-data[bruker]' labmcp-ms-data --address /path/to/data

Claude Desktop / Cursor / Windsurf (claude_desktop_config.json, .cursor/mcp.json, …)

{

"mcpServers": { "ms-data": { "command": "uvx", "args": ["--from", "labmcp-ms-data[bruker]", "labmcp-ms-data", "--address", "/path/to/data", "--option", "converter=docker"] } } }

Add --read-only to hide convert_to_mzml (the only tool that writes a data file; save_path CSV exports inside the data folder remain available). A save_path must end in .csv (a name without an extension gets one), and an existing file is never replaced unless the call passes overwrite=true. For other clients, generate the snippet with uvx labmcp config ms-data --address /path/to/data --client vscode (also cursor, codex, claude-code).

Tools

ToolKindDescription
convert_to_mzml🎛 controlConvert a vendor file (Thermo .raw, Waters .raw, Agilent .d, SCIEX .wiff, Shimadzu .lcd, Bruker .d) to mzML with the converter the user installed (ThermoRawFileParser, ProteoWizard msconvert, or msconvert in Docker; chosen with --option converter=...). Writes a new file in the data folder. Can take minutes; fails with install instructions if no converter is set up.
extract_ion_chromatogram👁 readExtracted ion chromatogram (XIC/EIC) for one or more m/z values: the summed intensity within ± tolerance (ppm or Da) in every MS1 spectrum (or another ms_level). For each target returns the apex RT and intensity, the apex peak's boundaries, area (intensity x min, no baseline subtraction) and FWHM, plus a downsampled trace. Reads every spectrum in the RT window, so restrict rt_start_min/rt_end_min on long runs.
find_ms2_scans👁 readFind the MS2 (MSn) spectra whose precursor m/z is within ± tolerance of precursor_mz, optionally within an RT window and for one charge state. Returns index, scan number, RT, precursor m/z, error in ppm, charge and intensity; open any hit with get_spectrum.
get_bpc👁 readBase peak chromatogram (intensity of the most intense peak per spectrum, with its m/z) vs retention time, downsampled to max_points. Cleaner than the TIC for spotting eluting compounds; the base-peak m/z tells you which ion dominates each part of the run.
get_command_log👁 readReturn the most recent raw commands sent to / replies received from the instrument (newest last). Useful for debugging and for recording what was done.
get_connection_info👁 readReport which instrument is connected (identity, address, simulated or real), whether the server is read-only, and the active safety limits. Call this first.
get_run_info👁 readDescribe one run: instrument vendor/model/serial (when the file records them), acquisition date, software, number of spectra per MS level, retention-time and m/z ranges, polarity, centroid/profile, and whether ion-mobility data is present. The first call on a large file indexes it (can take a while); later calls are instant.
get_spectrum👁 readRead one spectrum, chosen by index, scan_number, native_id or nearest rt_min (give exactly one). Returns MS level, RT, polarity, centroid/profile, precursor m/z and charge for MS2, a summary (peak count, TIC, base peak, m/z range) and the top_n most intense peaks; save_path writes the full peak list to CSV. For profile spectra the top peaks are local maxima of the profile.
get_tic👁 readTotal ion chromatogram (sum of all intensities per spectrum vs retention time) for one MS level, downsampled to max_points (keeping the maximum in each bin so peaks survive). Returns the apex, median and area; save_path writes every point to CSV.
list_runs👁 readFind mass-spectrometry runs in the data folder and detect each one's vendor and format (mzML/mzML.gz/mzMLb, Bruker .d TDF or BAF, Agilent .d, Thermo .raw, Waters .raw folder, SCIEX .wiff/.wiff2, Shimadzu .lcd, mzXML). readable_directly=false means the run must be converted with convert_to_mzml before it can be analysed.
reconnect🛑 safetyClose and re-open the connection to the instrument (e.g. after it was power cycled or a cable was re-plugged).
summarise_run👁 readQuick QC of a run: MS1/MS2 counts, TIC stability (CV, spray dropouts), where the signal elutes, cycle time, MS2 scans per cycle, median injection times and how often MS2 hit the maximum injection time, and precursor charge states. Returns plain-language warnings.

get_connection_info, get_command_log and reconnect are built into every LabMCP server (reconnect here closes the cached runs). There are no HAZARD tools, because nothing physical is controlled, so no SAFETY stop tool is needed.

Safety limits

LimitDefaultMeaning
max_conversion_time_s3600 sLongest time a convert_to_mzml call may run before the converter is stopped
max_xic_targets50Most m/z values in one extract_ion_chromatogram call

Override at launch: --limit max_conversion_time_s=7200.

Example prompts

  • "Which runs are in this folder, and which ones need converting?"
  • "Give me the instrument, acquisition date and scan counts for QC_2024_03_01.mzML."
  • "Extract XICs for caffeine (195.0877) and verapamil (455.2904) at 5 ppm and report apex RT and area."
  • "Find every MS2 scan of m/z 523.7745 between 5 and 7 min and show me the fragments of the most intense one."
  • "Run a QC on the last three runs: any spray dropouts, and how many MS2 per cycle?"
  • "Convert sample_07.raw to mzML, then plot its base peak chromatogram."

Notes

  • Format support: mzML (indexed or not, optionally .gz) through pyteomics (Apache-2.0), using the PSI-MS vocabulary bundled with psims (no download). mzMLb needs the [mzmlb] extra (h5py, hdf5plugin). Gzipped mzML is decompressed to a temporary file for random access.
  • Bruker timsTOF (TDF): run metadata (instrument, serial, date, m/z and 1/K0 ranges), the TIC (Frames.SummedIntensities), BPC intensity (Frames.MaxIntensity, the most intense single peak in any mobility scan; its m/z is not stored) and the DDA precursor list are read straight from the analysis.tdf SQLite tables (GlobalMetadata, Frames, Precursors, PasefFrameMsMsInfo), so they work without extras. Spectra and XICs need the [bruker] extra (timsrust-pyo3, Apache-2.0, wheels for Linux/macOS/Windows). MS1 and diaPASEF frames are summed over ion mobility (diaPASEF MS2 frames mix all isolation windows); each ddaPASEF precursor is one MS2 spectrum. Ion mobility is not resolved in the outputs. Bruker BAF .d folders need conversion.
  • Vendor formats: Thermo, Waters, Agilent, SCIEX, Shimadzu and Bruker BAF files can only be decoded with the vendors' own libraries, whose licences don't allow redistribution. The server detects them and converts them with a tool you installed (see above). It never downloads vendor code.
  • Numbers: retention times are in minutes (mzML scan start times in seconds are converted, going by the unit accession); XIC intensity is the sum of all peaks inside ± tolerance; areas are trapezoidal integrals over RT in minutes, with no baseline subtraction, between the points where

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx