A Model Context Protocol (MCP) server for Claude/Cursor that enables searching and exploring OpenAPI specifications through oapis.org.
- Demo: https://x.com/janwilmake/status/1903497808134496583
- HN Thread: https://news.ycombinator.com/item?id=43447278
- OpenAPISearch: https://github.com/janwilmake/openapisearch
- OAPIS: https://github.com/janwilmake/oapis
The MCP works by applying a 3 step process :
- It figures out the openapi identifier you need
- It requests a summary of that in simple language
- It determines which endpoints you need, and checks out how exactly they work (again, in simple language)
- Get an overview of any OpenAPI specification
- Retrieve details about specific API operations
- Support for both JSON and YAML formats
- Tested with Claude Desktop and Cursor
Summary | Prompt it |
---|---|
Basic understanding of the OpenAPI MCP Server | |
Core implementation details of the MCP server | |
How to extend or contribute to the project |
Our hosted smithery URL is https://smithery.ai/server/@janwilmake/openapi-mcp-server
To install openapi-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @janwilmake/openapi-mcp-server --client claude
For other clients, see the smithery page for instructions.
{
"mcpServers": {
"openapi-mcp-server": {
"command": "node",
"args": ["/absolute/path/to/openapi-mcp-server/index.js"],
"env": {
"DEBUG": "true"
}
}
}
}
Once installed, you can ask Claude to:
- "Find information about the Stripe API"
- "Explain how to use the GitHub API's repository endpoints"
Claude will use the MCP server to:
- First get an overview of the requested API
- Then retrieve specific operation details as needed
- Node.js >= 16.17.0
- Claude Desktop, Cursor, or any other MCP client.
MIT