Using LLMs
Morpho's documentation is available in LLM-friendly formats to help developers and AI agents integrate with Morpho faster.
Available Endpoints
| Endpoint | Description |
|---|---|
| llms.txt | Curated index of ~46 key pages with one-line descriptions. Start here. |
| llms-full.txt | All pages in clean markdown, organized by section. |
| llms-all.txt | All pages with code snippets inlined. Best for full context. |
| llms-pages.json | JSON mapping of URL path to {title, section, content}. |
- Quick lookup - Use
llms.txtto find the right page, then fetch it individually. - Full context - Use
llms-all.txtfor complete documentation with all code examples resolved. - Programmatic access - Use
llms-pages.jsonto look up specific pages by URL path.
Using with AI Code Editors
Cursor
Navigate to Cursor Settings > Features > Docs
Select "Add new doc" and paste the following URL:
Use @docs -> Morpho to reference Morpho's docs in your code.
Claude Code
Claude Code auto-discovers skills placed in ~/.claude/skills/. Create a Morpho skill once and Claude Code will pull the docs into context whenever your prompt is Morpho-related — no session flags required.
Step 1: Create the skill file
mkdir -p ~/.claude/skills/morpho-docs
cat > ~/.claude/skills/morpho-docs/SKILL.md <<'EOF'
---
name: morpho-docs
description: Morpho protocol docs (Blue, MetaMorpho, Vault V2, API, SDKs). Use whenever the user asks about Morpho.
---
Read https://docs.morpho.org/llms-full.txt for full docs, or https://docs.morpho.org/llms.txt for the curated index. Prefer the index first, then fetch specific pages it links to.
EOFStep 2: Start Claude Code
Run claude in any project. The morpho-docs skill is loaded at startup and activates automatically when your prompt mentions Morpho. You can also invoke it explicitly with /morpho-docs.
Other Tools
Any tool that supports custom documentation URLs can use:
https://docs.morpho.org/llms-all.txtOr for a lighter-weight index:
https://docs.morpho.org/llms.txt