MCPcopy Create free account
hub / github.com/anthropics/claude-cookbooks

github.com/anthropics/claude-cookbooks @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
714 symbols 2,222 edges 145 files 452 documented · 63% updated 1d ago★ 48,77679 open issues

Browse by type

Functions 640 Types & classes 67 Endpoints 7
What it actually does AI analysis from the code graph
loading…
README

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 a 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

Capabilities

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.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 431
Method 209
Class 60
Interface 7
Route 7

Languages

Python82%
TypeScript17%
C1%

Modules by API surface

tool_use/tests/test_memory_tool.py35 symbols
tests/notebook_tests/test_notebooks.py27 symbols
claude_agent_sdk/site_reliability_agent/sre_mcp_server.py26 symbols
claude_agent_sdk/utils/html_renderer.py21 symbols
tool_use/utils/visualize.py19 symbols
tests/notebook_tests/utils.py18 symbols
claude_agent_sdk/hosting/kubernetes/gateway/main.py15 symbols
skills/custom_skills/applying-brand-guidelines/validate_brand.py14 symbols
scripts/validate_all_notebooks.py14 symbols
claude_agent_sdk/hosting/kubernetes/gateway/k8s.py14 symbols
capabilities/retrieval_augmented_generation/evaluation/vectordb.py14 symbols
tests/conftest.py13 symbols

Dependencies from manifests, versioned

@anthropic-ai/sdk0.95.1 · 1×
@cloudflare/containers0.0.28 · 1×
@cloudflare/workers-types4.20260301.0 · 1×
@linear/sdk81.0.0 · 1×
@modelcontextprotocol/sdk1.22.0 · 1×
@slack/web-api7.14.0 · 1×
@types/bunlatest · 1×
@types/node22 · 1×
@types/react19 · 1×
@types/react-dom19 · 1×
@vercel/kv3.0.0 · 1×
@vercel/sandbox1.10.0 · 1×

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add claude-cookbooks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page