Updated April 2026
Install CERN GitLab MCP Server
Pick your client, copy the command, done.
1
Add it to Claude Code
Run this in a terminal.
claude mcp add cern-gitlab-mcp -- uvx cerngitlab-mcpEnvironment Variables
Set these before running CERN GitLab MCP Server.
VariableDescriptionRequired
CERNGITLAB_GITLAB_URLGitLab instance URLNoCERNGITLAB_TOKENPersonal access token for private project accessNoCERNGITLAB_TIMEOUTHTTP timeout in secondsNoCERNGITLAB_MAX_RETRIESMax retries for failed requestsNoCERNGITLAB_RATE_LIMIT_PER_MINUTEAPI rate limitNoCERNGITLAB_LOG_LEVELLogging levelNoCERNGITLAB_DEFAULT_REFDefault Git branch or tag to search withinNoAvailable Tools (3)
Once configured, CERN GitLab MCP Server gives your AI agent access to:
search_codeSearch for code within CERN GitLab repositories.queryproject_idsearch_issuesSearch for issues within CERN GitLab repositories.queryproject_idget_wiki_pagesRetrieve wiki pages from a project.project_idTry It Out
After setup, try these prompts with your AI agent:
→Search for recent code implementations related to Higgs boson analysis in the CERN GitLab repositories.
→Find all open issues related to the Python dependency configuration in the main HEP analysis project.
→Retrieve the documentation from the project wiki for the latest C++ analysis framework.
→List the contents of the repository and identify any .root binary files.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
Alternative installation methods
pip
pip install cerngitlab-mcpKeep this setup from going cold
Save the docs, env vars, and workflow around CERN GitLab MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.