FRENES

Security · MCP server

Semgrep: MCP server, setup and security

Semgrep is an open-source MCP server published on GitHub that lets an AI agent scan source code for security vulnerabilities with the Semgrep tool. Its repository has 17,241 stars and its last commit is from October 23, 2026 and it is licensed under LGPL-2.1.

OfficialActively maintainedTop 10% by stars

What Semgrep does

According to its repository: “Scan code for security vulnerabilities using Semgrep.”

The Model Context Protocol (MCP) is a standard plug between an AI agent and an outside service: once the server is connected, its tools show up in the agent, which decides when to call them. Semgrep is listed under Security, a category of 133 servers in the directory, where it ranks #2 by stars.

Topics declared by the repository: static-analysis, static-code-analysis, java, go, sast, semgrep.

Installing and connecting Semgrep

No package or remote server is declared in the official MCP registry: you install it from source, following the repository README.

It works with any MCP-compatible client (Claude Desktop, Claude Code, Cursor, VS Code, Codex and most recent agents). You add one entry to the client's MCP configuration: server name, start command or URL, environment variables. Project language: Python.

Security: what to check

Connecting an MCP server means installing software that talks straight to your agent: it runs with your rights and the model trusts its tool descriptions. The risk therefore depends on what it can touch and how far its code can be trusted.

None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Semgrep. That does not replace reading the code.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on December 13, 2019, the semgrep/semgrep repository has 17,241 stars and 1,127 forks, with 890 open issues. It is one of the most starred servers in the directory. It received changes this month.

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

World MonitorWorld Monitor : 89.4K89.4KSemgrepSemgrep : 17.2K17.2KIda pro MCPIda pro MCP : 13.1K13.1KGhidraMCP (LaurieWired)GhidraMCP (LaurieWired) : 11.5K11.5KRobin: AI Powered Dark Web ORobin: AI Powered Dark Web O : 7.7K7.7KJadx ai MCPJadx ai MCP : 2.9K2.9KPower BI Authoring MCP ServePower BI Authoring MCP Serve : 1.2K1.2KSafeDep Vet MCPSafeDep Vet MCP : 1.1K1.1K
GitHub stars of the most followed servers in the category (log scale); Semgrep in orange. Checked October 25, 2026.

Verdict

Semgrep is one of the most solid servers in its category: followed, maintained and well framed.

Strengths

  • Maintained by the service's own vendor
  • Active project: recent commit
  • Widely followed: 17.2K stars

Limitations

  • Install from source

Frequently asked questions

How do I install Semgrep?

No package is declared in the MCP registry: clone the semgrep/semgrep repository, follow its README, then declare the start command in your client's MCP configuration.

Is Semgrep free?

The code is published under the LGPL-2.1 licence and can be used free of charge.

Is Semgrep safe?

No risk signal found (system access, secrets, licence, abandonment). As with any MCP server, keep rights minimal and read the code before sensitive use.

Is it an official server?

Yes: the awesome-mcp-servers list marks it as the service vendor's official implementation.

What are the alternatives to Semgrep?

In the same category: World Monitor, SafeDep Vet MCP, Ida pro MCP, and GhidraMCP (LaurieWired).

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score