
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that loads OpenAPI specifications and answers natural language queries about API structures, endpoints, and schemas.
OpenAPI Analyzer MCP Server is cataloged as an MCP server attributed to sureshkumars. A Model Context Protocol server that loads OpenAPI specifications and answers natural language queries about API structures, endpoints, and schemas. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for OpenAPI Analyzer MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It can load from an APIs.json registry, individual spec URLs, or a local folder, trying these sources in a priority order with fallback.
Yes, the get_load_sources tool shows where specs were loaded from, whether registry, URLs, or folder.
README.md · a65a14596919 · 采集于 2026-11-13 08:53:44 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A powerful Model Context Protocol (MCP) server for analyzing OpenAPI specifications with Claude Desktop and other LLM clients. This server enables natural language queries about your API structures, endpoints, schemas, and helps identify inconsistencies across multiple OpenAPI specs.
apis.json registries (support for 30+ APIs)npm install openapi-analyzer-mcp
git clone https://github.com/sureshkumars/openapi-analyzer-mcp.git
cd openapi-analyzer-mcp
npm install
npm run build
The OpenAPI Analyzer supports three discovery methods with intelligent priority fallback:
OPENAPI_DISCOVERY_URL)OPENAPI_SPEC_URLS)OPENAPI_SPECS_FOLDER)Find your config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\\Claude\\claude_desktop_config.jsonPerfect for companies with centralized API registries:
{
"mcpServers": {
"openapi-analyzer": {
"command": "npx",
"args": ["-y", "openapi-analyzer-mcp"],
"env": {
"OPENAPI_DISCOVERY_URL": "https://docs.company.com/apis.json"
}
}
}
}
Load specific APIs from direct URLs:
{
"mcpServers": {
"openapi-analyzer": {
"command": "npx",
"args": ["-y", "openapi-analyzer-mcp"],
"env": {
"OPENAPI_SPEC_URLS": "https://api.example.com/v1/openapi.yaml,https://api.example.com/v2/openapi.yaml,https://petstore.swagger.io/v2/swagger.json"
}
}
}
}
Traditional approach for local specification files:
{
"mcpServers": {
"openapi-analyzer": {
"command": "npx",
"args": ["-y", "openapi-analyzer-mcp"],
"env": {
"OPENAPI_SPECS_FOLDER": "/absolute/path/to/your/openapi-specs"
}
}
}
}
Ultimate flexibility - tries all methods with intelligent fallback:
{
"mcpServers": {
"openapi-analyzer": {
"command": "npx",
"args": ["-y", "openapi-analyzer-mcp"],
"env": {
"OPENAPI_DISCOVERY_URL": "https://docs.company.com/apis.json",
"OPENAPI_SPEC_URLS": "https://legacy-api.com/spec.yaml,https://external-api.com/spec.json",
"OPENAPI_SPECS_FOLDER": "/path/to/local/specs"
}
}
}
}
Company with API Registry:
{
"mcpServers": {
"company-apis": {
"command": "npx",
"args": ["-y", "openapi-analyzer-mcp"],
"env": {
"OPENAPI_DISCOVERY_URL": "https://api.company.com/registry/apis.json"
}
}
}
}
Multiple API Sources:
{
"mcpServers": {
"multi-apis": {
"command": "npx",
"args": ["-y", "openapi-analyzer-mcp"],
"env": {
"OPENAPI_SPEC_URLS": "https://petstore.swagger.io/v2/swagger.json,https://api.example.com/v1/openapi.yaml"
}
}
}
}
| Variable | Description | Example | Priority |
|---|---|---|---|
OPENAPI_DISCOVERY_URL | URL to API registry (apis.json format) | https://docs.company.com/apis.json | 1 (Highest) |
OPENAPI_SPEC_URLS | Comma-separated list of OpenAPI spec URLs | https://api1.com/spec.yaml,https://api2.com/spec.json | 2 (Medium) |
OPENAPI_SPECS_FOLDER | Absolute path to local OpenAPI files folder | /absolute/path/to/specs | 3 (Fallback) |
⚠️ Important Notes:
OPENAPI_SPECS_FOLDEROnce configured, you can interact with your OpenAPI specs using natural language in Claude Desktop:
"Load all APIs from the company registry and show me an overview"
"Discover APIs from the configured registry and analyze their authentication patterns"
"What APIs are available in our API registry?"
"Show me where my specs were loaded from"
"Load all my OpenAPI specs and give me a comprehensive summary"
"How many APIs do I have and what's the total number of endpoints?"
"Compare authentication schemes across all loaded APIs"
"Which APIs are using different versions of the same schema?"
"Show me all POST endpoints for user creation across all APIs"
"Find all endpoints related to authentication across all loaded APIs"
"Which APIs have pagination parameters?"
"Search for endpoints that handle file uploads"
"Find all APIs that use the 'User' schema"
"What authentication schemes are used across my APIs?"
"Which APIs have inconsistent naming conventions?"
"Compare the User schema across different APIs"
"Show me APIs that are still using version 1.0"
"Generate comprehensive statistics about my API ecosystem"
"Which HTTP methods are most commonly used?"
"What are the most common path patterns?"
"Show me version distribution across my APIs"
The MCP server provides these tools for programmatic access:
| Tool | Description | Parameters |
|---|---|---|
load_specs | Smart Load: Automatically load specs using priority system (registry → URLs → folder) | None |
list_apis | List all loaded APIs with basic info (title, version, endpoint count) | None |
get_api_spec | Get the full OpenAPI spec for a specific file | filename |
search_endpoints | Search endpoints by keyword across all APIs | query |
get_api_stats | Generate comprehensive statistics about all loaded APIs | None |
find_inconsistencies | Detect inconsistencies in authentication schemes | None |
compare_schemas | Compare schemas with the same name across different APIs | schema1, schema2 (optional) |
get_load_sources | New! Show where specs were loaded from (registry, URLs, or folder) | None |
openapi-analyzer-mcp/
├── src/
│ └── index.ts # Main server implementation
├── tests/ # Comprehensive test suite
│ ├── analyzer.test.ts # Core functionality tests
│ ├── server.test.ts # MCP server tests
│ ├── validation.test.ts # Environment tests
│ ├── setup.ts # Test configuration
│ └── fixtures/ # Test data files
├── dist/ # Compiled JavaScript
├── coverage/ # Test coverage reports
├── examples/ # Example configurations
│ ├── claude_desktop_config.json
│ └── sample-openapi.json
├── vitest.config.ts # Test configuration
├── package.json
├── tsconfig.json
└── README.md
Note: You don't need an openapi-specs folder in this repository. Point OPENAPI_SPECS_FOLDER to wherever your actual OpenAPI files are located.
[
{
"type": "discovery",
"url": "https://api.company.com/registry/apis.json",
"count": 12,
"metadata": {
"name": "Company APIs",
"description": "Collection of company API specifications",
"total_apis": 12
}
}
]
{
"totalApis": 12,
"totalEndpoints": 247,
"loadedFrom": "API Registry",
"discoveryUrl": "https://api.company.com/registry/apis.json",
"apis": [
{
"filename": "User Management API",
"title": "User Management API",
"version": "2.1.0",
"endpointCount": 18,
"source": "https://docs.company.com/user-api.yaml"
},
{
"filename": "Product Catalog API",
"title": "Product Catalog API",
"version": "1.5.0",
"endpointCount": 32,
"source": "https://docs.company.com/product-api.yaml"
}
]
}
{
"totalApis": 12,
"totalEndpoints": 247,
"methodCounts": {
"GET": 98,
"POST": 67,
"PUT": 45,
"DELETE": 37
},
"versions": {
"1.0.0": 8,
"2.0.0": 3,
"3.1.0": 1
},
"commonPaths": {
"/api/v1/users/{id}": 8,
"/api/v1/orders": 6,
"/health": 12
}
}
[
{
"filename": "user-api.json",
"api_title": "User Management API",
"path": "/api/v1/users",
"method": "POST",
"summary": "Create a new user",
"operationId": "createUser"
},
{
"filename": "admin-api.json",
"api_title": "Admin API",
"path": "/admin/users",
"method": "POST",
"summary": "Create user account",
"operationId": "adminCreateUser"
}
]
Want to set up your own apis.json registry? Here's how:
Create a file at https://your-domain.com/apis.json:
{
"name": "Your Company APIs",
"description": "Collection of all our API specifications",
"url": "https://your-domain.com",
"apis": [
{
"name": "User API",
"baseURL": "https://api.your-domain.com/users",
"properties": [
{
"type": "Swagger",
"url": "https://docs.your-domain.com/user-api.yaml"
}
]
},
{
"name": "Orders API",
"baseURL": "https://api.your-domain.com/orders",
"properties": [
{
"type": "OpenAPI",
"url": "https://docs.your-domain.com/orders-api.json"
}
]
}
]
}
Or use the simpler custom format:
{
"name": "Your Company APIs",
"description": "Our API registry",
"apis": [
{
"name": "User API",
"version": "v2",
"spec_url": "https://docs.your-domain.com/user-api.yaml",
"docs_url": "https://docs.your-domain.com/user-api",
"status": "stable",
"tags": ["auth", "users"]
}
]
}
OPENAPI_DISCOVERY_URL, OPENAPI_SPEC_URLS, or OPENAPI_SPECS_FOLDERapis arrayspec_url or properties with OpenAPI/Swagger typeSet NODE_ENV=development to see detailed logging:
{
"mcpServers": {
"openapi-analyzer": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {
"OPENAPI_SPECS_FOLDER": "/path/to/specs",
"NODE_ENV": "development"
}
}
}
}
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
git clone https://github.com/sureshkumars/openapi-analyzer-mcp.git
cd openapi-analyzer-mcp
npm install
npm run build
npm run dev # Start in development mode
This project includes a comprehensive test suite with 46+ tests covering all functionality:
# Run all tests
npm test
# Run tests in watch mode (re-runs on file changes)
npm run test:watch
# Run tests with coverage report
npm run test:coverage
The test suite provides extensive coverage with 100% test success rate:
New in v1.2.0:
tests/
├── analyzer.test.ts # Core OpenAPIAnalyzer functionality tests
├── server.test.ts # MCP server configuration tests
├── validation.test.ts # Environment validation tests
├── setup.ts # Test configuration
└── fixtures/ # Sample test data
├── sample-api.json
├── another-api.json
└── invalid-api.json
Released: September 2025
apis.json format and custom registriesget_load_sources tool shows where specs were loaded fromThis project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for API developers and documentation teams
If you find this tool helpful, please consider giving it a ⭐ on GitHub!
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for OpenAPI Analyzer MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/openapi-analyzer)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.