Skip to main content
Glama

Tree-Hugger-JS MCP Server

by qckfx

get_imports

Analyze JavaScript/TypeScript code by extracting import statements to audit dependencies, identify heavy or suspicious packages, and prepare for refactoring or license compliance.

Instructions

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 analysis: get_imports() to identify heavy imports • Security audit: get_imports() to check for suspicious packages • TypeScript analysis: get_imports({includeTypeImports: false}) to focus on runtime imports • Refactoring prep: get_imports() to understand module structure before changes • License compliance: get_imports() to generate dependency list

Input Schema

NameRequiredDescriptionDefault
includeTypeImportsNoInclude TypeScript type-only imports (default: true). Set false for runtime dependency analysis.

Input Schema (JSON Schema)

{ "properties": { "includeTypeImports": { "description": "Include TypeScript type-only imports (default: true). Set false for runtime dependency analysis.", "type": "boolean" } }, "type": "object" }

Other Tools from Tree-Hugger-JS MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/qckfx/tree-hugger-js-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server