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 分