Structured Data Validator & Transformer

by agenson-tools

176 downloads
Not rated
GitHub Website

About

Professional MCP server for validating, transforming, and normalizing structured data - built specifically for AI agents

Details

Author
agenson-tools
Downloads
176
Categories
Search

- JSON Schema validation with detailed error reporting
- Intelligent CSV to JSON conversion with auto-type inference
- Data normalization for dates, phone numbers, currencies, and emails
- Text cleaning: remove HTML, fix encoding, normalize whitespace
- Dataset merging with configurable conflict resolution strategies
- Sub-2-second response times for typical agent workloads

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Structured Data Validator & Transformer
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npm (npm install -g @agenson-horrowitz/structured-data-validator-mcp) or add to Claude Desktop or Cline configuration. Invoke tools like validate_json_schema, transform_csv_to_json, normalize_data, clean_text, and merge_datasets with JSON arguments.

validate_json_schema

Validate JSON data against a schema with detailed error reporting. Perfect for agents receiving API responses or user data that needs validation before processing.

transform_csv_to_json

Convert CSV data to structured JSON with intelligent type inference. Handles messy CSV data, auto-detects delimiters, infers data types (numbers, dates, booleans).

normalize_data

Standardize common data formats like dates, phone numbers, currencies, and addresses. Essential for agents processing user input or scraped data with inconsistent formatting.

clean_text

Remove HTML tags, fix encoding issues, normalize whitespace, and extract clean text from messy input. Perfect for agents processing scraped web content or user-submitted text.

merge_datasets

Merge multiple JSON datasets with deduplication and conflict resolution. Handles overlapping data intelligently, perfect for agents combining data from multiple sources.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "structured data validator & transformer": {
            "structured-data-validator": {
                "command": "npx",
                "args": [
                    "@agenson-horrowitz/structured-data-validator-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "structured-data-validator": {
        "command": "npx",
        "args": [
            "@agenson-horrowitz/structured-data-validator-mcp"
        ]
    }
}

Structured Data Validator & Transformer MCP Server

Smithery
npm version
Smithery
License: MIT
MCP Server

A professional-grade MCP server that provides AI agents with powerful data validation, transformation, and normalization capabilities. Built specifically for the agent economy by Agenson Horrowitz.

πŸ€– Why This Exists

AI agents constantly deal with messy, inconsistent data from APIs, web scraping, user uploads, and other agents. This server solves that problem by providing clean, validated, normalized data that agents can process confidently.

⚑ Key Features

- JSON Schema Validation: Validate any data against JSON schemas with detailed error reporting
- Intelligent CSV Processing: Convert CSV to JSON with auto-type inference and flexible parsing
- Data Normalization: Standardize dates, phone numbers, currencies, and email addresses
- Text Cleaning: Remove HTML, fix encoding issues, normalize whitespace
- Dataset Merging: Combine multiple datasets with smart conflict resolution
- Built for Speed: Sub-2-second response times for typical agent workloads
- Error Resilient: Graceful handling of malformed data with detailed error messages

πŸš€ Installation

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "structured-data-validator": {
      "command": "npx",
      "args": ["@agenson-horrowitz/structured-data-validator-mcp"]
    }
  }
}

Cline Configuration

Add to your Cline MCP settings:

{
  "mcpServers": {
    "structured-data-validator": {
      "command": "npx",
      "args": ["@agenson-horrowitz/structured-data-validator-mcp"]
    }
  }
}

Via npm

npm install -g @agenson-horrowitz/structured-data-validator-mcp

Via MCPize (One-click deployment)

Deploy instantly on MCPize with built-in billing and authentication.

πŸ› οΈ Available Tools

1. validate_json_schema

Validate JSON data against any schema with comprehensive error reporting.

Use cases:
- Validate API responses before processing
- Ensure user input matches expected format
- Verify data integrity across agent workflows

Example:

{
"data": {"name": "John", "age": "not-a-number"},
"schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "number"}
},
"required": ["name", "age"]
}
}

2. transform_csv_to_json

Convert CSV data to structured JSON with intelligent type inference.

Features:
- Auto-detects delimiters (comma, semicolon, tab, pipe)
- Infers data types (numbers, dates, booleans)
- Handles headers automatically
- Cleans messy data during conversion

Example:

{
"csv_data": "name,age,active\\nJohn,25,true\\nJane,30,false",
"options": {
"infer_types": true,
"has_headers": true
}
}

3. normalize_data

Standardize common data formats across your datasets.

Supported formats:
- Dates: Any format β†’ ISO 8601 or custom format
- Phone Numbers: Any format β†’ International format
- Currencies: Any format β†’ Standardized currency notation
- Email Addresses: Validation and normalization

Example:

{
"data": [
{"name": "John", "phone": "(555) 123-4567", "date": "12/25/2023"}
],
"fields": {
"phones": ["phone"],
"dates": ["date"]
},
"target_formats": {
"date_format": "yyyy-MM-dd",
"phone_country": "US"
}
}

4. clean_text

Extract clean, normalized text from messy input.

Capabilities:
- Remove HTML tags and entities
- Fix encoding issues (smart quotes, em dashes, etc.)
- Normalize whitespace (preserve paragraphs optionally)
- Perfect for web scraping cleanup

Example:

{
"text": "<p>Hello &quot;world&quot;</p>\\n\\n\\nExtra spaces",
"options": {
"remove_html": true,
"normalize_whitespace": true,
"preserve_paragraphs": false
}
}

5. merge_datasets

Intelligently merge multiple datasets with conflict resolution.

Merge strategies:
- first_wins: Keep first occurrence of each record
- last_wins: Latest data overwrites earlier data
- merge_fields: Combine fields from all sources

Example:

{
"datasets": [
[{"id": 1, "name": "John", "email": "old@example.com"}],
[{"id": 1, "name": "John", "email": "new@example.com", "phone": "+1-555-0123"}]
],
"merge_key": "id",
"conflict_resolution": "merge_fields"
}

πŸ’° Pricing

Free Tier

- 500 calls/month - Perfect for testing and small projects - All tools included - Community support

Pro Tier - $9/month

- 10,000 calls/month - Production usage for most agents - Priority support - Advanced error reporting - Usage analytics

Scale Tier - $29/month

- 50,000 calls/month - High-volume agent deployments - SLA guarantees (99.5% uptime) - Custom rate limits - Direct technical support

Overage pricing: $0.02 per call beyond your plan limits

πŸ” Authentication & Payment

MCPize (Easiest)

- One-click deployment with built-in billing - No API key management required - 85% revenue share to developers

Direct API Access

- Get API keys at agensonhorrowitz.cc - Stripe-powered metered billing - Real-time usage tracking

Crypto Micropayments

- Pay per call with USDC on Base chain - x402 protocol integration - Perfect for crypto-native agents

πŸ§ͺ Testing

```bash

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.