# Semgrep CLI

**Canonical:** https://apis.io/apis/semgrep/cli/  
**Provider:** Semgrep — https://apis.io/providers/semgrep/  
**Base URL:** https://github.com/semgrep/semgrep  
**Documentation:** https://github.com/semgrep/semgrep

Semgrep CLI is one of 6 APIs that [Semgrep](https://apis.io/providers/semgrep/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include CLI, Open-Source, and Static Analysis.

Open-source command-line static analysis engine. Runs locally and in CI to scan code with community and custom rules, emit SARIF/JSON output, and enforce policies. Authored primarily in OCaml with Python tooling; LGPL-2.1 licensed.

## Machine-readable artifacts (1)

- **Repository** — https://github.com/semgrep/semgrep

## Other Semgrep APIs (5)

- [Semgrep AppSec Platform REST API](https://apis.io/apis/semgrep/appsec-platform-api/)
- [Semgrep Community Rules](https://apis.io/apis/semgrep/rules/)
- [Semgrep VS Code Extension](https://apis.io/apis/semgrep/vscode/)
- [Semgrep Interfaces](https://apis.io/apis/semgrep/interfaces/)
- [Semgrep Documentation](https://apis.io/apis/semgrep/docs/)

## Tags

CLI, Open-Source, Static Analysis

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/semgrep/cli/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/semgrep/.
