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
Add Morpho docs as context by running:
claude --add-docs https://docs.morpho.org/llms-all.txtOther 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