Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Runtime
JavaScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
sammcj
Submitted by
Community
Stars
9
About Data Extractor MCP Server
Data Extractor converts JavaScript and TypeScript code into JSON configuration files using JSON stringify for better maintainability.
Data Extractor is a MCP server in the Productivity category listed in the AddMCP.net directory, published by sammcj. It exposes 2 tools, including extract_data, extract_svg. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 9 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, productivity.
Setup
{
"mcpServers": {
"data-extractor": {
"command": "npx",
"args": [
"-y",
"mcp-data-extractor"
]
}
}
}
{
"mcpServers": {
"data-extractor": {
"command": "npx",
"args": [
"-y",
"mcp-data-extractor"
]
}
}
}
{
"servers": {
"data-extractor": {
"command": "npx",
"args": [
"-y",
"mcp-data-extractor"
]
}
}
}
Data Extractor MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"data-extractor": {
"command": "npx",
"args": [
"-y",
"mcp-data-extractor"
]
}
}
}
Data Extractor MCP Server tools
- extract_data — 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 — 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.
Overview
What is Data Extractor?
Extracts data from TypeScript/JavaScript code into JSON configuration files, facilitating code refactoring and improved maintainability.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In