Prerequisites
- Active Claude subscription (Pro, Max, or API access)
- Your documentation site deployed (for MCP integration)
Why use Claude Code with mint-tsdocs?
Connecting Claude Code to your documentation helps you:- Learn faster: Query your generated API reference without reading hundreds of pages
- Maintain consistency: Get help writing docs that match your existing patterns
- Fix issues quickly: Ask Claude to search your docs and fix broken links or outdated examples
- Customize templates: Get context-aware help when modifying Liquid templates
Setup
- Install Claude Code globally:
- Navigate to your docs directory
- (Optional) Add the
CLAUDE.mdfile below to your project - (Recommended) Connect to your documentation’s MCP server
- Run
claudeto start
Connect to your documentation (MCP)
Mintlify automatically generates an MCP (Model Context Protocol) server for your documentation at
https://your-docs-url/mcp. This lets Claude Code search and reference your docs in real-time.your-docs-url with your actual documentation URL. For example:
https://docs.yourcompany.com/mcphttps://yourproject.mintlify.app/mcp
Verify the connection
After connecting, ask Claude Code to search your documentation:Create CLAUDE.md
Create a CLAUDE.md file at the root of your documentation repository to train Claude Code on your specific documentation standards:
Using your generated API reference
Once you’ve generated your API documentation withmint-tsdocs generate, you have hundreds of reference pages that Claude Code can help you leverage:

