KnowledgeMay 14, 2026·2 min read

Claude Cookbooks — Claude API Notebook Recipes

Claude Cookbooks is a repo of copyable notebooks for Claude API patterns (tool use, RAG, vision, evals) so you can prototype faster (42.9k★).

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Needs Confirmation · 64/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Knowledge
Install
Single
Trust
Trust: Established
Entrypoint
Asset
Universal CLI install command
npx tokrepo install 25da083c-f4af-52f0-8e34-284ac1d865de
Intro

Claude Cookbooks is a repo of copyable notebooks for Claude API patterns (tool use, RAG, vision, evals) so you can prototype faster (42.9k★).

Best for: Developers who want vetted Claude API patterns they can copy into apps (tool use, RAG, multimodal, evaluations)

Works with: Python + Jupyter (for notebooks) and any language that can call the Claude API; start from the recipe folders and adapt

Setup time: 5-15 minutes

Main

  • Recipe-first structure: the README links to focused folders (classification, RAG, summarization, tool use) so you can start from a minimal working example.
  • Tool use examples: includes practical notebooks for function/tool integration (e.g., calculator, customer service patterns).
  • Multimodal coverage: contains vision and PDF-related recipes so you can wire image/PDF inputs into your app workflows.
  • Evaluation recipes: ships notebooks for building eval loops—useful when you need a repeatable quality gate for prompts or tools.

FAQ

  • Do I need to use notebooks?: No. Use notebooks as a reference and copy the minimal code into your own runtime.
  • Where should I start?: Start from one capability folder (tool use or RAG) and run a single recipe end to end before mixing patterns.
  • Is it Python-only?: Most examples are in Python notebooks, but the patterns (prompting, tool use, evals) translate to any language.
🙏

Source & Thanks

Source: https://github.com/anthropics/claude-cookbooks > License: MIT > GitHub stars: 42907 · forks: 4841

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets