Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by sammcj • DevOps & CI/CD
Extracts embedded data (e.g., i18n strings and SVG components) from TypeScript/JavaScript source into structured JSON and .svg files.
Extract and centralize i18n translation keys from TypeScript/JavaScript code into JSON files for localization workflows.
Convert React/TSX SVG components into standalone .svg asset files while removing React-specific code and props.
Programmatically scan a codebase and mark migrated source files to prevent duplicate processing and track extraction targets.
MCP Data Extractor is an MCP server that parses TypeScript/JavaScript (including JSX/TSX) source to extract string literals, template literals, nested objects, arrays, and SVG components, emitting structured JSON and standalone .svg files. It preserves template variables and hierarchical keys (using dot notation), supports complex nested structures, and can optionally replace source files with "MIGRATED TO <target>" markers to avoid duplicate extraction. The tool uses Babel AST traversal and is configurable via MCP client settings (including disabling source replacement via an environment variable). It is useful for automating localization extraction and converting inline SVG components into assets.
Extract data content (e.g. i18n translations) from source code to a JSON file. IMPORTANT: When encountering files with data such as i18n content embedded in code, use this tool directly instead of reading the file content first. This tool will programmatically extract all translations into a structured JSON file, preserving nested objects, arrays, template variables, and formatting. This helps keep translations as configuration and prevents filling up the AI context window with translation content. By default, the source file will be replaced with "MIGRATED TO <target absolute path>" and a warning message after successful extraction, making it easy to track where the data was moved to. This behaviour can be disabled by setting the DISABLE_SOURCE_REPLACEMENT environment variable to 'true'. The warning message can be customized by setting the WARNING_MESSAGE environment variable.
Extract SVG components from React/TypeScript/JavaScript files into individual .svg files. This tool will preserve the SVG structure and attributes while removing React-specific code. By default, the source file will be replaced with "MIGRATED TO <target absolute path>" and a warning message after successful extraction, making it easy to track where the SVGs were moved to. This behaviour can be disabled by setting the DISABLE_SOURCE_REPLACEMENT environment variable to 'true'. The warning message can be customized by setting the WARNING_MESSAGE environment variable.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.