ParticlePhysics MCP Server
粒子物理 MCP 服务器
一个模型上下文协议(MCP)服务器,允许 Claude Desktop、IDE 和其他 MCP 客户端查询粒子属性和衰变模式。
支持自然语言查询(muon plus、pion zero、antiproton、anti up quark)、不区分大小写的查找、MC ID(-13),并返回人类可读的文本和结构化的 JSON 有效载荷。
目录
Related MCP server: Astro MCP
功能
search_particle— 质量(MeV + GeV)、电荷、自旋、颜色、宇称 / C / I / G、寿命或宽度、MCID、审查 IDlist_decays— 包含源方法名称的排他性 / 包含性分支分数自然语言输入 —
muon plus、positive tau、pion zero、kaon minus反粒子支持 —
antimuon、anti up quark、ubar、u bar、u_bar、u~、antineutron;通过 MCID 取反解析,无需猜测名称MC ID 查找 — 直接使用
11、-2212等进行查询自共轭感知 —
anti photon解析为gamma,anti pi0解析为pi0结构化输出 — 每个响应除了人类可读的文本外,还包含一个被围起来的
```json块
安装
git clone https://github.com/uzerone/particlephysics-mcp-server.git
cd particlephysics-mcp-server
pip install -e .配置您的 MCP 客户端
将以下内容之一添加到您的客户端 MCP 配置中(例如 claude_desktop_config.json)。
使用克隆仓库中的 uvx(无需全局安装):
{
"mcpServers": {
"particlephysics": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/particlephysics-mcp-server",
"python", "-m", "particlephysics_mcp_server"]
}
}
}使用本地虚拟环境(在 pip install -e . 之后):
{
"mcpServers": {
"particlephysics": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["-m", "particlephysics_mcp_server"]
}
}
}工具
search_particle
输入 | 示例 |
规范名称 |
|
英文别名 |
|
反粒子 |
|
自然语言电荷 |
|
MC ID |
|
示例调用:search_particle({"query": "muon plus"})
Found 1 particle(s) matching 'muon plus':
1. mu
Name: mu+
PDG ID: -13
PDG Review ID: S004/2025
Mass: 105.6583755 MeV (0.1056583755 GeV)
Spin (J): 1/2
Charge: 1
Color: singlet
Quantum numbers: J=1/2
Lifetime: 2.196981148893498e-06
```json
{
"query": "muon plus",
"count": 1,
"particles": [{
"name": "mu+",
"mcid": -13,
"pdg_review_id": "S004/2025",
"mass": {"mev": 105.6583755, "gev": 0.1056583755},
"charge": {"value": 1.0, "fraction": "1"},
"spin": "1/2",
"color": {"multiplicity": 1, "label": "singlet"},
"quantum_numbers": {"J": "1/2"},
"lifetime": {"seconds": 2.197e-06, "stable": false, "text": "..."}
}]
}
```list_decays
与 search_particle 相同的标识符格式。尝试 exclusive_branching_fractions → branching_fractions → inclusive_branching_fractions 并报告其使用的源。对于稳定粒子,返回一个 stable=true 的空衰变列表。
示例调用:list_decays({"particle_id": "tau"})
Decay modes for particle 'tau':
1. tau- --> mu- nubar_mu nu_tau (BR: 17.39 ± 0.04 %)
2. tau- --> e- nubar_e nu_tau (BR: 17.82 ± 0.04 %)
…
```json
{
"particle": {"name": "tau-", "mcid": 15, ...},
"source": "exclusive_branching_fractions",
"count": 137,
"decays": [{
"description": "tau- --> mu- nubar_mu nu_tau",
"branching_ratio_text": "17.39 ± 0.04",
"value_text": "17.39E-2",
"is_limit": false
}, ...]
}
```Claude 技能
Claude Code 技能规范位于 .github/skills/particlephysics-skill/SKILL.md。它运行检查器,验证两个工具,并测试自然语言 / 反粒子 / MC ID 查询界面。
触发短语:particle physics mcp 或 pp。
更新日志
请参阅 CHANGELOG.md 获取发布说明。
维护者
许可证
MIT — 请参阅 LICENSE.txt。
Available Tools
2 toolslist_decaysB
List decay modes for a specific particle
Inputs: particle_id (required).
search_particleC
Search for particles by name or properties in the PDG database
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one lists decay modes for a specific particle, while the other searches for particles in a database. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the task.
Both tools follow a consistent verb_noun naming pattern (list_decays and search_particle), using snake_case throughout. This predictability aids in understanding and usage without any deviations.
With only 2 tools, the server feels thin for a particle physics domain, which typically involves complex queries, simulations, or analyses. This limited set may not support comprehensive agent workflows, suggesting an under-scoped implementation.
The toolset is severely incomplete for particle physics, lacking essential operations like retrieving particle properties, calculating cross-sections, or simulating interactions. Agents will face significant gaps, as basic CRUD or lifecycle coverage is missing.
Maintenance
Related MCP Connectors
Verified physics and chemistry calculators for AI agents: search in plain English, run with units.
41Real-time web search, reasoning, and research through Perplexity's API
Integrates Wolfram Language and Wolfram|Alpha accessing curated data and sophisticated algorithms.
Real-time web and scholarly search with cited answers and multi-step deep research.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to Wolfram Alpha's computational knowledge engine for mathematical calculations, scientific computing, data analysis, and factual information through natural language queries.26MIT
- FlicenseNot gradedqualityDmaintenanceProvides unified natural language access to 40+ astronomical databases and surveys including DESI, SIMBAD, SDSS, and Gaia, enabling researchers to search, retrieve, and analyze astronomical data without learning complex APIs.6-
- FlicenseNot gradedqualityDmaintenanceProvides seamless access to over 35 million PubMed scientific articles through natural language queries for research discovery and analysis. It enables tools for advanced searches, retrieving article details, and exploring related research within the life sciences and biomedical fields.13-
- FlicenseNot gradedqualityDmaintenanceProvides access to CERN Indico public events, enabling search, retrieval of event details, and listing of upcoming events through natural language.1-