# Depsonar

> Depsonar is an MCP server for developer tools. Audit dependencies, scan CVEs and detect migrations across 9 languages. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, macOS, Linux
- **Repository:** https://github.com/soflutionltd/depsonar
- **MCP Registry name:** com.soflution/depsonar
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-15

## About

Depsonar reaches past plain outdated-package checks. Its 23 tools scan projects in a configured projects directory, run live vulnerability lookups against osv.dev, search source for leaked secrets, flag GPL and AGPL licences, and report runtime end-of-life, Docker base images, GitHub Actions and .env or lockfile problems in one infrastructure report.

The migration detector looks for code patterns that need changing, with Svelte 4 to 5 runes and Next.js Pages to App Router given as examples, and a changelog preview shows breaking changes before an update. Updates come in patch, minor and latest levels with a dry-run preview, and each project gets a 0-100 health score.

A background checker uses macOS launchd or Linux cron to scan on a schedule and cache results, so depsonar_alerts reads them instantly when you open your editor. It runs locally over stdio and keeps itself current by checking npm every 6 hours; that is its only network call besides the vulnerability lookups. The package covers Node.js, Python, Rust, Go, PHP, Ruby, Dart, Swift and Kotlin/Java.

## Features

- **Multi-language scanning:** Detects Node.js, Python, Rust, Go, PHP, Ruby, Dart, Swift and Kotlin/Java projects.
- **Live CVE lookup:** Queries osv.dev and runs native audits such as npm audit and cargo audit.
- **Migration detector:** Finds code patterns that need changing for framework upgrades.
- **Secrets and licences:** Scans for exposed keys and flags copyleft or unknown licences.
- **Infrastructure audit:** Checks runtimes, global toolchain, Docker images and GitHub Actions.
- **Background checks:** Schedules scans through launchd or cron and serves cached alerts.

## Good for

- Update every project in a workspace with a dry run first
- Check whether a framework upgrade needs code changes
- Scan a repo for leaked API keys and database URLs
- Find deprecated packages and their replacements
- Get a morning list of outdated or vulnerable dependencies

## Install

### Claude Code (Terminal)

```sh
claude mcp add depsonar -- npx -y https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "depsonar": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "depsonar": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "depsonar": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "depsonar": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "depsonar": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb"
      ]
    }
  }
}
```

## Tools

- `depsonar_scan`: Scans all projects for outdated dependencies.
- `depsonar_check`: Checks a specific project.
- `depsonar_update`: Updates a project's dependencies.
- `depsonar_update_all`: Batch updates all projects.
- `depsonar_health`: Gives a 0-100 health score for a project.
- `depsonar_install`: Fresh install with an optional clean.
- `depsonar_audit`: Runs a security scan using npm, pip or cargo audit.
- `depsonar_cve`: Checks curated framework CVE advisories.
- `depsonar_live_cve`: Real-time CVE scan via osv.dev.
- `depsonar_changelog`: Shows changelogs and breaking changes before updating.
- `depsonar_migrate`: Detects framework migrations.
- `depsonar_deprecated`: Finds deprecated and replaced packages.
- `depsonar_secrets`: Scans for secrets and API keys.
- `depsonar_licenses`: Checks licence compliance.
- `depsonar_runtimes`: Checks runtime versions and end of life.
- `depsonar_toolchain`: Reports global tool versions.
- `depsonar_docker`: Audits Docker images.
- `depsonar_actions`: Audits GitHub Actions.
- `depsonar_envcheck`: Validates .env, lockfile and config.
- `depsonar_infra`: Produces a full infrastructure report.
- `depsonar_alerts`: Shows alerts from background scans.
- `depsonar_setup_checker`: Sets up automatic background scanning.
- `depsonar_config`: Views or edits configuration.

## FAQ

### Which languages are supported?

Node.js, Python, Rust, Go, PHP, Ruby, Dart/Flutter, Swift and Kotlin/Java.

### How many tools does it expose?

23, from depsonar_scan to depsonar_infra.

### Can it run scheduled scans?

Yes, depsonar_setup_checker sets up a background checker using macOS launchd or Linux cron.

### Where is the projects directory set?

In ~/.depsonarrc.json, or auto-detected from folders such as ~/Projects, ~/Developer and ~/Code.

### How does it stay updated?

A supervisor checks npm at start-up and every 6 hours and can be turned off with NO_UPDATE_NOTIFIER=1.

### How do I add Depsonar to Claude Code?

Run this command in your terminal: claude mcp add depsonar -- npx -y https://github.com/Soflutionltd/depsonar/releases/download/v4.1.0/depsonar.mcpb

### What are the best alternatives to Depsonar?

The closest alternatives to Depsonar are Dependency Risk Audit, Keep Me Secure, Depcheck, OSV Dependency Vulnerability Check and GeekWala Dependency Scanner.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Dependency Risk Audit](https://ai-powered.com/mcp/dependency-risk-audit): Dependency Risk Audit is a freemium MCP server for developer tools.
- [Keep Me Secure](https://ai-powered.com/mcp/keep-me-secure): Keep Me Secure is an open-source MCP server for security.
- [Depcheck](https://ai-powered.com/mcp/depcheck): Depcheck is a paid MCP server for security.
- [OSV Dependency Vulnerability Check](https://ai-powered.com/mcp/osv-dependency-vulnerability-check): OSV Dependency Vulnerability Check is a paid MCP server for security.
- [GeekWala Dependency Scanner](https://ai-powered.com/mcp/geekwala-dependency-scanner): GeekWala Dependency Scanner is a freemium MCP server for security.
- [OSV Advisories](https://ai-powered.com/mcp/osv-advisories): OSV Advisories is an open-source MCP server for security.
- [Dependency Vulnerability Check (OSV)](https://ai-powered.com/mcp/dependency-vulnerability-check-osv): Dependency Vulnerability Check (OSV) is a paid MCP server for security.
- [Dep Diff MCP](https://ai-powered.com/mcp/dep-diff-mcp): Dep Diff MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/depsonar
