Depsonar — Claude Code MCP server: dependency audit, how to install
Depsonar scans dependencies in 9 languages, queries CVE data via osv.dev, detects outdated packages and suggests updates. Works with Node.js, Python, Rust, Go, PHP, Ruby, Dart, Swift and Kotlin.
MIT updated 2026-10-28
Open on GitHubWhat Depsonar does
Depsonar checks projects for outdated libraries, vulnerabilities and framework migrations. Inside are 23 commands: from depsonar_scan (scan all projects) to depsonar_live_cve (query osv.dev API) and depsonar_migrate (find code patterns that need changing when moving from Svelte 4 to 5 or Next.js Pages to App Router). Updates come in three levels — patches, minor versions or latest available, with a preview of changes.
The server sees global tools (npm, cargo, docker, vercel), runtime versions and EOL flags, checks .env and lockfile freshness, scans secrets (AWS keys, GitHub tokens) and GPL/AGPL licenses. Running via npx updates itself every 6 hours, downloading a new version to ~/.soflution/mcp/depsonar/ and switching between requests. Turn off with NO_UPDATE_NOTIFIER=1.
Supports SvelteKit, Next.js, Nuxt, Astro, Django, Laravel, Express and groups results by ecosystems like Supabase or Tailwind.
What it helps with
- check all projects for outdated npm packages and vulnerabilities
- find CVE in dependencies via osv.dev API
- detect code patterns that need changing when migrating a framework
- get a project health score based on security and lockfile freshness
- scan Docker images and GitHub Actions for outdated versions
Example prompts for the agent
- Check all projects for outdated dependencies
- Run live CVE scan for the current project
- Show the changelog before updating
axios
How to install Depsonar
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Depsonar
How do I install Depsonar in Claude Code?
Add an entry to ~/.cursor/mcp.json with the key depsonar, a command field with the value npx, and an args array with elements ["-y", "depsonar@latest"]. Restart Cursor after editing.
What does Depsonar do?
Scans project dependencies in 9 languages, queries CVE via osv.dev, finds outdated packages and code patterns that need migration when a framework version changes. Checks runtimes, global tools, secrets in code and licenses.
Which languages does Depsonar support?
Node.js, Python, Rust, Go, PHP, Ruby, Dart/Flutter, Swift and Kotlin/Java. Auto-detects language and package manager, works with npm, pip, cargo, composer, gem, pub, swift package manager.