json-ai-mcp
v1.0.0
Published
AI-powered json ai MCP server for agents. Supports validate json, transform json, diff json. By MEOK AI Labs.
Maintainers
Readme
JSON AI
By MEOK AI Labs — JSON manipulation and validation tools
Installation
pip install json-ai-mcpUsage
python server.pyTools
validate_json
Validate JSON and report structure details including type, key count, and depth.
Parameters:
json_string(str): JSON string to validatestrict(bool): Strict parsing mode (default: True)
transform_json
Transform JSON. Operations: sort_keys, minify, prettify, remove_nulls, add_field, remove_field, get_path.
Parameters:
json_string(str): JSON string to transformoperation(str): Transformation operationpath(str): Dot-notation path for field operationsvalue(str): Value for add_field operation
diff_json
Compare two JSON objects and find differences including additions, removals, and changes.
Parameters:
json_a(str): First JSON stringjson_b(str): Second JSON string
flatten_json
Flatten nested JSON to single-level with dot-notation keys.
Parameters:
json_string(str): JSON string to flattenseparator(str): Key separator (default: ".")max_depth(int): Maximum nesting depth (default: 10)
Authentication
Free tier: 15 calls/day. Upgrade at meok.ai/pricing for unlimited access.
License
MIT — MEOK AI Labs
