Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Using LLMs

Morpho's documentation is available in LLM-friendly formats to help developers and AI agents integrate with Morpho faster.

Available Endpoints

EndpointDescription
llms.txtCurated index of ~46 key pages with one-line descriptions. Start here.
llms-full.txtAll pages in clean markdown, organized by section.
llms-all.txtAll pages with code snippets inlined. Best for full context.
llms-pages.jsonJSON mapping of URL path to {title, section, content}.
Which file should I use?
  • Quick lookup - Use llms.txt to find the right page, then fetch it individually.
  • Full context - Use llms-all.txt for complete documentation with all code examples resolved.
  • Programmatic access - Use llms-pages.json to 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.
EOF

Step 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.txt

Or for a lighter-weight index:

https://docs.morpho.org/llms.txt