About JSONBuddy Data Validator
JSONBuddy Data Validator provides an MCP-compatible interface to the JSONBuddy Core API for schema-based JSON validation and HTML schema documentation. It is intended for MCP clients and AI agents integrating these validation operations through an API key.
Key features
- 01Validate JSON against schemas
- 02Generate HTML schema documentation
- 03Two validator endpoints
- 04API key authentication
Use cases
- 01Check JSON data against a schema
- 02Generate HTML documentation for a schema
MCP support
Exposes JSONBuddy Core API validation and schema-documentation operations to MCP clients and AI agents. The README describes API key authentication and an included MCP configuration.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://www.json-buddy.com/core-api/mcp.jsonclaude mcp add --transport http jsonbuddy https://www.json-buddy.com/core-api/mcp.json{"mcpServers":{"jsonbuddy":{"type":"http","url":"https://www.json-buddy.com/core-api/mcp.json"}}}Open in Cursor{"servers":{"jsonbuddy":{"type":"http","url":"https://www.json-buddy.com/core-api/mcp.json"}}}Open in VS Code{"mcpServers":{"jsonbuddy":{"type":"http","url":"https://www.json-buddy.com/core-api/mcp.json"}}}{"mcpServers":{"jsonbuddy":{"serverUrl":"https://www.json-buddy.com/core-api/mcp.json"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEjsonbuddy
JSONBuddy is a JSON editor and validator for Windows that supports Draft 4, 6, 7, 2019-09, and 2020-12. It includes a JSON text and grid editor, syntax checking, and schema validation, as well as a unique JSON schema analyzer and debugger. JSONBuddy also allows users to import CSV text and export JSON to CSV, and it includes an intelligent auto-completion feature that uses JSON schema information. Other features include brace highlighting, JSON pretty-print, and code folding. JSONBuddy can be used to create and modify JSON content or JSON Schema files, and it provides a grid style editor that simplifies the creation and editing of JSON text.
ValBuddy CLI Agent Plugin
The installable valbuddy-cli plugin is isolated from the other repository content under plugins/valbuddy-cli. Its core functionality is permanently free, local JSON, JSON Schema, and XML validation on Windows. Optional advanced operations have separate license requirements.
Plugin entry points:
plugins/valbuddy-cli/plugin.jsonplugins/valbuddy-cli/skills/valbuddy-cli/SKILL.mdplugins/valbuddy-cli/README.mdplugins/valbuddy-cli/LICENSE.github/plugin/marketplace.jsonMARKETPLACE.md
For local testing with GitHub Copilot CLI from the repository root:
copilot --plugin-dir ./plugins/valbuddy-cli
Install it from the first-party JSONBuddy marketplace:
copilot plugin marketplace add Clemens-U/jsonbuddy
copilot plugin install valbuddy-cli@jsonbuddy
copilot plugin list
The skill can also be installed directly into Codex from its new repository path:
python "$env:CODEX_HOME\skills\.system\skill-installer\scripts\install-skill-from-github.py" --repo Clemens-U/jsonbuddy --path plugins/valbuddy-cli/skills/valbuddy-cli
The plugin requires Windows and a separately installed copy of JSONBuddy or XML ValidatorBuddy that provides valbuddy.exe. The plugin directory is MIT-licensed and does not include the proprietary executable. See the plugin README for prerequisites, examples, and license restrictions.
Using the free JSON validator command-line tool
- Download your free JSON validator command-line tool for Windows® from this repository.
- Easy setup. Just run the Windows® installer. No additional configuration required.
- Use the JSON validator to generate detailed error reports.
- XML/W3C validation is also supported (using the Apache Xerces parser).
Usage example:
valbuddy.exe -v -verbose -s "D:\Examples\Library\library_schema.json" "D:\Examples\Library\library.json" "D:\Examples\Library\library_invalid.json"
Call "valbuddy.exe" without any parameters to get a list of options in the console window.
Validation output:
D:\Examples\Library\library.json: valid
D:\Examples\Library\library_invalid.json: invalid
Did not find the following required properties: [title]
Input location: /bib/book/2
Schema location: /properties/bib/properties/book/items
Finished processing
JSONBuddy Core API MCP Server
This project provides an MCP-compatible interface for the JSONBuddy Core API, enabling JSON validation against schemas and generating schema documentation (HTML) via a secure and high-performance HTTP-based service. The server exposes two endpoints (/validator/validate and /validator/validate-simple) for flexible schema validation scenarios. MCP clients and AI agents can integrate this API using the included mcp.json definition and standard API key authentication.
C# wrapper nuget package
Please take a look at the dotnet wrapper folder to find more information about the C# wrapper library to access JSON Schema validation and other functionality in your .NET project.
Using the C++ DLL for easy JSON Schema validation
- Add the jsonvalidator.dll and the .lib and .h files from the dll folder to your project.
- Don't forget to add the dll to the output folder of your C++ solution.
Example code:
JSONSchemaSubSchemaResult::JSONSchemaSubSchemaResultsT out_results;
JSONSchemaValidator* json_validator = NewJSONSchemaValidator();
json_validator->SetJSONSchema("C:\\Users\\Clemens\\Dokumente\\JSONBuddy\\Examples\\Library\\library_schema.json", JSONSchemaValidator::TJSONSchemaSchemaID::k_nJSONSchemaIDDraft202012);
std::string json_instance = "{\"bib\":{\"book\":[{\"author\":[\"Clemens\",\"Stevens\"],\"publisher\":\"Addison-Wesley\"},{\"title\":1}]}}";
if (json_validator->ValidateJSONDocument(json_instance, 0, out_results))
{
JSONSchemaSubSchemaResult::JSONSchemaSubSchemaResultsItrT find_invalid = std::find_if(out_results.begin(), out_results.end(),
[](JSONSchemaSubSchemaResult::JSONSchemaSubSchemaResultsT::value_type& the_result) { return !the_result.m_bValid; });
if (find_invalid != out_results.end())
{
std::cout << "The data is invalid.\n";
std::cout << "Location: " << find_invalid->m_strJSONPointer << "\n";
}
else
std::cout << "The data is valid.\n";
}
else
std::cout << "The validation was not executed.\n";
json_validator->Free();
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.