Fern

SaaS

Fern generates API documentation sites from OpenAPI and other specs, with pages written in Markdown, published through CI, and optional SDKs in several languages.

Competes with

buildwithfern.com
Fern homepage screenshot

About Fern

Fern is a documentation platform for APIs. A project keeps its configuration in a fern folder: docs.yml sets navigation, theme and hosting, MDX files hold the pages, and API definitions such as OpenAPI or AsyncAPI sit next to a generators.yml file that references the specs and configures SDKs.

Docs are regenerated from the spec, so a change made upstream updates the whole surface, including MCP servers. People can edit through an IDE, a browser-based Visual Editor where every save opens a pull request, a CLI, GitHub Actions, or by asking Fern Agent in Slack or Teams and getting a PR back.

The docs also serve /llms.txt and structured context so coding agents can use the API, and a dashboard shows web analytics such as 404s and drop-offs along with what readers search, ask the AI chat and flag as feedback. Spec formats named on the site are OpenAPI, GraphQL, AsyncAPI and gRPC.

Key features

  • Docs regenerate from the OpenAPI spec
  • Docs as code in Markdown, reviewed in GitHub
  • Serves /llms.txt and structured context for agents
  • SDKs in 8 supported languages
  • Browser Visual Editor that opens a PR on every save
  • Analytics for 404s, drop-offs and popular paths
  • Fern Agent in Slack and Teams returns a PR

Good fit for

  • API reference documentation
  • Developer docs for AI agents
  • SDK generation
Tags
api documentation
openapi
sdk generation
docs as code
mdx
developer docs

Fern: questions and answers

What is Fern used for?
Fern generates API documentation sites from OpenAPI and other specs, with pages written in Markdown, published through CI, and optional SDKs in several languages. It is a good fit for API reference documentation, developer docs for AI agents and SDK generation.
Is Fern open source?
No. Fern is proprietary (closed-source) software. In the API Tools category, open-source options include Insomnia, OpenAPI Generator and Scalar.
What are some alternatives to Fern?
Fern competes with Stainless and Speakeasy.

Open-source alternatives to Fern

See all

SaaS alternatives to Fern

See all