/ 目錄 / 演練場 / Anthropic Cookbook
● 官方 Anthropic ⚡ 即開即用

Anthropic Cookbook

作者 Anthropic · anthropics/cookbook

Official Anthropic Cookbook — production-ready notebook recipes for the Claude API.

Official Anthropic Cookbook — production-ready notebook recipes for the Claude API.

即時演示

實際使用效果

anthropic-cookbook.replay ▶ 就緒
0/0

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "anthropic-cookbook": {
      "command": "npx",
      "args": [
        "-y",
        "anthropic-cookbook"
      ]
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "anthropic-cookbook": {
      "command": "npx",
      "args": [
        "-y",
        "anthropic-cookbook"
      ]
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "anthropic-cookbook": {
      "command": "npx",
      "args": [
        "-y",
        "anthropic-cookbook"
      ]
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "anthropic-cookbook": {
      "command": "npx",
      "args": [
        "-y",
        "anthropic-cookbook"
      ]
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "anthropic-cookbook",
      "command": "npx",
      "args": [
        "-y",
        "anthropic-cookbook"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "anthropic-cookbook": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "anthropic-cookbook"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add anthropic-cookbook -- npx -y anthropic-cookbook

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Anthropic Cookbook

Get started with Anthropic Cookbook

何時使用: When you want to bring Anthropic Cookbook into your Claude workflow.

步驟
  1. Install the skill in your client (see Install tab).
  2. Authenticate or configure required tokens.
  3. Ask Claude to use the new tools.
    Use Anthropic Cookbook to help me with a task.✓ 已複製

結果: Claude can interact with Anthropic Cookbook directly from your IDE.

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills