Skip to main content
In Claude Science in Claude, Claude runs code in the cloud by default to analyze data and make files. It can also run code on your own computer through the Claude desktop app, or on your own compute, such as an HPC cluster, when you connect it. For how this works in any chat, see Create and edit files with Claude.
For the Claude Science desktop app, see its tools and environments.

Languages and packages

Claude writes and runs code, such as Python and shell commands. Common scientific packages are ready to use, such as NumPy, pandas, SciPy, and Matplotlib. To check for a package, ask Claude in a chat. Claude can install more Python packages if Use the internet while making files (in some accounts, Allow network egress) is on. On Team and Enterprise plans, an Owner controls this setting. On your own computer, code can download Python packages but can’t reach other websites. Steps that need R or conda run in the cloud. Code doesn’t run in Incognito chats.

Data between steps

While Claude works, it keeps your data loaded from one step to the next, so you can build on earlier results and try new ideas without waiting for large files to load again. When a chat is idle, data loaded in memory may be cleared, and Claude can load it again. Data stays loaded longer when code runs on your own computer.