ami-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ami-mcpfind the cross-section and filter efficiency for DSID 364114"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ami-mcp v0.2.1
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.
What it does
ami-mcp lets Claude (or any MCP-compatible LLM) query ATLAS metadata directly:
Discover samples: search for MC datasets by PMG hashtag classification (WeakBoson/Vjets/Baseline), by name pattern, or by arbitrary AMI query
Look up metadata: retrieve cross-sections, filter efficiencies, k-factors, dataset provenance, and AMI processing tag info
Query cross-section DB: look up DSID entries in the PMG xsec database files (PMGxsecDB_mc16.txt, etc.)
Validate samples: check hashtag classifications and compare metadata against the PMG cross-section database
General queries: execute arbitrary AMI command strings formulated by the LLM using the
ami://query-languageresource as a guide
Related MCP server: CERN GitLab MCP Server
Installation
pip install ami-mcpOr with pixi (recommended for ATLAS facilities):
pixi add ami-mcpRequirements
Python 3.10 or 3.11 (pyAMI requires
<3.12)A valid VOMS proxy (
voms-proxy-init -voms atlas)Grid CA certificates (available on CVMFS at ATLAS sites)
Quick start
1. Set up authentication
voms-proxy-init -voms atlasWhen 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/certificatesWhen installed via pixi or conda-forge, ca-policy-lcg is included and sets
X509_CERT_DIR automatically — no extra step needed.
2. Test the server
ami-mcp serveThe server speaks MCP over stdio. Configure your MCP client to launch it.
3. Configure Claude Code
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"
}
}
}
}4. Configure Claude Desktop
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"
}
}
}
}Available tools
AMI queries
Tool | Description |
| Execute any AMI command string (primary power tool) |
| Get metadata for a dataset (nFiles, nEvents, status, etc.) |
| Get provenance chain with lineage summary; filter by data type |
| Search for datasets by name pattern (supports |
PMG hashtags
Tool | Description |
| Find datasets by hashtag combination (e.g. WeakBoson/Vjets/Baseline) |
| Look up PMGL1–PMGL4 classification for a dataset |
Physics metadata
Tool | Description |
| Get cross-section (nb→pb converted), filter efficiency, k-factor from AMI |
| Get AMI processing tag info; accepts tag chains like |
Cross-section database
Tool | Description |
| List available PMGxsecDB_*.txt files |
| Look up DSID cross-section, filter eff, k-factor in xsec DB |
Validation
Tool | Description |
| Check hashtag classification and compare metadata to xsec DB |
Example prompts
Once configured, you can ask Claude things like:
"Find all Baseline WeakBoson/Vjets samples in mc21_13TeV"
"What are the cross-section and filter efficiency for DSID 700320?"
"Look up the hashtag classification for this EVNT dataset"
"Validate these samples against the mc21 cross-section database"
"Show me the provenance chain for this DAOD dataset"
"What AMI tag e8351 corresponds to — which generator version?"
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server providing access to XRootD file systems, allowing LLMs to browse directories, read file metadata, and access contents via the root:// protocol. It supports advanced features like campaign discovery, file searching, and ROOT file analysis for scientific data management.Last updated181MIT
- AlicenseAqualityBmaintenanceAn MCP server that connects LLMs to CERN GitLab to discover and analyze High Energy Physics code, documentation, and analysis examples. It provides 14 tools for repository browsing, dependency parsing, and CI/CD configuration analysis.Last updated154AGPL 3.0
- Alicense-qualityBmaintenanceAn MCP server that exposes Rucio distributed data management operations as tools for LLMs. Designed for ATLAS physicists working with grid data on analysis facilities, but usable with any Rucio instance.Last updated5Apache 2.0
- Alicense-qualityDmaintenanceMCP server for ATLAS Open Data that enables LLMs to discover, query, and retrieve public datasets and metadata from the ATLAS experiment at CERN.Last updated2Apache 2.0
Related MCP Connectors
MCP server for fcc-ecfs
An MCP server for deep research or task groups
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kratsg/ami-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server