DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to give your AI coding assistant Semgrep scans over MCP with Semgrep

Start the built-in MCP server so assistants can run scans while they write code.

Short answer: Install with pipx install semgrep; then start the server locally with semgrep mcp; register it in your MCP client following your client's settings. All steps.

Who it is forA developer using Cursor, VS Code or another MCP client who wants security checks on generated code.

The problemAI generated code ships without any automatic security scan.

The outcomeAn MCP server your assistant can call to scan files it just wrote.

What you need first

  • Python and pip, or pipx, uv, Homebrew or Docker
  • A project directory to scan
  • Optional free Semgrep account for extra rules

Steps

  1. Install with pipx install semgrep
  2. Start the server locally with semgrep mcp
  3. Register it in your MCP client following your client's settings
  4. Ask the assistant to scan code it generated and fix what Semgrep reports

Prompt for your agent

Using semgrep/semgrep, install it with `pipx install semgrep`, start `semgrep mcp`, then scan the files you changed and fix every finding.

Caveat. This card is written from the semgrep/semgrep README, not from a test run by Deduped. Before you start, make sure you have Python and pip, or pipx, uv, Homebrew or Docker. Check the repo for newer instructions before you rely on these steps.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for semgrep/semgrep and "Give your AI coding assistant Semgrep scans over MCP"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer