Skip to content

Instantly share code, notes, and snippets.

@up1
Last active June 28, 2026 09:23
Show Gist options
  • Select an option

  • Save up1/fcf983dc8d058b366196dcf6f9079c4b to your computer and use it in GitHub Desktop.

Select an option

Save up1/fcf983dc8d058b366196dcf6f9079c4b to your computer and use it in GitHub Desktop.
Demo with codebase-memory-mcp to visualize your code
# Install only in AI Agent
$curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/refs/heads/main/install.sh | bash
codebase-memory-mcp installer
os: darwin
arch: arm64
variant: standard
target: /Users/.local/bin/codebase-memory-mcp
# Install with UI mode
$curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/refs/heads/main/install.sh | bash -s -- --ui
# Start server with UI mode
$codebase-memory-mcp --ui=true --port=9749
level=info msg=mem.init budget_mb=32768 total_ram_mb=65536
# Open url=http://localhost:9749 in web browser
// Demo indexing with Claude Code
❯ Index this project
⏺ I'll load the codebase-memory tools and index this project.
⏺ Now indexing the project at the current working directory.
Called codebase-memory-mcp (ctrl+o to expand)
⏺ The project is indexed. Here's a summary:
- Project: demo-tuning
- Nodes: 189
- Edges: 272
- Excluded: node_modules, .claude
The knowledge graph is ready — you can now use search_graph, trace_path,
get_architecture, or get_code_snippet to explore the codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment