Back to MCP Catalog

APIMatic OpenAPI Validator MCP Server

Developer ToolsTypeScript
Validate OpenAPI specifications using APIMatic's API
Available Tools

validate-openapi-using-apimatic

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.

Overview

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.

Prerequisites

Before using this MCP server, you'll need:

  1. Node.js v18 or higher installed on your system
  2. An APIMatic API key (sign up at APIMatic to obtain one)

Installation

Step 1: Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/apimatic/apimatic-validator-mcp.git
cd apimatic-validator-mcp

Step 2: Install Dependencies

Install the required dependencies:

npm install

Step 3: Build the Project

Build the TypeScript project:

npm run build

Step 4: Configure Claude Desktop

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.

Usage

Once configured, you can use the validator in Claude Desktop:

  1. Click the hammer icon in Claude Desktop to verify that the validate-openapi-using-apimatic tool is available
  2. Upload or paste your OpenAPI specification (in JSON or YAML format)
  3. Ask Claude to validate your OpenAPI specification
  4. The validator will process your specification and return detailed validation results

Example Prompts

Here are some example prompts you can use with the validator:

  • "Validate this OpenAPI specification using APIMatic"
  • "Check if this API definition has any errors"
  • "Analyze this OpenAPI file and tell me what needs to be fixed"

Troubleshooting

If you encounter issues with the validator:

  1. Ensure your APIMatic API key is valid and correctly configured
  2. Check that the path to the build directory is correct in your configuration
  3. Verify that Node.js v18+ is installed and accessible
  4. Restart Claude Desktop after making configuration changes

Additional Resources

Related MCPs

Apple Shortcuts
Developer ToolsJavaScript

Control Apple Shortcuts automations from AI assistants

Clojars Dependency Lookup
Developer ToolsJavaScript

Fetch dependency information from Clojars, the Clojure community's artifact repository

Simple Timeserver
Developer ToolsPython

Provides Claude with current time and timezone information

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.