npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datasynx/agentic-ai-cartography

v0.7.0

Published

AI-powered infrastructure cartography CLI — built on Claude Agent SDK

Readme

🗺️ Datasynx Cartography

AI-powered Infrastructure Cartography & SOP Generation

npm version npm downloads License: MIT Node.js ≥18 Built with Claude LinkedIn

Claude IS the agent — it decides which read-only commands to run, analyses the output, and stores results via custom MCP tools into SQLite. No hand-written parsers, diff logic, or decision trees.

📦 npm · 💼 LinkedIn · 🐛 Issues


What it does

$ datasynx-cartography discover

  CARTOGRAPHY  localhost
  ─────────────────────────────────────────────
  🔖  Browser bookmarks scanned…
  🖥  All installed apps scanned…
  +  Node  saas_tool:vscode           [saas_tool]   90%
  +  Node  saas_tool:cursor           [saas_tool]   90%
  +  Node  saas_tool:docker-desktop   [saas_tool]   90%
  +  Node  saas_tool:github.com       [saas_tool]   70%  🔖
  +  Node  web_service:localhost:5432 [database]    90%
  +  Node  web_service:localhost:6379 [cache]       90%
  ~  Edge  web_service:app → web_service:localhost:5432  uses
  ─────────────────────────────────────────────
  DONE  9 nodes, 3 edges  in 38.4s

  WEITERSUCHEN  — Discovery interaktiv verfeinern
  → Suche nach (Enter = Beenden): hubspot windsurf
  ⟳  Suche nach: hubspot windsurf
  +  Node  saas_tool:hubspot.com      [saas_tool]   70%  🔖
  +  Node  saas_tool:windsurf         [saas_tool]   90%

Features

| Feature | Details | |---------|---------| | Installed App Scan | Scans /Applications, Homebrew, dpkg/snap/flatpak, Spotlight + 60 known tools via which | | Browser Bookmarks | Chrome, Firefox, Safari, Brave, Edge — extracts business/SaaS domains automatically | | Cloud Scanning | AWS (EC2/RDS/EKS/S3), GCP (Compute/GKE/Cloud Run), Azure (AKS/WebApps), Kubernetes | | Human-in-the-Loop | Chat with the agent mid-discovery: type "hubspot windsurf" to search for specific tools | | SOP Generation | Automatically generates Standard Operating Procedures from observed workflows | | SOP Dashboard | HTML dashboard with all SOPs, step details, frequency stats | | Export Formats | Mermaid topology, D3.js interactive graph, Backstage YAML, JSON, SOP Markdown | | Safety First | PreToolUse hook blocks all destructive Bash commands — 100% read-only |


Requirements

  • Node.js ≥ 18
  • Claude CLI — the Agent SDK starts it as a subprocess
npm install -g @anthropic-ai/claude-code
claude login

Install

npm install -g @datasynx/agentic-ai-cartography

npm


Quick Start

# Check all requirements
datasynx-cartography doctor

# Discover your full infrastructure (one-shot, Claude Sonnet)
# → scans bookmarks, installed apps, local services, cloud, config files
# → then interactive follow-up: type tool names to search further
datasynx-cartography discover

# Seed infrastructure manually (JSON file or interactive)
datasynx-cartography seed --file infra.json
datasynx-cartography seed

# View all browser bookmarks
datasynx-cartography bookmarks

# Full feature reference
datasynx-cartography docs

Commands

Cartography (Discovery)

datasynx-cartography discover [options]

  --entry <hosts...>    Start hosts          (default: localhost)
  --depth <n>           Max crawl depth      (default: 8)
  --max-turns <n>       Max agent turns      (default: 50)
  --model <m>           Claude model         (default: claude-sonnet-4-5-...)
  --org <name>          Org name for Backstage YAML
  -o, --output <dir>    Output directory     (default: ./datasynx-output)
  -v, --verbose         Show agent reasoning

Discovery pipeline (automatic, in order):

  1. Browser bookmarks — every domain classified as saas_tool or web_service
  2. Installed apps — all IDEs, business tools, dev tools, browsers
  3. Local servicesss, ps, port-to-service mapping
  4. Cloud & Kubernetes — AWS/GCP/Azure/k8s (skipped gracefully if not configured)
  5. Config files.env, docker-compose.yml, etc.
  6. Human-in-the-loop — interactive follow-up after initial scan

Analysis & Export

datasynx-cartography export [session-id] [options]
  --format <fmt...>    mermaid, json, yaml, html, sops  (default: all)
  -o, --output <dir>   Output directory
datasynx-cartography show [session-id]             Session details + node list
datasynx-cartography sessions                      List all sessions
datasynx-cartography bookmarks                     View all browser bookmarks
datasynx-cartography seed [--file <path>]          Manually add infrastructure nodes
datasynx-cartography doctor                        Check all requirements + cloud CLIs
datasynx-cartography docs                          Full feature reference

Output Files

datasynx-output/
├── catalog.json               Full machine-readable dump
├── catalog-info.yaml          Backstage service catalog
├── topology.mermaid           Infrastructure topology (graph TB)
├── dependencies.mermaid       Service dependencies (graph LR)
├── topology.html              Interactive D3.js force graph
├── sop-dashboard.html         HTML dashboard with all SOPs + frequency stats
├── sops/
│   ├── deploy-check.md
│   └── db-migration.md
└── workflows/
    └── workflow-001.mermaid

Cost Estimate

| Mode | Model | Interval | per Hour | per 8h Day | |------|-------|----------|----------|------------| | Discover | Sonnet | one-shot | $0.15–0.50 | one-shot | | SOP generation | Sonnet | one-shot | $0.01–0.03 | one-shot |


Architecture

CLI (Commander.js)
  └── Preflight: Claude CLI + API key + interval validation
      └── Agent Orchestrator (src/agent.ts)
          └── runDiscovery()     Claude Sonnet + Bash + MCP Tools
              ├── scan_bookmarks()         browser bookmark extraction
              ├── scan_installed_apps()    /Applications, brew, dpkg, which
              ├── scan_k8s_resources()     kubectl (readonly)
              ├── scan_aws/gcp/azure()     cloud CLI scans (readonly)
              └── ask_user()               human-in-the-loop questions
              └── Custom MCP Tools → CartographyDB (SQLite WAL)

Safety

Every Bash call is guarded by a PreToolUse hook that blocks destructive commands: rm, mv, dd, chmod, kill, docker rm/run/exec, kubectl delete/apply/exec, redirects (>), pipes to shell, and more. Claude only reads — never writes, never deletes.


Public API

import {
  CartographyDB,
  runDiscovery,
  exportAll,
  exportSOPDashboard,
  safetyHook,
  defaultConfig,
} from '@datasynx/agentic-ai-cartography';

// Run a discovery pass with optional user hint
await runDiscovery(config, db, sessionId, onEvent, onAskUser, 'hubspot windsurf');

Built by

Datasynx AI on LinkedIn


License

MIT — © Datasynx AI