{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/5"}],"enrichment":{"capability":"Python SDK for querying Claude Code and building interactive agents with custom tools and hooks, now deprecated in favor of claude-agent-sdk.","skillfed_tags":["deprecated","async-sdk","mcp-tools"],"use_cases":["Query Claude Code for code generation or analysis tasks via a simple async interface.","Build interactive agents that maintain bidirectional conversation state with Claude Code.","Define custom tools as Python functions and expose them to Claude via in-process MCP servers.","Implement hooks to intercept and validate tool use (e.g., blocking unsafe bash commands before execution).","Migrate from external MCP server processes to in-process tool definitions for simpler deployment."],"what_it_does":"Claude Code SDK is a Python wrapper for querying Claude Code, an AI agent that can read, write, and execute code. It provides both a simple async query interface and a more advanced client for bidirectional conversations with custom tools and lifecycle hooks. The package depends on anyio for async I/O, mcp for Model Context Protocol support, and typing-extensions for type hints.\n\nThe SDK is officially deprecated and no longer maintained; Anthropic recommends migrating to claude-agent-sdk. It supports Python 3.10 through 3.13 and is distributed as a pure wheel with low install friction. While the repository remains active and has accumulated significant GitHub stars, new projects should use the successor package.","worth_installing":"No\u2014the package is officially deprecated and no longer maintained. Install claude-agent-sdk instead. If you have an existing codebase using claude-code-sdk, plan a migration to the successor package rather than starting new projects with this one."},"id":"claude-code-sdk","links":{"html":"https://skillfed.io/packages/claude-code-sdk","md":"https://skillfed.io/packages/claude-code-sdk.md","pypi":"https://pypi.org/project/claude-code-sdk/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-29","license_spdx":null,"license_treatment":"permissive","name":"claude-code-sdk","python_support":"supports_current","summary":"Python SDK for Claude Code"},"popularity":{"monthly_downloads":624903,"position":5698,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.25"}
