Examples¶
Real-world examples of using llm.energy.
Extracting Anthropic Docs¶
Result: 15+ markdown files covering Claude API, prompt engineering, and more.
Extracting MCP Docs¶
Result: Complete MCP specification, server implementation guides, and client examples.
Extracting Stripe Docs¶
Result: API reference, integration guides, and webhook documentation.
Using with Claude¶
- Extract documentation using llm.energy
- Download the ZIP archive
- In Claude, start a new conversation
- Upload
llms-full.mdor individual files - Ask questions about the documentation
Example prompt:
"Based on the uploaded documentation, how do I implement streaming responses?"
Using with ChatGPT¶
- Extract documentation
- Download files
- Upload to ChatGPT (GPT-4 with file upload)
- Reference the docs in your prompts
Using install.md¶
Extracting install.md¶
When extracting from a site that has install.md, llm.energy will automatically detect and include it:
Result: Documentation files + install.md with installation instructions.
Creating install.md¶
Use the install.md Generator to create your own:
- Go to the Generator page
- Fill in product name, objective, and done criteria
- Add TODO items (checklist for the LLM)
- Add installation steps with code blocks
- Download the generated
install.md
Using install.md with AI Agents¶
Give an AI agent the install.md file and ask it to install the software:
Example prompt:
"Follow the instructions in install.md to set up this tool on my machine"
The agent will:
- Read the OBJECTIVE to understand the goal
- Execute each step in the TODO list
- Verify completion against DONE WHEN criteria
Using the MCP Server¶
With the MCP server, AI assistants can extract docs programmatically:
Claude Desktop
You: "Extract the Vercel documentation and tell me about edge functions"
Claude: [Uses extract_documentation tool]
[Reads relevant sections]
"Based on the Vercel docs, edge functions are..."
Example conversation:
You: "What MCP tools do you have for documentation?"
Claude: "I have access to llm-energy with these tools:
- extract_documentation: Extract docs from a URL
- fetch_llms_txt: Get raw llms.txt content
- get_document: Retrieve a cached document
- list_documents: List all cached docs"
You: "Extract docs from docs.anthropic.com"
Claude: [Extracts and summarizes the documentation]
Supported Sites¶
Sites known to have llms.txt support:
| Site | URL |
|---|---|
| Anthropic | docs.anthropic.com |
| MCP | modelcontextprotocol.io |
| Stripe | docs.stripe.com |
| Vercel | vercel.com/docs |
| Supabase | supabase.com/docs |
| Mintlify | mintlify.com/docs |
Check any site
Try adding /llms.txt or /llms-full.txt to any documentation URL to see if it's supported.