# Semgrep

> Code security: SAST, supply chain and secrets scanning with rules that look like code

Source: https://talira.ai/catalog/semgrep-v0kqhvdn
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Command-line tool, Web app, MCP server
- Categories: [security / static analysis](https://talira.ai/categories/security/static-analysis), [security / supply chain / dependency scanning](https://talira.ai/categories/security/supply-chain/dependency-scanning), [security / secret scanning](https://talira.ai/categories/security/secret-scanning)
- Platforms: macos, linux, windows, docker[^2]
- Licence: LGPL-2.1-only[^3]
- Pricing: Free tier, from $30/month[^1]
- Pricing notes: Community Edition CLI is free and open source. Platform Free Edition: up to 10 contributors and 10 repositories. Teams: Code $30, Supply Chain $30 and Secrets $15 per contributor per month. Enterprise custom.
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Cloud hosted: yes[^1]
- SSO: yes[^1]
- SSO tax: No SSO tax: SSO is in the cheapest paid plan, the Teams plan ($30/contributor/month)
- MCP server: yes[^4]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^4]
- Backed by: [Semgrep](https://talira.ai/orgs/semgrep.md)

Semgrep is a static analysis engine whose rules look like the code they match, so teams write custom checks in minutes. The open source Community Edition (LGPL-2.1) scans 35+ languages from the command line, in CI or as a pre-commit hook. The Semgrep AppSec Platform adds the Pro engine's cross-file and cross-function taint analysis and Pro rules (Semgrep Code), software composition analysis with reachability and malicious dependency detection (Supply Chain), validated secrets detection (Secrets), AI triage and autofix, and an MCP server that gives coding agents the whole suite. The platform is free for up to 10 contributors and 10 repositories.

## Links

- Website: https://semgrep.dev/
- GitHub: https://github.com/semgrep/semgrep
- Docs: https://semgrep.dev/docs/
- Pricing: https://semgrep.dev/pricing

## Problems it solves

- catch SQL injection and XSS in pull requests before they merge
- write a custom lint rule for our codebase's dangerous patterns without learning an AST library
- a SAST tool that doesn't drown developers in false positives
- find out which vulnerable dependencies our code actually calls
- block malicious packages from entering our dependency tree
- find hardcoded API keys and check whether they're still valid
- enforce secure coding guardrails across dozens of languages in CI
- let our AI coding agent scan and fix the code it writes for security issues
- generate an SBOM and check open source licence compliance
- scan code locally for free without sending it to a vendor

## Features

- rules written in the syntax of the code they match
- 35+ supported languages
- custom rules and a community rule registry
- Pro engine: cross-file and cross-function taint analysis (platform)
- Supply Chain: reachability analysis, malicious dependency detection, EPSS, SBOM generation and licence compliance
- Secrets: semantic and entropy analysis with secret validation
- AI-powered detection, auto-triage, remediation guidance and autofix
- MCP server giving agents access to the Semgrep suite
- CI/CD, pre-commit hook and pull request comments
- SSO on Teams; on-prem source code management support on Enterprise

## Ways to run it

### Semgrep AppSec Platform

Hosted by Semgrep. Price: Free for up to 10 contributors; Teams from $30/contributor/month; Enterprise custom.[^1]

Only in this edition:

- Pro engine with cross-file analysis and Pro rules
- Supply Chain (SCA) and Secrets products
- AI triage and autofix
- SSO (Teams)

Pricing: https://semgrep.dev/pricing

### Semgrep Community Edition

You run it, LGPL-2.1-only. Price: free.[^2]

Not included:

- cross-file analysis and Pro rules
- Supply Chain and Secrets products

You arrange:

- running it in your own CI

Self-hosting docs: https://semgrep.dev/docs/getting-started/quickstart

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Has single sign-on: Teams plan and up, from $30/contributor/month[^1]

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- has a company behind it
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [ast-grep](https://talira.ai/catalog/ast-grep-5ehppe4z.md): A CLI tool for code structural search, lint and rewriting
- [SonarQube](https://talira.ai/catalog/sonarqube-hv6cp5td.md): Code confidence for the agentic software factory
- [Bearer CLI](https://talira.ai/catalog/bearer-cli-4r29s52f.md): Code security scanning tool (SAST) to discover, filter and prioritize security and privacy risks
- [Snyk](https://talira.ai/catalog/snyk-sw1313nn.md): Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
- [gosec](https://talira.ai/catalog/gosec-gjvttnaj.md): Go security checker
- [CodeQL](https://talira.ai/catalog/codeql-8rqre4qe.md): GitHub's semantic code analysis engine for finding vulnerabilities

## Sources

[^1]: https://semgrep.dev/pricing (checked 23 Nov 2026)
[^2]: https://semgrep.dev/docs/getting-started/quickstart (checked 23 Nov 2026)
[^3]: https://github.com/semgrep/semgrep/blob/develop/LICENSE (checked 23 Nov 2026)
[^4]: https://semgrep.dev/solutions/mcp (checked 23 Nov 2026)
