OfficialLocalFree server, account needed

Semgrep MCP server

semgrep/semgrep/mcp

Scan code for security vulnerabilities using Semgrep.

17,376 GitHub stars1.1k forks

Install Semgrep in Claude Code

This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:

Claude Code
claude mcp add semgrep -- <command to start the server>

Frequently asked questions

What does the Semgrep MCP server do?

Scan code for security vulnerabilities using Semgrep.

Is the Semgrep MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Semgrep run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Semgrep to Claude Code?

Follow the install steps in the project's README at https://github.com/semgrep/semgrep/tree/develop/cli/src/semgrep/mcp, then register it with "claude mcp add".

More security & identity MCP servers

View all