Back to Plugins

Semgrep

Semgrep catches security vulnerabilities in real-time and guides Claude to write secure code from the start.

security
By anthropics
85Updated 2 weeks agoShell

Installation

/plugin install semgrep@claude-plugins-official

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions

Semgrep Guardian: Claude Code Plugin

Installation instructions:

  1. Start a Claude Code instance by running:

    claude
  2. Add the Semgrep marketplace by running the following command in Claude:

    /plugin marketplace add semgrep/guardian
  3. Install the plugin from the marketplace:

    /plugin install semgrep@semgrep-marketplace
  4. Tell claude to load the plugin:

    /reload-plugins
  5. Ask claude to login to semgrep, using the guardian mcp

    login to semgrep

    This should call into the MCP, but if claude is having trouble, call /clear to restart claude, or exit and reopen claude manually.

View source on GitHub