Updated
How to Use Claude in Shortcuts on iPhone and Mac
By Sindre Sorhus, who makes the AI Actions app
With AI Actions
- Get an API key in the Claude Console. Anthropic bills the API separately from a Claude plan, so you pay for what you use.
- Open AI Actions, open its settings (the first time, tap or click “Set API key (required)”), and paste the key in “Anthropic API Key”.
- In the Shortcuts app, make a new shortcut, and add the “Ask Claude” action of AI Actions.
- Type your prompt, or insert a variable, like the text that the shortcut gets. Expand the action to choose the model, and to add a system prompt, images, or PDFs.
- Run the shortcut. The result, “Claude Reply”, is text that the next action can use.
AI Actions is free. It stores your API key in the keychain, not in the shortcut, so you can share your shortcuts. The action does not remember earlier conversations.
Tips
- “Effort” sets how much Claude thinks, and “Max Output Tokens” limits the length of the reply.
- To get a dictionary, end your prompt with “Return the result as a JSON object. Don’t include any other text than the JSON object.”, and give the result to the “Get Dictionary from Input” action.
- For ChatGPT and other models, see how to use ChatGPT in Shortcuts.
- To keep the key of another API out of a shortcut, use the keychain actions of Actions. Guide
Get AI Actions
AI actions for the Shortcuts app
Free
- Requires
- macOS, iOS, or visionOS 27 or later
- Privacy
- Read the policy
- Updated
- October 2026
- US App Store rating
- 4.6/5 (28 ratings)
Without an app
The Claude app for iPhone has its own “Ask Claude” action, on iOS 18 and later:
It uses the default model of the Claude app, and the messages count for the usage limit of your plan. You can also say “Ask Claude” to Siri. Anthropic
If you have the Claude app and only want an answer in a shortcut, use this. AI Actions is for when you want to choose the model and the other options, or pay for the API and not for a plan.
