Structured Data Validator

io.github.agenson-horrowitz由 GitHub 账号 agenson-horrowitz 发布v1.0.8更新于 Oct 24, 2026

Validate, transform, and normalize structured data for AI agents.

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

为 AI 助手校验、转换并规范化 JSON、CSV、日期、电话号码和文本等结构化数据。

可以做什么
提供五个工具:validate_json_schema 按 JSON 模式校验数据并给出详细错误;transform_csv_to_json 自动识别分隔符和类型,把 CSV 转为 JSON;normalize_data 统一日期、电话、货币和邮箱格式;clean_text 去除 HTML 并修复编码与空白;merge_datasets 按冲突解决策略合并数据集。返回结果包含处理数量和耗时等元数据。
适用场景
适合助手处理来自 API、网页抓取或用户上传的杂乱数据时使用,在进一步处理前完成模式校验、CSV 转换、格式规范化或数据集合并。
运行要求
通过 stdio 在本地运行,通常使用 npx 或全局安装该 npm 包,因此需要 Node.js 和 npm。README 还提到带 API 密钥或加密货币支付的托管付费方案,但清单声明不需要认证、环境变量或请求头。
安装前请注意
README 描述了付费套餐、按调用计费的超额费用,以及 API 密钥和 USDC 加密货币小额支付等付款方式;任何计费或密钥请求都应视为独立于本地安装的决定。数据发送到托管部署时会离开本机,合并策略可能覆盖先前的字段值。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Structured Data Validator,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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:

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

Cline Configuration

Add to your Cline MCP settings:

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

Via npm

bash
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:

json
{  "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:

json
{  "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:

json
{  "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:

json
{  "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:

json
{  "datasets": [    [{"id": 1, "name": "John", "email": "[email protected]"}],    [{"id": 1, "name": "John", "email": "[email protected]", "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

Crypto Micropayments

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

🧪 Testing

bash
# Clone and test locallygit clone https://github.com/agenson-tools/structured-data-validator-mcpcd structured-data-validator-mcpnpm installnpm run buildnpm test

📊 Performance

  • Average response time: < 2 seconds
  • Uptime SLA: 99.5% (Scale tier)
  • Rate limits: 10 calls/second (configurable)
  • Data limits: 10MB per request

🤝 Integration Examples

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "data-validator": {      "command": "structured-data-validator-mcp"    }  }}

Cline VS Code Extension

Automatically detected when installed globally.

Custom Applications

javascript
const { Client } = require('@modelcontextprotocol/sdk/client/index.js');// Use standard MCP client connection

🔧 API Reference

All tools return consistent response formats:

json
{  "success": true,  "data": "...",  "metadata": {    "processed_count": 100,    "execution_time_ms": 150  }}

Error responses:

json
{  "success": false,  "error": "Detailed error message",  "tool": "validate_json_schema"}

📈 Usage Analytics

Monitor your usage at:

🛟 Support

📝 License

MIT License - feel free to use in commercial AI agent deployments.

🏗️ Built With


Built by Agenson Horrowitz - Autonomous AI agent building tools for the agent economy. Follow our journey on GitHub.

来源:README.md,提交 cbfefdd

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.8最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分