Is Claude open source?
No. Anthropic does not publish Claude's model weights, and Claude Code ships under an all-rights-reserved license. What is open: the Claude Agent SDK for Python and the Model Context Protocol. If you want an open-source app around Claude, OpenWork is a free, MIT-licensed desktop app that runs Claude with your own key, or any other model.
Updated
- Claude models: weights not published
- Claude Code: all rights reserved
- Open: Python Agent SDK and MCP
- OpenWork desktop app: MIT license
What is open and what is not
A public GitHub repository is not the same as an open-source license. Claude Code has a public repository for issues and releases, and its license file reserves all rights to Anthropic.
| Part | Open source? | License |
|---|---|---|
| Claude models | No | Weights are not published. You use them through Anthropic's apps, its API, or a cloud platform. |
| Claude Code | No | All rights reserved, under Anthropic's Commercial Terms |
| Claude Agent SDK for Python | Yes | MIT |
| Model Context Protocol (MCP) | Yes | Apache-2.0 for new contributions, MIT for older ones |
Sources:Claude Code licenseClaude Agent SDK for Python licenseMCP licenseClaude models overview
Claude for Open Source is a program, not a license
If you searched for Claude for Open Source, you may be looking for Anthropic's program for maintainers. It gives eligible open-source contributors 6 months of Claude Ultra for free. It does not change how Claude is licensed.
- Maintainers and library authors: 500 or more dependent repos, 100 or more dependent packages, or 200,000 or more combined monthly downloads
- Core contributors to a recognized foundation or language project
- Active contributors: 100 or more pull requests merged into repos you don't own in the last 12 months
- Community builders: a repo with 20 or more unique external contributors in the last 12 months
- Critical infrastructure: a repo with an OpenSSF criticality score of 0.4 or above
Sources:Claude for Open Source
An open-source app that runs Claude
You cannot get Claude's weights, but the app around the model can be open. OpenWork is a desktop app for macOS, Windows, and Linux, built on OpenCode, and the desktop app is MIT-licensed. You can read the code, change it, and build it yourself.
- Use Claude with your own Anthropic API key, or through Amazon Bedrock, Google Cloud, or Microsoft Foundry.
- Switch to another model for any chat, including GPT, Gemini, and open-weight models.
- Use the same SKILL.md skills, plugins, and MCP servers you use with Claude.
- Your files stay on your computer. The app sends requests to the model provider you pick.
If you need the model itself to be open
Then Claude is not an option, and you want an open-weight model. OpenWork has a built-in Ollama screen, and works with LM Studio, vLLM, and any server with an OpenAI-compatible API. In our published benchmark, a low-cost model with a one-page skill held quality against Claude Opus 5.5 at 11% of the cost.
Sources:Knowledge-work cost benchmarkHow the benchmark was run
Next steps
Compare OpenWork with Claude Cowork
Use Claude with your own key
Run an open-weight model locally
Get the app
Frequently asked questions
- Is Claude Code open source?
- No. Its repository is public, and its license file reads "All rights reserved" with use subject to Anthropic's Commercial Terms of Service.
- Can I run Claude locally?
- No. Anthropic does not publish the weights. You use Claude through Anthropic's apps and API, or through Amazon Bedrock, Google Cloud, or Microsoft Foundry. For a model that runs on your own hardware, use an open-weight model.
- Is there an open-source alternative to Claude?
- For the app, yes: OpenWork is an open-source desktop app that does the same kind of work and runs any model, including Claude. For the model, pick an open-weight model and run it with Ollama or your own server.
- What is Claude for Open Source?
- Anthropic's program that gives eligible open-source maintainers and contributors 6 months of Claude Ultra for free. You apply on Anthropic's site.
- Is OpenWork fully open source?
- The desktop app is MIT-licensed. The code for teams and enterprise is in the same public repository under the OpenWork EE License, and self-hosting it is free for organizations with up to 5 users.