All articles
May 29, 2026

What Is DocStar? API Documentation for People and AI Agents

workingOfDocstar.png

More and more of the people who use an API never read its docs. They ask Claude, ChatGPT or Cursor to do the job, and the AI reads the docs and makes the calls. If those docs are missing, out of date or hard for a machine to read, the agent guesses, and the call fails.

DocStar is API documentation for people and AI agents. Your coding agent writes the docs from your code. DocStar publishes them in every format each reader needs, and keeps them in sync as your API changes.

#

How it works

#

1. Paste one prompt into your coding agent

Copy the setup prompt from docstar.io into Claude Code, Cursor or Codex. Your agent already knows your code, so it reads your routes and writes the API docs for you. You don't need an OpenAPI file or a docs editor to start.

#

2. Review and publish

Every page the agent writes is a draft until someone on your team approves it. Agents propose, people publish. When you publish, every channel updates together.

#

3. Every reader gets its format

You document your API once. DocStar turns it into:

Reader What they get
AI agents A hosted MCP server. Agents search your docs and call your API as tools, with your users signed in.
Terminals and coding agents A CLI. Every endpoint becomes a command.
People A docs site on your domain, with search, an API playground and your branding.
Language models llms.txt and a Markdown copy of every page.
Tools An OpenAPI 3 file for every endpoint.

Learn more: Meet DocStar MCP Servers, the DocStar CLI and Is Your Documentation Readable by AI?

#

4. Docs that keep up with your API

An agent is only as good as the docs it reads. With GitHub Sync, your API docs live in your repo next to the code, so they change in the same pull request. A docstar.md guide and one line in AGENTS.md tell your coding agent to update the spec whenever it changes an endpoint. On every push, DocStar updates your docs site, MCP tools and CLI together, and spec changes show up in the pull request for review like any other code. Your agent can set all of this up from one prompt. See Make Your Docs Part of Your Stack.

#

5. See how your docs perform

Analytics show which pages get read, whether readers found them helpful, and where they came from.

#

Agents act for real users, safely

An AI calls your API as the signed-in user, through your own sign-in, and never sees their credentials. See Securing Your DocStar MCP Server.

#

Your brand, not ours

Your domain on the docs site and the MCP server, and your name on the CLI. More in Your Docs, Your Brand.

#

Who DocStar is for

  • API companies and product teams who want customers' AI assistants to use their API without mistakes.
  • Developer experience and docs teams who want one place to write and publish.
  • Internal platform teams who want their own engineers' agents to use internal APIs safely.
#

How DocStar compares

See how DocStar stacks up against ReadMe, Mintlify, GitBook and Fern.

#

Get started

Paste one prompt into your coding agent and have your API docs live today. Start free.

what is DocStarAPI documentationMCP serverAI agentsllms.txtCLI