mcp-api-toolkit
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-api-toolkitParse the OpenAPI spec at https://api.example.com/openapi.json"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π MCP API Toolkit
Comprehensive API development and testing MCP server for Claude Code
MCP API Toolkit brings powerful API development capabilities to Claude Code through the Model Context Protocol. Think Postman + OpenAPI + AI-powered testing, all integrated into your Claude workflow.
β¨ Features
π OpenAPI/Swagger Parsing - Import and validate API specifications
π§ͺ API Testing - Execute and validate API requests with AI insights
π Documentation Generation - Auto-generate beautiful API docs
π οΈ SDK Generation - Create TypeScript, Python, JavaScript SDKs automatically
π Mock Data - Generate realistic test data from schemas
β‘ Batch Testing - Test multiple endpoints at once
π Request Validation - Ensure requests/responses match schemas
π Performance Insights - Track response times and sizes
Related MCP server: OpenAPI MCP Server
π¦ Installation
NPM (Recommended)
npm install -g mcp-api-toolkitFrom Source
git clone https://github.com/yourusername/mcp-api-toolkit.git
cd mcp-api-toolkit
npm install
npm run build
npm linkπ§ Configuration
Add to your Claude Code MCP settings:
macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"api-toolkit": {
"command": "mcp-api-toolkit"
}
}
}Or with npx:
{
"mcpServers": {
"api-toolkit": {
"command": "npx",
"args": ["-y", "mcp-api-toolkit"]
}
}
}Restart Claude Code to activate the MCP server.
π― Usage
1. Parse OpenAPI Specification
Parse this OpenAPI spec: https://api.example.com/openapi.jsonOr paste the spec directly:
Parse this OpenAPI spec:
{
"openapi": "3.0.0",
"info": { "title": "My API", "version": "1.0.0" },
...
}2. List API Endpoints
List all endpoints from the parsed spec3. Test an Endpoint
Test the GET /users endpoint with authentication headerClaude will use the test_api_endpoint tool:
GET https://api.example.com/users
Headers: { "Authorization": "Bearer token" }4. Generate SDK
Generate a TypeScript SDK from the parsed specClaude will create a fully-typed client library:
export class MyAPIClient {
async getUsers(config?: RequestConfig): Promise<User[]> {
// Auto-generated implementation
}
}5. Generate Documentation
Generate markdown documentation for this API6. Create Mock Data
Generate 5 mock user objects based on this schema:
{
"type": "object",
"properties": {
"name": { "type": "string" },
"email": { "type": "string" },
"age": { "type": "number" }
}
}π οΈ Available Tools
parse_openapi
Parse and validate OpenAPI/Swagger specifications (JSON, YAML, or URL).
Input:
input(string): OpenAPI spec as JSON/YAML or URLisUrl(boolean): Whether input is a URL
Output: Parsed specification with summary
list_endpoints
Extract all API endpoints from a specification.
Input:
spec(string): OpenAPI spec JSONfilterByTag(string, optional): Filter by tagfilterByMethod(string, optional): Filter by HTTP method
Output: List of endpoints with methods and paths
test_api_endpoint
Execute and validate API requests.
Input:
method(string): HTTP method (GET, POST, PUT, PATCH, DELETE)url(string): Full URL to testheaders(object, optional): HTTP headersbody(object, optional): Request bodyparams(object, optional): Query parametersexpectedStatus(number, optional): Expected HTTP statustimeout(number, optional): Timeout in ms (default: 30000)
Output: Response data, status, timing, validation results
generate_sdk
Generate client SDKs in multiple languages.
Input:
spec(string): OpenAPI spec JSONlanguage(string): typescript | python | javascript | goclientName(string, optional): Custom client class name
Output: Generated SDK code
generate_mock_data
Create mock data from JSON schemas.
Input:
schema(object): JSON Schema definitioncount(number, optional): Number of objects to generate
Output: Array of mock data objects
generate_api_docs
Generate markdown documentation from OpenAPI specs.
Input:
spec(string): OpenAPI spec JSONincludeExamples(boolean, optional): Include examples (default: true)
Output: Markdown documentation
validate_api_response
Validate responses against schemas.
Input:
response(object): API response dataschema(object): Expected schema
Output: Validation results
batch_test_endpoints
Test multiple endpoints at once.
Input:
spec(string): OpenAPI spec JSONbaseUrl(string, optional): Override base URLfilterByTag(string, optional): Test only tagged endpointsheaders(object, optional): Common headers
Output: Batch test results summary
π Examples
Example 1: Test a Public API
Parse the JSONPlaceholder API: https://jsonplaceholder.typicode.com/
Then test the GET /posts/1 endpointExample 2: Generate a Client Library
Parse this OpenAPI spec and generate a Python SDK:
{
"openapi": "3.0.0",
"info": { "title": "User API", "version": "1.0.0" },
"servers": [{ "url": "https://api.example.com" }],
"paths": {
"/users": {
"get": {
"summary": "List users",
"responses": {
"200": { "description": "Success" }
}
}
}
}
}Example 3: API Testing Workflow
1. Parse the Stripe API spec: https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec3.json
2. List all payment-related endpoints
3. Generate TypeScript SDK
4. Create mock customer dataπ¨ Use Cases
API Development
Import existing OpenAPI specs
Test endpoints during development
Generate client libraries automatically
Create API documentation
API Testing
Validate API responses
Batch test endpoints for health checks
Performance testing with timing metrics
Mock data generation for testing
API Integration
Generate SDKs for easy integration
Test third-party APIs before integration
Validate API contracts
Document external APIs
Learning & Exploration
Explore public APIs (GitHub, Stripe, Twitter, etc.)
Understand API structures
Generate working code examples
Create educational documentation
ποΈ Architecture
mcp-api-toolkit/
βββ src/
β βββ index.ts # Main MCP server
β βββ tools/ # MCP tool definitions
β βββ utils/
β β βββ openapi-parser.ts # OpenAPI parsing
β β βββ api-client.ts # HTTP client
β β βββ sdk-generator.ts # SDK generation
β βββ types/
β βββ api.ts # TypeScript types
βββ examples/ # Usage examples
βββ docs/ # Documentation
βββ tests/ # Unit testsπ Security
No API credentials are stored
All requests are made on-demand
Rate limiting respect
Input validation with Zod
HTTPS-only for URL parsing
π€ Contributing
Contributions are welcome! Please read our Contributing Guide first.
Fork the repository
Create a feature branch:
git checkout -b feature/amazing-featureCommit changes:
git commit -m 'Add amazing feature'Push to branch:
git push origin feature/amazing-featureOpen a Pull Request
π License
MIT License - see LICENSE file for details
π Star History
If you find this project useful, please consider giving it a star on GitHub!
π Links
π‘ Inspiration
Built to solve the API-first development workflow in 2025. Inspired by:
Postman's intuitive API testing
OpenAPI's standardization
Claude's AI-powered development assistance
π§ Support
Documentation: docs/
Issues: GitHub Issues
Discussions: GitHub Discussions
Made with β€οΈ for the Claude Code community
Supercharge your API development workflow with AI!
Available Tools
8 toolsbatch_test_endpointsB
Test multiple API endpoints from an OpenAPI spec in batch. Useful for smoke testing or API health checks.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| baseUrl | No | Base URL to use for testing (overrides spec servers) | |
| headers | No | Optional: Common headers for all requests | |
| filterByTag | No | Optional: Only test endpoints with this tag |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden and largely fails: it does not say whether mutating endpoints (POST/PUT/DELETE) are actually executed, how auth is supplied, whether failures abort the batch or are collected, or whether requests are rate-limited. For a tool that fires many live HTTP calls, that is a material gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the action and resource, with the batch scope before the use case. No filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema and no annotations, yet the description never explains what a batch run returns (per-endpoint results? aggregate pass/fail?) or how a partially failing batch behaves. For a multi-request network tool, the definition is under-specified despite complete parameter docs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so every parameter (spec, baseUrl, headers, filterByTag) is already documented in the schema. The description adds nothing about parameter behavior (e.g. how filterByTag selection interacts with the spec, or precedence of baseUrl), so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Test multiple API endpoints from an OpenAPI spec') plus the scope modifier 'in batch', which implicitly separates it from the sibling test_api_endpoint. It never names that sibling, so differentiation is inferable rather than explicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Useful for smoke testing or API health checks' gives a use context, but offers no when-not guidance, no prerequisites, and no routing against test_api_endpoint, the obvious singular alternative. Usage is implied rather than prescribed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_api_docsB
Generate markdown documentation from an OpenAPI specification. Creates human-readable API documentation with examples.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| includeExamples | No | Include request/response examples (default: true) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden, and it does disclose the output artifact: markdown, human-readable, with examples. However it says nothing about invalid-spec handling, whether output is returned or written to disk, or size limitsβgaps that matter for a generator with no annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the core action. The second sentence partially restates the first ('documentation' vs 'human-readable API documentation') rather than adding new information, which is minor waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool with no output schema and full schema coverage, the description covers input source and output format adequately. It stops short of describing error behavior or the markdown structure, but nothing essential to invoking it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both parameters are already documented in the schema, making 3 the baseline. The description's mention of examples loosely reinforces includeExamples but adds no syntax, format, or defaulting detail beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Generate') and resource ('markdown documentation') plus the input source ('OpenAPI specification'). It is clear in isolation, but it never distinguishes itself from sibling tools like parse_openapi or generate_sdk, which operate on the same spec artifact.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to choose this over generate_sdk, parse_openapi, or generate_mock_data, all of which consume an OpenAPI spec. No prerequisites (e.g., spec must be valid, use validate first) are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_mock_dataC
Generate mock data based on a JSON schema or OpenAPI schema definition. Useful for testing and development.
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of mock objects to generate (default: 1) | |
| schema | Yes | JSON Schema or OpenAPI schema object |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about determinism (are repeated runs identical?), whether output is written anywhere or purely returned, or how nested/complex schema features are handled. For a tool taking a nested-object schema parameter, that is a meaningful gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences with the core capability front-loaded. The second sentence is mild filler but does not obscure the purpose, so size is appropriate.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
A two-parameter tool with no output schema, so the description should convey at least the shape of what comes back (e.g., an array of count objects). It is minimally viable but leaves return format and nested-schema handling unstated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both `count` (with default) and `schema` are already documented in the schema. The description only restates that the input may be a JSON Schema or OpenAPI schema, adding no format, version, or constraint detail beyond the schema itself.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (generate) and resource (mock data) plus the input domain (JSON Schema or OpenAPI schema definition). It is clearly distinguishable from siblings like generate_sdk or parse_openapi, but it never explicitly names or contrasts with them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
"Useful for testing and development" is a generic audience statement, not guidance. It does not say when to prefer this over batch_test_endpoints or generate_sdk, nor does it state any prerequisite (e.g., that a schema must already be parsed or valid).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_sdkC
Generate a client SDK in TypeScript, Python, JavaScript, or Go from an OpenAPI specification. Creates ready-to-use client libraries with type safety.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| language | Yes | Target language for SDK generation | |
| clientName | No | Optional: Custom client class name |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are supplied, so the description carries the full behavioral burden. It hints that the result is a 'ready-to-use' typed client, but never says whether files are written to disk, a code string is returned, or what the generation cost/side effects are.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences, front-loaded with the core action and input source. The second sentence is mildly redundant but does add the type-safety value proposition, so little waste overall.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The schema is small and fully documented, and no output schema exists, so return-value details are not strictly required. Still, for a generation tool with no annotations, the absence of any statement about output form or side effects leaves a meaningful gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and every parameter is documented in the schema, so the schema does the heavy lifting. The description's language enumeration merely restates the enum and adds no syntax or format guidance beyond it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb (Generate) plus resource (client SDK) and names the exact input (OpenAPI specification) and supported languages. It is easy to distinguish from siblings like generate_api_docs or parse_openapi, though it does not explicitly say how it differs from them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this tool versus alternatives such as parse_openapi or generate_api_docs, and no prerequisites are mentioned. The agent must infer the use case entirely from the purpose sentence.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_endpointsA
Extract and list all API endpoints from a previously parsed OpenAPI specification. Returns all paths, methods, summaries, and operation IDs.
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| filterByTag | No | Optional: Filter endpoints by tag | |
| filterByMethod | No | Optional: Filter endpoints by HTTP method (GET, POST, etc.) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It does disclose the return content (paths, methods, summaries, operation IDs) and its read-only nature is clearly implied by 'list', but it says nothing about pagination, ordering, or behavior when the spec contains no endpoints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences with no filler; the purpose and the source-of-input constraint are front-loaded. It is appropriately sized for a simple list tool, though the second sentence could arguably fold into the first.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description sensibly enumerates what is returned, and all three parameters are covered by schema descriptions. For a simple read-only listing tool, this is nearly complete, missing only edge-case behavior such as empty or malformed specs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters including the two optional filters. The description adds no parameter-level detail (e.g., tag matching semantics or method case-sensitivity) beyond what the schema provides, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb ('Extract and list') and resource ('API endpoints'), and it names the input source ('a previously parsed OpenAPI specification'), which implicitly distinguishes it from the sibling parse_openapi. It stops short of explicitly contrasting itself with other siblings like generate_api_docs or test_api_endpoint.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'from a previously parsed OpenAPI specification' implies the prerequisite that parse_openapi must run first, which is useful sequencing context. However, there is no explicit when-to-use vs. when-not guidance, and it does not name any alternative sibling tool for related needs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parse_openapiB
Parse and validate an OpenAPI/Swagger specification from JSON/YAML string or URL. Returns detailed information about the API including endpoints, methods, and schemas.
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | OpenAPI spec as JSON/YAML string, or a URL to fetch the spec from | |
| isUrl | No | Whether the input is a URL (default: false) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It discloses that the tool validates and returns detailed information including endpoints, methods, and schemas, but it does not describe error handling for invalid specs, whether URL fetching has network or timeout implications, or any other side effects. The behavioral disclosure is adequate but incomplete.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences that are front-loaded with the core purpose and input forms, followed by a clear statement of return content. Every sentence earns its place with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a simple two-parameter tool with no output schema or annotations, the description sufficiently explains what the tool does and what it returns. It does not clarify validation error behavior or how it relates to sibling tools, but the essential information for correct invocation is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both parameters (input and isUrl) are fully documented in the schema. The description's mention of 'JSON/YAML string or URL' aligns with the schema but adds no new syntactic or semantic detail, making the baseline of 3 appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses specific verbs (parse, validate) and names the resource (OpenAPI/Swagger specification) and input forms (JSON/YAML string or URL). It clearly distinguishes the tool from generators like generate_sdk or testers like test_api_endpoint, but does not explicitly name or differentiate from any sibling tool, keeping it at a 4.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states what the tool does but provides no guidance on when to use it versus alternatives such as list_endpoints or generate_sdk. There are no exclusions or conditions that would help an agent choose this tool over its siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
test_api_endpointB
Execute an API request and test an endpoint with optional validation. Returns response status, data, timing, and validation results.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL to test | |
| body | No | Optional request body (for POST, PUT, PATCH) | |
| method | Yes | HTTP method | |
| params | No | Optional query parameters | |
| headers | No | Optional HTTP headers | |
| timeout | No | Request timeout in milliseconds (default: 30000) | |
| expectedStatus | No | Expected HTTP status code for validation |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It usefully discloses the return shape (status, data, timing, validation results), which compensates for the missing output schema, but it never warns that non-idempotent methods (POST/PUT/DELETE) execute real requests with side effects, nor mentions auth or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences, front-loaded with the action and followed by the return summary. No filler, though the return-value sentence could be trimmed since it is generic to any HTTP client.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 7-parameter tool with nested objects, no annotations, and no output schema, the description covers the return values adequately but omits security/permission context and side-effect warnings that an agent invoking DELETE or POST against a live endpoint would need.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so every parameter is already documented, setting the baseline at 3. The description only adds the loose 'optional validation' hint tied to expectedStatus and does not clarify body/method interactions beyond what the schema states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Execute an API request and test an endpoint'), which is clear and actionable. However, it does not differentiate itself from close siblings like batch_test_endpoints or validate_api_response, leaving the agent to infer the single-call scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'optional validation' hints that expectedStatus drives validation, but there is no explicit when-to-use guidance, no prerequisite information (auth, credentials), and no routing toward the sibling tools for batch or response-only validation scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_api_responseC
Validate an API response against an OpenAPI schema definition. Checks if the response matches the expected schema.
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Expected OpenAPI schema | |
| response | Yes | API response data to validate |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It says the tool 'checks' a match but never states what the result looks like (boolean, error list, path-level failures), how strict or partial schema matching is, or what happens when validation fails β all material for a validator.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is short and front-loaded, which is good, but the second sentence ('Checks if the response matches the expected schema') is a near-tautological restatement of the first. One sentence would have carried the same information without bloat.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description is the only place to learn what the tool returns, yet it says nothing about the validation result format. For a nested-object, two-required-parameter validator, a caller needs to know whether failures are reported as paths, messages, or a boolean.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so both required parameters ('schema' and 'response') are already documented in the schema itself. The description adds nothing about the shape or depth of the nested OpenAPI schema accepted, so it does not go beyond structured data.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb and resource combination: validate an API response against an OpenAPI schema. An agent can tell what the tool does at a glance. However, it offers no differentiation from siblings like test_api_endpoint or batch_test_endpoints, whose purposes overlap with response checking.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this tool versus test_api_endpoint or batch_test_endpoints, both of which plausibly involve validating responses. No prerequisites, no exclusions, no context about when schema validation is the right choice over live endpoint testing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
8 tool updates
v0.1.0- First observed
batch_test_endpoints - First observed
generate_api_docs - First observed
generate_mock_data - First observed
generate_sdk - First observed
list_endpoints - First observed
parse_openapi - First observed
test_api_endpoint - First observed
validate_api_response
TDQS
Scored across 8 tools
Most tools have distinct purposes: SDK generation, doc generation, validation, batch testing, parsing, listing, single endpoint testing, and mock data. However, test_api_endpoint and batch_test_endpoints overlap in testing functionality, and validate_api_response and test_api_endpoint both involve validation, which could cause slight confusion.
Tool names are mostly in snake_case with a verb_noun pattern (generate_sdk, generate_api_docs, validate_api_response, etc.). One deviation is parse_openapi (verb_noun but noun is OpenAPI rather than a typical object) and list_endpoints, but overall consistency is high.
With 8 tools, the count is well-scoped for an API toolkit. Each tool corresponds to a distinct, useful operation in the API development lifecycle, and there is no apparent redundancy.
The toolkit covers parsing, listing, testing (single and batch), validation, SDK generation, documentation, and mock data. It misses operations like comparing specs, transforming specs, or generating server stubs, but these are minor gaps for a client-side API toolkit.
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA MCP server that exposes OpenAPI schema information to LLMs like Claude. This server allows an LLM to explore and understand large OpenAPI schemas through a set of specialized tools, without needing to load the whole schema into the context90 npm49MIT
- AlicenseNot gradedqualityCmaintenanceA generic MCP server that dynamically converts OpenAPI-defined REST APIs into tools for LLMs like Claude. It supports multiple authentication methods and transport protocols, enabling seamless interaction with any OpenAPI-compliant API.21 npmMIT
- FlicenseAqualityDmaintenanceA universal MCP server that integrates any API with Claude Desktop by pointing it at a Swagger/OpenAPI spec, automatically generating tools for interaction.344-
- AlicenseNot gradedqualityDmaintenanceConverts any OpenAPI/Swagger spec into an MCP server, exposing REST API endpoints as tools for Claude.MIT