Cortex Docs
Generates interactive API documentation, typed SDKs, and MCP servers from OpenAPI, AsyncAPI, GraphQL, gRPC, OpenRPC, and Markdown sources.
- GitHub stars
- 3.2k
- Last commit
- yesterday
- Latest release
- v0.1.36
- Licence
- MIT
- Self-hosted
- Yes
- Hosted version
- Available

Cortex turns API specifications and Markdown files into developer-facing outputs from a single project configuration. It reads sources such as OpenAPI, AsyncAPI, GraphQL, Protocol Buffers, OpenRPC, and plain Markdown, and produces interactive documentation for people, typed SDKs for applications, and an MCP server so AI agents can work with the same project context. It is released under the MIT license.
Generated SDKs cover many languages, including TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, Rust, and C++, and can combine several specification files into one client. The tool supports HTTP, WebSocket, GraphQL, gRPC, and JSON-RPC clients, and builds static HTML documentation with interactive API reference pages. The MCP server includes typed tools, embedded specifications, and SDK guides.
You can try a local demo in about a minute, keep documentation in Git, and publish a free site for a public GitHub repository through the project's hosting flow. It suits API providers and developer-experience teams who want one source of truth for docs, client libraries, and agent access.
Key features
- Interactive API reference documentation
- Typed SDK generation for many languages
- MCP server generated from API specs
- Supports OpenAPI, AsyncAPI, GraphQL, gRPC, and OpenRPC
- Combines multiple spec files in one SDK
- Static HTML documentation output
- Markdown content kept in Git
Pricing: Free and open source under the MIT license; free hosted documentation sites are offered for public repositories.