A side-by-side look at the Semgrep and Code Pathfinder MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Semgrep for security work; choose Code Pathfinder for security as a local process. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose Semgrep when
You need dedicated capabilities in the Security domain.
No tool names declared yet. Check the project README from the listing page.
Code Pathfinder tools
No tool names declared yet. Check the project README from the listing page.
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
Semgrep
No confirmed install command for Semgrep yet — follow the setup steps linked from its listing page rather than a guessed package name.
Semgrep is categorized under Security and uses an install path we have not confirmed yet. Code Pathfinder belongs to Security and uses a local stdio subprocess. Pick Semgrep for security work and Code Pathfinder for security.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client. Semgrep has no confirmed install command yet — follow its own setup instructions.
Semgrep is listed as free. Auth: no auth required. Code Pathfinder is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add semgrep-semgrep and code-pathfinder as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, Semgrep has a quality signal of 39/100 (Fair) with 0 views, 0 installs and 17,095 GitHub stars. Code Pathfinder has 43/100 (Fair) with 3 views, 0 installs and 142 GitHub stars.