anthropics

    anthropics/claude-cookbooks

    #5 this week

    A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.

    50.0K stars
    5.9K forks
    50.0K GitHub watchers
    Updated 7/26/2026
    View on GitHub

    Backblaze Generative Media Hackathon

    Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.

    Enter the hackathon

    Loading star history...

    Use Cases & Benefits

    • Provides a collection of Jupyter notebooks with code and guides for building applications using the Claude API.
    • Offers ready-to-use, copy-able code snippets and recipes that simplify integrating Claude's AI capabilities into projects.
    • Use for learning text classification and summarization techniques with Claude in Python environments.
    • Use for integrating Claude with external tools like calculators, SQL databases, and customer service agents.
    • Use for leveraging multimodal AI features such as image interpretation, PDF parsing, and generating images with Claude.

    About claude-cookbooks

    Claude Cookbooks

    The Claude Cookbooks provide code and guides designed to help developers build with Claude, offering copy-able code snippets that you can easily integrate into your own projects.

    Prerequisites

    To make the most of the examples in this cookbook, you'll need an Claude API key (sign up for free here).

    While the code examples are primarily written in Python, the concepts can be adapted to any programming language that supports interaction with the Claude API.

    If you're new to working with the Claude API, we recommend starting with our Claude API Fundamentals course to get a solid foundation.

    Explore Further

    Looking for more resources to enhance your experience with Claude and AI assistants? Check out these helpful links:

    Contributing

    The Claude Cookbooks thrives on the contributions of the developer community. We value your input, whether it's submitting an idea, fixing a typo, adding a new guide, or improving an existing one. By contributing, you help make this resource even more valuable for everyone.

    To avoid duplication of efforts, please review the existing issues and pull requests before contributing.

    If you have ideas for new examples or guides, share them on the issues page.

    Table of recipes

    Skills

    Tool Use and Integration

    Third-Party Integrations

    Multimodal Capabilities

    Advanced Techniques

    Additional Resources

    • Anthropic on AWS: Explore examples and solutions for using Claude on AWS infrastructure.
    • AWS Samples: A collection of code samples from AWS which can be adapted for use with Claude. Note that some samples may require modification to work optimally with Claude.

    Discover Repositories

    Search across tracked repositories by name or description