Skip to main content
Glama

🌟 Why SlashGraph?

Feeding full codebases into Cursor, Windsurf, or Claude costs dollars per query and quickly exceeds context windows, causing models to hallucinate routes, models, and dependencies.

SlashGraph turns any local directory, Git repository, or live URL into an ultra-dense, token-efficient Architecture Dossier (< 600 tokens) and interactive visual knowledge graph.

Inspired by and building on Amit Sharma's foundational inventions:

  • 1nsharma/SLASH: Turning URLs, repositories, and digital systems into one unified real-time intelligence graph.

  • 1nsharma/Urlmind: Understanding anything on the internet from a single URL with zero friction.

Key Capabilities

  • ⚡ Zero-Token AST Codebase Mapping: Automatically discovers Express, Fastify, Next.js, and FastAPI routes; Prisma, TypeORM, and Mongoose database models; and environment variable dependencies in < 150ms.

  • 🌐 Urlmind Web & API Intelligence: Deeply analyzes live URLs, extracting tech stack signatures, CDN providers, security headers (HSTS, CSP, CORS), and public endpoints.

  • 🔮 Native Model Context Protocol (MCP) Server: Seamlessly equips Claude Desktop and Cursor with tools to inspect system topology, find routes, and query schemas.

  • 🎨 Interactive 60fps Topology Graph: Visualizes your entire system graph locally in your browser (slashgraph serve).

  • 🔒 Enterprise Architecture Drift Guard (BSL 1.1): Automatically blocks PRs that introduce circular imports, undeclared environment variables, or orphan database models.


Related MCP server: NEAT MCP Server

🚀 Quick Start

Installation

# Run on-demand without installing
npx -y slashgraph help

# Or install globally
npm install -g slashgraph

💻 CLI Commands

1. Generate Architecture Dossier

Scans your workspace and generates an ARCH_DOSSIER.md ready to be copied into Claude or Cursor system prompts:

slashgraph analyze ./my-project

2. Inspect Any Web URL via Urlmind

slashgraph url https://api.github.com

3. List Discovered HTTP Endpoints

slashgraph routes .

4. List Discovered Database Models & Schemas

slashgraph schema .

5. Launch Interactive Browser Visualizer

slashgraph serve .

🔮 Model Context Protocol (MCP) Integration

SlashGraph provides a native MCP stdio server. Add it to your claude_desktop_config.json or Cursor MCP settings:

{
  "mcpServers": {
    "slashgraph": {
      "command": "npx",
      "args": ["-y", "slashgraph", "mcp"]
    }
  }
}

Now Claude Desktop and Cursor can directly execute:

  • slashgraph_analyze_codebase: Returns the workspace architecture dossier.

  • slashgraph_find_route: Instantly finds the exact controller file handling /api/users.

  • slashgraph_inspect_schema: Returns full database schema and entity relations.

  • slashgraph_urlmind: Performs tech stack & security reconnaissance on any URL.


💼 Commercial & Enterprise Support

SlashGraph follows an Open-Core model:

  • Community Core (Apache 2.0): 100% Free and open-source for developers, AST scanning, Urlmind URL analysis, CLI tools, and full MCP server.

  • Enterprise Edition (BSL 1.1): Features the Architecture Drift Guard (ee/drift/architectureDrift.js) for CI/CD pipelines to block circular dependencies, missing .env.example vars, and architectural erosion.

Direct Contact & Payment


🌐 The 1nsharma Ecosystem

  • DroidArmor — Autonomous AI Mobile Agent & Fast ADB Automation for Android.

  • OmniMCP — Universal Model Context Protocol Hub for Mobile, Desktop, Workspace & Memory.

  • PromptArmor — Sub-2ms Local Prompt Injection & Jailbreak Firewall.

  • TokenArmor — Open-Source AI Gateway & Token FinOps Firewall.

  • 1nsharma/SLASH — Unified System & Digital Network Intelligence Graph.

  • 1nsharma/Urlmind — Understand Anything on the Internet from a Single URL.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI-powered architecture analysis and visualization of codebases, exposing 17 MCP tools for querying components, dependencies, and generating interactive diagrams.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides AI agents with a live architecture model of a codebase, enabling queries for root cause analysis, blast radius, and dependency traversal through MCP tools.
      34
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI coding assistants to understand codebase architecture in real time by parsing source code into a relationship graph and exposing call chains, dependencies, class hierarchies, and conventions via MCP tools.
      14
      4
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Analyzes repositories, explains architecture, calculates change impact, and enforces guardrails for AI Agents like Claude Code, Cursor, and Codex via MCP tools.
      -