Introducing the analysis tool in Claude.ai
Claude can now write and run JavaScript code directly in Claude.ai through the analysis tool, enabling precise data analysis and real-time insights with mathematically accurate results.

Learn how teams at NBIM, Brex, and more build reliable AI agents with Claude on AWS Bedrock.
Learn how teams at NBIM, Brex, and more build reliable AI agents with Claude on AWS Bedrock.
Learn how teams at NBIM, Brex, and more build reliable AI agents with Claude on AWS Bedrock.
Claude can now write and run JavaScript code directly in Claude.ai through the analysis tool, enabling precise data analysis and real-time insights with mathematically accurate results.
We're introducing the analysis tool, a new built-in feature for Claude.ai that enables Claude to write and run JavaScript code. Claude can now process data, conduct analysis, and produce real-time insights. The analysis tool is available for all Claude.ai users in feature preview.
Think of the analysis tool as a built-in code sandbox, where Claude can do complex math, analyze data, and iterate on different ideas before sharing an answer. The ability to process information and run code means you get more accurate answers—building on Claude 3.5 Sonnet’s state-of-the-art coding and data skills.
When you need precise, verifiable answers from data, Claude now works more like a real data analyst. Instead of relying on abstract analysis alone, it can systematically process your data—cleaning, exploring, and analyzing it step-by-step until it reaches the correct result.
While Claude could always write code, it can now run that code within Claude.ai to support all types of analysis tasks. With the analysis tool, you get answers that are not just well-reasoned, but are mathematically precise and reproducible.
The analysis tool in Claude.ai can expand capabilities across teams. For example:
You can turn on the analysis tool feature preview by logging into Claude.ai. To manage all feature previews, click on your name in the bottom left corner.
Get the developer newsletter
Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.
Get the developer newsletter
Product updates, how-tos, community spotlights, and more. Delivered monthly to your inbox.