T

Tree Hugger JS

1-Click Ready

Provides JavaScript and TypeScript code analysis through AST parsing for function extraction, scope ...

104 views
0 installs
Updated Sep 14, 2025
Audited
Provides JavaScript and TypeScript code analysis through AST parsing for function extraction, scope analysis, identifier renaming, unused import removal, and code transformation with safety previews and history tracking.

Tools

parse_code

Parse JavaScript/TypeScript code from file or string and load it into the AST state. Must be called before using other analysis tools. Examples: • Parse a React component: parse_code('./src/UserProfi...

find_pattern

Find first node matching the specified pattern using tree-hugger-js intuitive syntax. Use for targeted searches when you need one specific match. Examples: • Find main function: find_pattern('functio...

find_all_pattern

Find all nodes matching the specified pattern. Use for comprehensive analysis when you need all matches. Examples: • Audit all functions: find_all_pattern('function') • Find all TODO comments: find_a...

get_functions

Get all functions with metadata including name, type, location, and async status. Includes class methods, arrow functions, and declarations. Examples: • Code review: get_functions() to see all functi...

get_classes

Get all classes with comprehensive method and property analysis. Perfect for OOP code review. Examples: • Architecture review: get_classes() to understand class structure • API design: get_classes() ...

Quick Start

View on GitHub

More for Developer Tools

View All →

Similar MCP Servers

C

Code Context Provider

Analyzes project directories to extract code structure and symbols using Tree-sitter parsers, providing tools for generating directory trees and performing deep code analysis of JavaScript, TypeScript, and Python files.

Developer Tools
T

TypeScript Refactoring

Provides TypeScript/JavaScript code analysis and refactoring capabilities using ts-morph, enabling intelligent code transformations with symbol renaming, file moving with import path corrections, cross-file reference updates, type signature analysis, and module dependency exploration across entire codebases.

AI and Machine Learning Developer Tools
174
6

Report Issue

Thank you! Your issue report has been submitted successfully.