$git clone https://github.com/janwilmake/openapi-mcp-serverA Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org.
| 1 | # OpenAPI MCP Server |
| 2 | |
| 3 | [](https://uithub.com/janwilmake/openapi-mcp-server?excludePathPatterns=*.yaml) |
| 4 | |
| 5 | A Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org. |
| 6 | |
| 7 | - Demo: https://x.com/janwilmake/status/1903497808134496583 |
| 8 | - HN Thread: https://news.ycombinator.com/item?id=43447278 |
| 9 | - OpenAPISearch: https://github.com/janwilmake/openapisearch |
| 10 | - OAPIS: https://github.com/janwilmake/oapis |
| 11 | |
| 12 | The MCP works by applying a 3 step process: |
| 13 | |
| 14 | 1. It figures out the openapi identifier you need |
| 15 | 2. It requests a summary of that in simple language |
| 16 | 3. It determines which endpoints you need, and checks out how exactly they work (again, in simple language) |
| 17 | |
| 18 | Features |
| 19 | |
| 20 | - Get an overview of any OpenAPI specification |
| 21 | - Retrieve details about specific API operations |
| 22 | - Support for both JSON and YAML formats |
| 23 | - Tested with Claude Desktop and Cursor |
| 24 | |
| 25 | ## Installation |
| 26 | |
| 27 | [](https://installthismcp.com/OpenAPI%20MCP%20Server?url=https%3A%2F%2Fopenapi-mcp.openapisearch.com%2Fmcp) |
| 28 | |
| 29 | For other clients, use MCP URL: https://openapi-mcp.openapisearch.com/mcp |
| 30 | |
| 31 | ## Local testing |
| 32 | |
| 33 | First run the server |
| 34 | |
| 35 | ``` |
| 36 | wrangler dev |
| 37 | ``` |
| 38 | |
| 39 | Then run the mcp inspector: |
| 40 | |
| 41 | ``` |
| 42 | npx @modelcontextprotocol/inspector |
| 43 | ``` |