Skip to main content Switch to mobile version depradar 0.1.0 Interactive System & Package Dependency Radar with force-directed graph & AI agent MCP server
pip install depradar==0.1.0 Copy PIP instructions
Interactive System & Package Dependency Radar Turn your developer environment into a force-directed visual network map. Discover forgotten packages, identify heavyweight runtimes, and track stale experiments.
When building AI workflows, running web scraping experiments, and testing new libraries, workstations accumulate dozens of virtualenvs, global NPM packages, container runtimes, and background daemons. DepRadar scans your machine and generates an interactive, force-directed dependency graph that makes storage footprints and relationships crystal clear.
1. Force-Directed Constellation View
Explore runtime engines, container daemons, virtual environments, and developer suites grouped cleanly into outer macro-clusters.
2. Deep Inspector Drawer & 1-Click Cleanup
Click any node to smoothly fly in, inspect upstream runtime requirements, downstream dependent projects, full package manifests with versions, and grab clipboard-ready deletion commands.
3. Link Hover & Relationship Explanations
Hover over any connection to reveal the exact nature of the dependency and how your tools interact under the hood.
🌐 Force-Directed Physics Graph: Smooth 60fps canvas visualizer powered by D3/Force-Graph with drag, zoom, and perimeter macro-clustering.
📦 Multi-Ecosystem Cartography: Python: Scans virtual environments (.venv), uv tools, and active package dependencies.
Node.js: Maps global NPM CLI utilities and local project engines.
Desktop & Snaps: Identifies containerized Snap applications and heavy compatibility layers (e.g., Wine runtimes).
APT & Developer Suites: Maps Docker daemons, XeLaTeX suites, and native packages.
Standalone Tools: Detects unmanaged toolkits like IBM CPLEX and desktop Electron runtimes.
⚖️ Proportional Disk Sizing: Node radius scales dynamically with storage consumption—heavy 1.5 GB+ runtimes immediately stand out.
🚦 Freshness & Stale Detection: 🟢 Active: Used within 14 days.
🟡 Inactive: 14–30 days idle.
🔴 Stale: 30+ days untouched (candidates for deletion).
🔍 Instant Search & Category Filtering: Hotkey / for rapid search, plus one-click filters for AI Stack, Data Science, Snaps, and Stale Items.
🛠️ Deep Inspector & 1-Click Cleanup: Slide-out drawer displaying upstream requirements, downstream dependents, file paths, and clipboard-ready uninstall commands.
⚡ Zero-Dependency Portable Output: Emits a single self-contained .html file that can be opened in any modern browser without running a server.
💻 Cross-Platform (Linux, macOS, Windows): Linux: APT packages, Snap daemons, Flatpak, Docker, NVIDIA GPU.
macOS: Homebrew formulae/casks, /Applications, Apple Metal GPU acceleration.
Windows: Winget, Scoop, Chocolatey, %LOCALAPPDATA%, Windows Terminal, WSL.
🤖 AI-Agent Ready & MCP Native: MCP Server (depradar mcp): Plug DepRadar directly into Claude Desktop, Cursor, Windsurf, or Antigravity via Model Context Protocol.
Fast Query Engine (depradar query --json): Instant CLI dependency and usage lookup for AI agents.
Stale Pruning (depradar stale --json): Programmatic cleanup automation for autonomous agents.
Agent Context Generator (depradar agent-context): Emits compact, token-efficient system context briefings for LLM prompts.
Installation & Instant Run
# Instant one-liner without permanent installation (recommended) uvx depradar # Or install globally via pip pip install depradar # Or install as an isolated global CLI via uv uv tool install depradar 🛠️ Local Development Installation # Clone the repository git clone https://github.com/mdphd97/depradar.git cd depradar # Install in editable mode pip install -e . Usage
# Scan your system and automatically launch the interactive graph in your default browser depradar # Or explicitly run scan with flags depradar scan --open # Save graph to a specific location depradar scan -o ~/Desktop/system_radar.html # Export graph data as raw JSON for custom analysis depradar export -o graph_data.json 🤖 AI Agent & MCP Server Integration
DepRadar natively integrates with AI coding assistants (Claude Desktop, Cursor, Antigravity, Windsurf, Aider):
1. Model Context Protocol (MCP) Server
Add DepRadar to your claude_desktop_config.json or .cursor/mcp.json:
{ "mcpServers": { "depradar": { "command": "depradar", "args": ["mcp"] } } } Available MCP Tools:
depradar_get_system_overview: High-level inventory of runtimes, disk sizes, and OS info.
depradar_query_dependency: Inquires which projects import a library and which runtime powers it.
depradar_list_stale_dependencies: Surfaces unreferenced or idle packages with cleanup commands.
depradar_get_full_graph: Emits complete dependency graph.
2. CLI for AI Subagents & Automation Scripts
# Query any dependency in JSON depradar query selenium --json # List stale items and cleanup commands for automated maintenance depradar stale --json # Generate an LLM-optimized Markdown briefing for system prompts / CLAUDE.md depradar agent-context 🗺️ How DepRadar Maps Dependencies
[ Ubuntu APT / Homebrew / Winget ] ──► [ Developer Suites ] ──┐ ▼ [ Node.js Runtime (v20) ] ──────────► [ Fullstack Web Apps ] ─┘ │ ├──────────────────────────► [ agent-browser CLI ] │ └──────────────────────────► [ firecrawl-cli ] [ Snap / App Sandbox ] ─────────────► [ Wine Runtimes (~1.5GB) ] ─► [ Standalone Apps ] ⌨️ Shortcuts & Viewer Controls
Contributions are welcome! If you want to add scanners for additional package managers, container runtimes, or custom desktop suites, feel free to submit a pull request or open an issue.
Create your Feature Branch (git checkout -b feat/new-scanner)
Commit your Changes (git commit -m 'feat: add podman container scanner')
Push to the Branch (git push origin feat/new-scanner)
Distributed under the MIT License. See LICENSE for details.
Author: Mohammed Pahadwala
ai-agents dependency-graph developer-tools disk-usage mcp-server virtualenv visualization
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: MIT License
Operating System OS Independent
Programming Language Python :: 3
Topic Software Development :: Build Tools
System :: Systems Administration
Release files for depradar 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 77.8 kB
Release files / depradar-0.1.0.tar.gz
Release files / depradar-0.1.0-py3-none-any.whl
Security for depradar 0.1.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 1, 2026 2 release files No provenance
Nov 11, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




