Skip to content

camtisocial/depclean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

depclean

Compresses circular dependency graphs into structured, token-efficient context for Claude

benchmark

Install

git clone https://github.com/camtisocial/depclean
cd depclean
npm install
npm run build

Add to Claude Code

claude mcp add --scope user depclean node /absolute/path/to/depclean/dist/src/mcp.js

Restart Claude Code. From any project, just ask:

"Fix the circular dependencies in this codebase"

Claude will automatically call analyze_dependencies, receive a pattern-classified list of clusters and the exact import lines forming each cycle, and apply surgical fixes.

CLI (optional)

# Detect cycles
node dist/src/index.js analyze ./your-project

# Get AI fix suggestions (requires ANTHROPIC_API_KEY)
node dist/src/index.js suggest ./your-project

About

MCP server for detecting and resolving circular TypeScript dependencies with token-efficient context

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors