loading…
Search for a command to run...
loading…
An MCP server that allows ATLAS physicists to query the ATLAS Metadata Interface (AMI) and PMG cross-section database for MC sample discovery and metadata retri
An MCP server that allows ATLAS physicists to query the ATLAS Metadata Interface (AMI) and PMG cross-section database for MC sample discovery and metadata retrieval. It enables users to look up cross-sections, dataset provenance, and validate sample classifications using natural language commands.
Actions Status Documentation Status
An MCP server that wraps ATLAS AMI (ATLAS Metadata Interface) and the PMG cross-section database, exposing them as tools for LLMs. Designed for ATLAS physicists who need to discover MC samples, look up cross-sections and filter efficiencies, and validate PMG hashtag classifications.
ami-mcp lets Claude (or any MCP-compatible LLM) query ATLAS metadata directly:
ami://query-language resource as a guidepip install ami-mcp
Or with pixi (recommended for ATLAS facilities):
pixi add ami-mcp
<3.12)voms-proxy-init -voms atlas)voms-proxy-init -voms atlas
When installed via pip (not pixi/conda-forge), also set X509_CERT_DIR. On
CVMFS-based facilities (e.g. UChicago Analysis Facility, CERN lxplus):
export X509_CERT_DIR=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/etc/grid-security-emi/certificates
When installed via pixi or conda-forge, ca-policy-lcg is included and sets
X509_CERT_DIR automatically — no extra step needed.
ami-mcp serve
The server speaks MCP over stdio. Configure your MCP client to launch it.
With pixi (recommended — X509_CERT_DIR is set automatically):
{
"mcpServers": {
"ami": {
"type": "stdio",
"command": "pixi",
"args": ["run", "ami-mcp", "serve"],
"env": {
"ATLAS_PMGXSEC_PATH": "/cvmfs/atlas.cern.ch/repo/sw/database/GroupData/dev/PMGTools"
}
}
}
}
With pip (must set X509_CERT_DIR manually):
{
"mcpServers": {
"ami": {
"command": "ami-mcp",
"args": ["serve"],
"env": {
"X509_CERT_DIR": "/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/etc/grid-security-emi/certificates",
"ATLAS_PMGXSEC_PATH": "/cvmfs/atlas.cern.ch/repo/sw/database/GroupData/dev/PMGTools"
}
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"ami": {
"command": "ami-mcp",
"args": ["serve"],
"env": {
"X509_CERT_DIR": "/path/to/ca-certificates",
"ATLAS_PMGXSEC_PATH": "/path/to/PMGTools"
}
}
}
}
| Tool | Description |
|---|---|
ami_execute |
Execute any AMI command string (primary power tool) |
ami_get_dataset_info |
Get metadata for a dataset (nFiles, nEvents, status, etc.) |
ami_get_dataset_prov |
Get provenance chain with lineage summary; filter by data type |
ami_list_datasets |
Search for datasets by name pattern (supports % wildcards) |
| Tool | Description |
|---|---|
ami_search_by_hashtags |
Find datasets by hashtag combination (e.g. WeakBoson/Vjets/Baseline) |
ami_get_dataset_hashtags |
Look up PMGL1–PMGL4 classification for a dataset |
| Tool | Description |
|---|---|
ami_get_physics_params |
Get cross-section (nb→pb converted), filter efficiency, k-factor from AMI |
ami_get_ami_tag |
Get AMI processing tag info; accepts tag chains like e8351_s3681_r13144 |
| Tool | Description |
|---|---|
ami_list_xsec_databases |
List available PMGxsecDB_*.txt files |
ami_lookup_xsec |
Look up DSID cross-section, filter eff, k-factor in xsec DB |
| Tool | Description |
|---|---|
ami_validate_sample |
Check hashtag classification and compare metadata to xsec DB |
Once configured, you can ask Claude things like:
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"ami-mcp": {
"command": "npx",
"args": []
}
}
}