Legal Analysis: Who Owns AI-Generated Code from Claude, Cursor

Original: Who owns the code Claude Code wrote?

Why This Matters

Clarifies uncertain legal landscape for AI-assisted software development

Legal analysis examines copyright ownership of AI-generated code from tools like Claude Code, Cursor, and Codex. Current US copyright law requires human authorship, making predominantly AI-generated code potentially uncopyrightable and in public domain.

Following Anthropic's accidental publication of 512,000 lines of Claude Code source code in March 2026, legal questions emerged about AI-generated code ownership. The US Copyright Office maintains that copyright only protects human-created work, upheld by the DC Circuit in Thaler case. Supreme Court's cert denial in March 2026 left this position intact. The analysis identifies three ownership factors: whether humans made sufficient creative decisions for copyright protection, employment contract assignments, and potential GPL contamination from training data. Code generated by AI tools without meaningful human modification may be uncopyrightable, offering no legal protection against copying. The 'meaningful human authorship' standard determines copyright eligibility, though no court has specifically applied this doctrine to AI coding tools.

Source

legallayer.substack.com — Read original →