admica/FileScopeMCP
Free分析代码库依赖关系,生成图表,帮助 AI 理解项目结构。
About admica/FileScopeMCP
FileScopeMCP is an open-source tool that analyzes codebases by identifying important files based on dependency relationships. It generates importance scores (0-10) for every file, maps bidirectional dependencies, and extracts symbols (functions, classes, interfaces, etc.) using AST-level parsing (tree-sitter) for TypeScript, JavaScript, Python, C, C++, and Rust, with regex-based support for Go, Ruby, Lua, Zig, PHP, C#, and Java. The tool features a file watcher with semantic change detection for automatic metadata updates, an LLM broker that coordinates AI work via llama.cpp or OpenAI-compatible APIs, and a Nexus web dashboard (localhost:1234) for interactive dependency graphs and per-repo health monitoring. Works with Claude Code, Hermes Agent, Codex, OpenClaw, Cursor AI, or as a standalone daemon.
Key Features
Pros & Cons
- Open source and completely free to use
- Supports 12+ programming languages with AST-level parsing for core languages
- Automatically updates codebase metadata via file watcher and semantic change detection
- Works with multiple AI coding assistants (Claude Code, Hermes Agent, Codex, OpenClaw, Cursor AI)
- Includes a web dashboard for visual exploration of dependencies and file importance
- LLM broker handles AI tasks with priority queuing for interactive responsiveness
- Finds circular dependencies and provides call graph analysis for TypeScript/JavaScript
- Requires Node.js 22 and native build tools (may be complex for some environments)
- AST-level symbol extraction limited to TypeScript, JavaScript, Python, Go, Ruby; other languages use regex which may be less accurate
- LLM broker requires either llama.cpp or an OpenAI-compatible API, adding external dependency for full AI features
- Setup involves cloning repository and running build scripts, not a simple package install