T

Tree Hugger JS

1-Click Ready

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

357 views
0 installs
Updated Nov 22, 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...

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() ...

get_imports

Get all import statements with detailed module and specifier information. Essential for dependency analysis. Examples: • Dependency audit: get_imports() to see all external dependencies • Bundle anal...

rename_identifier

Intelligently rename all occurrences of an identifier throughout the code. Avoids renaming in strings/comments. Examples: • Refactor function names: rename_identifier('fetchData', 'fetchUserData') • ...

Quick Start

View on GitHub

More for Developer Tools

View All →

Similar MCP Servers

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
347
7

Report Issue

Thank you! Your issue report has been submitted successfully.