Repository navigation
v0.9.1 - 13 languages, shallow sweep and deep file review
Scantool v0.9.1
Scantool is an MCP server that analyzes source code structure across 13+ programming languages. It extracts classes, functions, methods, and metadata with precise line numbers, making it easier to understand and navigate codebases.
Why Scantool?
When working with unfamiliar code or large projects, you need to understand the structure before diving into details. Scantool provides:
- Fast structural overview without reading entire files
- Precise line numbers for targeted reading
- Consistent interface across all languages
- Rich metadata: signatures, types, decorators, docstrings
Supported Languages
Python, JavaScript, TypeScript, Rust, Go, C/C++, Java, PHP, C#, Ruby, Markdown, Plain Text, Images
Three Core Tools
scan_file - Analyze a single file with full hierarchical structure, showing all classes, methods, and functions with their signatures and documentation.
scan_directory - Get a compact overview of an entire codebase, showing file structure with inline summaries of what each file contains.
search_structures - Find specific patterns across your codebase: all test functions, classes ending in "Manager", methods with specific decorators, or complex functions above a certain line count.
Installation
uvx scantoolAdd to Claude Desktop config:
{
"mcpServers": {
"scantool": {
"command": "uvx",
"args": ["scantool"]
}
}
}Example Output
example.py (1-57)
├─ file-info: 1.4KB modified: 2 hours ago
├─ imports: import statements (3-5)
├─ class: DatabaseManager (8-26)
│ "Manages database connections and queries."
│ ├─ method: __init__ (self, connection_string: str) (11-13)
│ ├─ method: connect (self) (15-17)
│ │ "Establish database connection."
│ └─ method: query (self, sql: str) -> list (24-26)
│ "Execute a SQL query."
└─ function: validate_email (email: str) -> bool (48-50)
"Validate email format."
Documentation
Complete documentation and examples: https://github.com/mariusei/file-scanner-mcp
Status
Feature-complete and stable. Version 0.9.1 signals readiness for production use while gathering final feedback before 1.0.