# TestingAPIs API tools

> TestingAPIs API tools is a free MCP server for developer tools. MCP server giving AI assistants API validation, spec conversion and test data tools. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, CLI, VS Code, Web
- **Website:** https://testingapis.com/mcp
- **MCP Registry name:** com.testingapis/api-tools
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-20

## About

The README and registry entry describe a remote Model Context Protocol server hosted at testingapis.com. Once connected, an assistant such as Claude, Cursor or VS Code Copilot can run the same checks that testingapis.com offers on its website: validating OpenAPI specs and JSON Schemas, converting cURL commands into client code, generating types from JSON samples, and converting between Swagger, OpenAPI 3.1 and Postman formats.

The server connects over Streamable HTTP without authentication or an API key. Users ask in plain language and the assistant selects the matching tool. The tools are described as read-only, with input processed per call and not stored, and the only outbound call is to the vendor's own free test data API.

It suits developers and QA engineers who already work in an AI coding assistant and want spec checks, type generation or sample fixtures without leaving the editor. Limits listed are 120 calls per minute and 1 MB of input per call.

## Features

- **Spec and schema validation:** Checks OpenAPI or Swagger specs and validates JSON against JSON Schema, listing errors.
- **cURL to code conversion:** Turns a cURL command into Python, JavaScript, Go, Java, C# or PHP code.
- **Type generation from JSON:** Produces TypeScript, Go, Python, Java, C#, Kotlin or Rust types from a JSON sample.
- **API spec conversion:** Converts Swagger 2.0 to OpenAPI 3.1, and between Postman and OpenAPI, or to cURL.
- **JSONPath and cron helpers:** Runs RFC 9535 JSONPath queries, compares JSON documents and explains cron expressions.
- **Free test data:** Fetches sample products, posts and todos from the vendor's free public API.

## Good for

- Validate an OpenAPI file before committing it to a repository
- Turn a copied cURL command into working client code
- Generate typed structs from an API response sample
- Convert a Swagger 2.0 spec to OpenAPI 3.1 for tooling upgrades
- Fetch sample fixtures for frontend or test development

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http api-tools https://testingapis.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://testingapis.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "api-tools": {
      "url": "https://testingapis.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "api-tools": {
      "type": "http",
      "url": "https://testingapis.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "api-tools": {
      "serverUrl": "https://testingapis.com/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://testingapis.com/mcp
```

Enter a Name (for example "TestingAPIs API tools"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "api-tools": {
      "type": "http",
      "url": "https://testingapis.com/mcp"
    }
  }
}
```

## Tools

- `validate_openapi`: Finds mistakes in an OpenAPI or Swagger spec, with line numbers.
- `validate_json_schema`: Checks JSON against a JSON Schema and lists every error.
- `generate_json_schema`: Creates a JSON Schema from a JSON sample.
- `json_to_types`: Generates types from JSON in several languages.
- `curl_to_code`: Turns a cURL command into code in several languages.
- `convert_api_spec`: Converts between Swagger, OpenAPI, Postman and cURL.
- `query_jsonpath`: Runs a JSONPath query on JSON.
- `explain_cron`: Reads a cron expression in plain English with its next runs.
- `compare_json`: Lists the differences between two JSON documents.
- `get_test_data`: Returns sample products, posts and todos from the free API.

## FAQ

### Does the server require an account or API key?

The vendor states no sign-up and no key are needed, and no authentication is required for the Streamable HTTP connection.

### Are submitted specs or JSON stored?

The site says input is processed for that one call and not stored, and advises not to send secrets.

### What are the usage limits?

The server lists up to 120 calls per minute and 1 MB of input per call.

### Which AI clients are supported?

The setup instructions cover Claude, Claude Code, Cursor, VS Code with GitHub Copilot agent mode, and other clients that support Streamable HTTP MCP servers.

### Is TestingAPIs API tools free?

Yes. TestingAPIs API tools is free to use.

### How do I add TestingAPIs API tools to Claude Code?

Run this command in your terminal: claude mcp add --transport http api-tools https://testingapis.com/mcp

### What are the best alternatives to TestingAPIs API tools?

The closest alternatives to TestingAPIs API tools are Api Test MCP, Api Testing MCP, Data Api Code, Testing and Api Tester.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Api Test MCP](https://ai-powered.com/mcp/api-test-mcp): Api Test MCP is an open-source MCP server for developer tools.
- [Api Testing MCP](https://ai-powered.com/mcp/api-testing-mcp): Api Testing MCP is an open-source MCP server for developer tools.
- [Data Api Code](https://ai-powered.com/mcp/data-api-code): Data Api Code is an MCP server for developer tools.
- [Testing](https://ai-powered.com/mcp/testing): Testing is an open-source MCP server for developer tools.
- [Api Tester](https://ai-powered.com/mcp/api-tester): Api Tester is an open-source MCP server for developer tools.
- [Openapi Sync MCP](https://ai-powered.com/mcp/openapi-sync-mcp): Openapi Sync MCP is an open-source MCP server for developer tools.
- [AionMCP](https://ai-powered.com/mcp/aionmcp): AionMCP is an open-source MCP server for developer tools.
- [BuyAPI](https://ai-powered.com/mcp/buyapi): BuyAPI is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/testingapis-api-tools
