Dev Resources
Cortex favicon

Cortex

API Building/Documentation/Tooling

Generate interactive API documentation, typed SDKs, and MCP servers from API specifications and Markdown.

Cortex's website screenshot

About Cortex

Cortex is an open-source toolchain that generates typed SDKs, interactive API documentation, and MCP servers from API specifications. It accepts OpenAPI, AsyncAPI, GraphQL, gRPC, and OpenRPC sources within a single project, validates the contracts, and produces documentation sites, client libraries, and agent-facing tooling from one configuration file.

Generated SDKs are idiomatic across eleven languages (TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, C#, Rust, C++, and C), including authentication, timeouts, streaming, retries, and package metadata. The documentation output includes searchable guides, interactive references, and a live request builder that can be self-hosted. The MCP server output maps API operations to typed tools and bundles source specs, documentation, and SDK references so AI agents can discover and integrate with an API.

The project is MIT-licensed, with templates (built on Eta) that can be exported and overridden, and generated output can be deployed to self-managed infrastructure or published to custom registries. It is intended for teams maintaining API specifications who want to produce documentation, client libraries, and agent integrations from a single source of truth rather than maintaining them separately.

Key features

  • Generates typed SDKs in eleven languages (TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, C#, Rust, C++, C)
  • Combines REST, GraphQL, gRPC, WebSocket/AsyncAPI, and JSON-RPC sources in one project
  • Produces interactive, searchable API documentation with a live request builder
  • Generates MCP servers with typed tools mapped to API operations for AI agents
  • Open templates (Eta) that can be exported and overridden for custom code generation
  • Validates API contracts before generating docs, SDKs, or MCP tools

Frequently asked questions

Is Cortex open source?

Yes, Cortex Docs is MIT-licensed and built in the open on GitHub.

What API specification formats does it support?

It supports OpenAPI, AsyncAPI, GraphQL, gRPC, and OpenRPC sources in a single project.

What programming languages can it generate SDKs for?

It generates idiomatic typed clients in eleven languages: TypeScript, Python, Go, Java, Kotlin, Ruby, PHP, C#, Rust, C++, and C.

Does it support AI agent integrations?

Yes, it generates MCP servers with typed tools, embedded specs, and SDK guides so AI agents can integrate with API context rather than guesses.

Can I customize the generated output?

Yes, templates are open (built with Eta) and can be exported, overridden, and published to your own registries, with documentation deployable anywhere Node runs.

Ad
Thordata favicon

Thordata

Reliable residential proxies for web scraping and automation: over 100 million real residential IPs across 190+ countries, plus a SERP API, Web Scraper API and Web Unlocker.

Learn more
Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon
  • Thordata favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product

You might also like