# Data Extractor

> Use this tool when you need to extract hardcoded data from TypeScript/JavaScript code into JSON configuration files, solving problems of code maintainability and configuration management. It takes in TypeScript/JavaScript code as input and outputs JSON configuration files, making it ideal for projects requiring improved internationalization and dynamic content management. This tool is particularly useful in AI-assisted code refactoring workflows, streamlining data extraction and migration processes.

Canonical page: https://skillsregistry.net/skills/sammcj-data-extractor  
JSON: https://api.skillsregistry.net/v1/skills/sammcj-data-extractor

## Description

This MCP server implementation, developed by Sam McLeod, provides a tool for extracting data from TypeScript/JavaScript code into JSON configuration files. Built with TypeScript and leveraging Babel for parsing, it focuses on migrating hardcoded data out of source code. The server is designed to integrate with AI-assisted code refactoring workflows, making it particularly useful for projects aiming to improve code maintainability and configuration management. It offers a streamlined approach to data extraction, potentially simplifying internationalization efforts and dynamic content management in software applications.

## Trust

- **Trust score (0–1):** 0.92
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/sammcj-data-extractor)
- **Repository:** <https://github.com/sammcj/mcp-data-extractor>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "sammcj-data-extractor"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/sammcj-data-extractor` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/sammcj-data-extractor/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
