MSDS-Chain
MSDS Chain MCP 服务器
用于AI辅助实验设计的化学安全智能。
一个 MCP 服务器,为 AI 智能体(Claude Code、Cursor、Copilot 等)提供化学安全推理能力——包括兼容性检查、危害分析、合规性验证、PPE 建议、存储指导等。
专为使用 AI 设计实验并需要将安全验证集成到工作流中的研究人员打造。
为什么需要它
当您使用 Claude 规划合成路线或设置 Opentrons 协议时,安全验证不应是一个独立的步骤。此 MCP 服务器允许您的 AI 助手自动执行以下操作:
检查同一实验台上的化学品是否兼容
标记危险的混合顺序
为您处理的特定化学品推荐 PPE
验证是否符合欧盟 REACH、美国 OSHA/TSCA 及其他 6 个司法管辖区的规定
生成符合 GLP/GMP 合规要求的签署审计报告
Related MCP server: Clarity MCP
工具 (18)
工具 | 描述 |
| 一键式综合报告:化学品列表的兼容性 + PPE + 存储分组 |
| 获取化学品的特定 SDS 部分 (1-16) |
| 受限或高风险化学品的更安全替代品 |
| 从协议文本或代码中提取并验证化学品名称 |
| 试剂对的安全添加顺序(例如:酸入水) |
| 废物分类、容器类型及处置程序 |
| 2 种以上化学品的两两兼容性 |
| GHS 分类、H 代码、警示词、闪点 |
| 手套、护目镜、呼吸防护、身体防护 |
| 存储类别、柜体类型、温度、隔离规则 |
| 溢出、火灾或接触后的应急程序 |
| 美国、欧盟、日本、中国、国际的 OEL/TLV/PEL/MAC |
| UN 编号、危险类别、包装组、ADR/IATA/IMDG |
| 多地区:欧盟、美国、中国、日本、韩国、加拿大、澳大利亚、台湾 |
| 按名称、同义词或 CAS 号查找化学品 |
| 针对任何安全问题的自然语言通用查询 |
| 包含签署 PDF 报告的完整审计(需要 API 密钥) |
| 下载签署审计 PDF 的链接 |
快速入门
1. 获取 API 密钥
在 msdschain.lagentbot.com 注册 → API Keys 选项卡 → 创建密钥。
2. 安装
git clone https://github.com/littleblakew/msds-chain-mcp.git
cd msds-chain-mcp
pip install -r requirements.txt3. 添加到您的 AI 编码智能体
Claude Code:
claude mcp add msds-chain -- python /path/to/msds-chain-mcp/server.pyOpenAI Codex:
codex marketplace add https://github.com/littleblakew/msds-chain-mcp手动配置 (Claude Code ~/.claude.json 或 Codex .agents/):
{
"mcpServers": {
"msds-chain": {
"command": "python",
"args": ["/absolute/path/to/msds-chain-mcp/server.py"],
"env": {
"MSDS_API_KEY": "sk-msds-your-key-here"
}
}
}
}重启 Claude Code。您应该能在 MCP 工具列表中看到 msds-chain。
使用示例
实验协议审查
User: I'm planning a Grignard reaction with magnesium turnings, diethyl ether,
and bromobenzene. Check if this setup is safe.
Claude:
→ calls batch_safety_check(["magnesium", "diethyl ether", "bromobenzene"])
→ Returns: compatibility matrix, PPE requirements, storage groupingOpentrons 实验台安全审计
User: My Opentrons deck has these in different slots:
Slot 1: Acetone, Slot 3: Concentrated H2SO4, Slot 5: Methanol,
Slot 7: Sodium borohydride. Any safety issues?
Claude:
→ calls check_chemical_compatibility(["acetone", "sulfuric acid", "methanol", "sodium borohydride"])
→ ⚠️ INCOMPATIBLE: Sodium borohydride + sulfuric acid (violent reaction, H2 gas evolution)
→ ⚠️ CAUTION: Acetone + sulfuric acid (exothermic)
→ Recommendation: Move sodium borohydride to maximum distance from acids发货前合规性检查
User: We need to ship toluene and dichloromethane to our Japan lab.
What transport regulations apply?
Claude:
→ calls get_transport_classification(["toluene", "dichloromethane"])
→ calls check_regulatory_compliance(["toluene", "dichloromethane"], regions=["JP"])
→ Returns: UN numbers, IATA packing instructions, Japan-specific regulations生成签署审计报告
User: Create a safety audit report for our quarterly review.
Chemicals: acetone, methanol, ethanol, isopropanol, hexane.
Claude:
→ calls create_audit_session("Q2 2026 Solvent Cabinet Review", ["acetone", "methanol", "ethanol", "isopropanol", "hexane"])
→ calls get_audit_report("SESSION-ID")
→ Returns: Signed PDF URL (Ed25519 signature, suitable for GLP/GMP compliance)远程模式 (HTTP)
对于云部署或团队共享访问,可作为 HTTP 服务器运行:
# Streamable HTTP (recommended for Claude Code 2026+)
MSDS_API_KEY=sk-msds-xxx python server_remote.py
# Or SSE mode
MSDS_MCP_TRANSPORT=sse MSDS_API_KEY=sk-msds-xxx python server_remote.py从 Claude Code 连接:
claude mcp add msds-chain --transport http https://your-server.example.com/mcpDocker
docker build -t msds-chain-mcp .
docker run -p 8080:8080 -e MSDS_API_KEY=sk-msds-xxx msds-chain-mcp配置
变量 | 默认值 | 描述 |
| (必填) | 来自 MSDS Chain 控制面板的 API 密钥 |
| 生产环境 URL | 覆盖以指向开发/自托管实例 |
|
| 响应语言: |
应用场景
实验室自动化 (Opentrons / Hamilton / Tecan)
运行前协议安全审计
实验台布局兼容性验证
自动化运行合规报告
电子实验记录本 (Benchling / LabArchives)
实验条目的安全注释
带有自动标记功能的化学品注册
制药研发
合成路线安全筛选
新化合物的多地区合规性预检
带有签署凭证的 GMP 就绪审计追踪
数据覆盖
4,200+ 种化学品,带有多种语言别名 (EN/ZH/JA)
NFPA/GHS 分类,用于兼容性规则
8 个监管司法管辖区 (欧盟、美国、中国、日本、韩国、加拿大、澳大利亚、台湾)
职业暴露限值,来自 5 个标准 (OSHA PEL, ACGIH TLV, EU IOELV, JP OEL, CN GBZ)
UN 运输数据,涵盖 16+ 种常见实验室化学品
架构
Your AI Agent (Brain) MSDS Chain MCP (Hands)
┌──────────────────┐ ┌─────────────────────────┐
│ Claude Code │──MCP────▶│ server.py (stdio/SSE) │
│ Cursor │ │ ↓ │
│ Any MCP client │ │ MSDS Chain Backend API │
└──────────────────┘ │ ↓ │
│ Safety Reasoning Engine │
│ (Rules + LLM fallback) │
└─────────────────────────┘该 MCP 服务器是一个轻量级客户端——所有安全推理均在 MSDS Chain 后端(规则引擎 + 用于边缘情况的 Azure OpenAI GPT-4o 后备方案)进行。
开发
使用 MCP 检查器进行本地测试:
export MSDS_API_KEY=sk-msds-your-key
npx @modelcontextprotocol/inspector python server.py路线图
[x]
get_waste_disposal— 废物分类和处置指导[x]
check_mixing_order— 试剂对的安全添加顺序[x]
get_chemical_alternatives— 受限化学品的更安全替代品[x] 远程 MCP (HTTP SSE / Streamable HTTP),用于云托管访问
[x] 用于 Claude Marketplace 集成的 OAuth 2.1(骨架 — 生产环境需要 Redis/DB)
许可证
MIT
关于
由 LAgentBot 构建 — AI 驱动的化学安全基础设施。
MSDS Chain 平台的一部分:全球首个 AI 智能体驱动的化学安全数据信任网络。
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-powered bioprotocol optimization — generate, search, and manage lab protocols via MCP
- mcpOAuthio.scispot
Turn any LLM into your lab assistant: search samples, track experiments, analyze data with AI.
FTIR spectral search and material identification for AI agents via MCP.
EU compliance corpus across 8 frameworks (NIS2, DORA, AI Act, ISO 27001 + more) via MCP.
Related MCP Servers
- FlicenseAqualityDmaintenanceHigh-value scientific tools for AI agents — literature search (PubMed, arXiv, Semantic Scholar), chemical compound lookup (PubChem, ChEMBL), patent prior art search (USPTO, EPO), GPU spot prices across 4 providers, and real-time earth science data (USGS, NASA, OpenAQ). Per-call billing via API key. Keys issued instantly at https://mcp-site.com/keys/request6-
- AlicenseAqualityAmaintenanceCondition-aware ingredient & product safety intelligence for AI agents. Every answer carries a claim-level evidence attestation, verdict, an evidence tier, and a citation – curated against authoritative sources (LactMed, InfantRisk, PubMed, DSLD, DermNet, EU CosIng) by Health AI. Hosted MCP server – no install, no key. Endpoint: https://mcp.healthai.com (Streamable HTTP, JSON-RPC 292 npmMIT
- AlicenseNot gradedqualityBmaintenanceMCP server that connects AI assistants to a live Ketcher window, the open-source web-based chemical structure editor. Draw, edit, and organize structures directly in the canvas you have open.2MIT
- AlicenseNot gradedqualityBmaintenanceProvides an MCP interface for publication-quality chemical structure and reaction rendering from SMILES/InChI/molblock, with validation and name parsing. Enables AI agents to draw molecules and reactions as images.23 PyPIMIT