Validates OpenAPI 2.0 and 3.0 specifications using APIMatic's API and returns detailed validation results
The APIMatic OpenAPI Validator provides a seamless way to validate OpenAPI 2.0 and 3.0 specifications through APIMatic's powerful validation API. It supports both JSON and YAML formats, delivering comprehensive validation results that help identify and fix issues in your API specifications. This tool integrates with Claude through the Model Context Protocol (MCP), allowing you to validate OpenAPI files directly within your conversations. Simply provide your API specification, and the validator will return detailed validation summaries to help ensure your API documentation meets industry standards.
The APIMatic OpenAPI Validator is a powerful tool that helps you validate your OpenAPI specifications using APIMatic's comprehensive validation API. This integration allows you to check your API specifications directly within Claude, making it easier to identify and fix issues in your documentation.
Before using this MCP server, you'll need:
First, clone the repository to your local machine:
git clone https://github.com/apimatic/apimatic-validator-mcp.git
cd apimatic-validator-mcp
Install the required dependencies:
npm install
Build the TypeScript project:
npm run build
To integrate the validator with Claude Desktop, you need to modify your Claude configuration file. The location depends on your operating system:
Windows:
%AppData%\Claude\claude_desktop_config.json
macOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following configuration to your claude_desktop_config.json
file:
{
"mcpServers": {
"APIMatic": {
"command": "node",
"args": [
"/path/to/apimatic-validator-mcp/build/index.js"
],
"env": {
"APIMATIC_API_KEY": "YOUR_APIMATIC_API_KEY"
}
}
}
}
Replace /path/to/apimatic-validator-mcp
with the actual path to the cloned repository on your system, and YOUR_APIMATIC_API_KEY
with your APIMatic API key.
Once configured, you can use the validator in Claude Desktop:
validate-openapi-using-apimatic
tool is availableHere are some example prompts you can use with the validator:
If you encounter issues with the validator: