iOS developers
Create haptics with Claude and ChatGPT
Connect Haptrix to Claude or ChatGPT to design haptic feedback, preview a pattern, export AHAP and Swift, and try it on your iPhone.
Describe a feeling, see the pattern, then try it on your iPhone. Haptrix connects an AI conversation to a haptic editor: your assistant drafts the pattern, Haptrix checks it, and you can keep refining it in chat or in the app.
Use it to explore haptic feedback for an iOS button, a game engine starting, a reward or a chain falling on the floor. The result can be an Apple AHAP file, accompanying audio and Swift code for Core Haptics.
Note
Add Haptrix as a custom connector using the details below. No Haptrix sign-in is needed. Directory listings are announced separately.
From a description to a haptic
- Connect Haptrix in your assistant using the setup below.
- Describe what you want to feel. Ask for an animated preview and, if needed, a matching sound.
- Open the result in Haptrix on a compatible iPhone, play it, then adjust the pattern or export it for your app.
You do not need to know tool names or write AHAP by hand. For example:
Use Haptrix to create a haptic for a chain falling on the floor, and add a matching sound. Show me the preview and a link to try it on my iPhone.
Haptrix uses MCP, the Model Context Protocol, to give the assistant tools for checking, previewing and exporting haptics. Your assistant creates the draft; Haptrix validates it with the shared core used by its editor and website. Sound generation depends on the tools available to your assistant.
How to create haptics with Claude
Connect Haptrix
Use these connection details:
Name: Haptrix
Server URL: https://mcp.haptrix.com/mcp
Authentication: No sign-in
In Claude, open Customize → Connectors, choose Add custom connector, and enter the name and URL above. Continue through the connection settings, choose No sign-in, and add it. In a conversation, use the + menu’s Connectors option to enable Haptrix.
A managed workspace may need its owner or administrator to add the connector first. These steps follow Anthropic’s custom connector instructions, checked on 17 November 2026. Account permissions and screen labels can change.
Make your first pattern
Start with an interaction you already understand:
Use Haptrix to create a short confirmation haptic for a save button: two gentle taps, with the second slightly stronger. Show me the preview and let me open it on my iPhone.
Then describe a change:
Make the second tap softer and leave a little more space between them.
Review any tool approval Claude presents. An animated preview or upload creates temporary data on Haptrix; it does not publish your pattern to the community library.
How to create haptics with ChatGPT
Note
Tested with Haptrix Dev in ChatGPT on 17 November 2026: creating and revising a pattern, uploading generated audio, playing the inline preview, and returning AHAP and Swift files. Available tools and network permissions depend on your account. Use the browser preview if an inline player is not shown.
On ChatGPT’s website, open Plugins, use the + button and choose Add custom MCP server. Name it Haptrix, enter the same server URL above, and select No authentication. Review the connection warning, create the plugin, and connect or install it when prompted. Choose Try in chat on its plugin page. You can also start a new Work chat, type @ and select Haptrix.
Workspace permissions may restrict custom servers. See OpenAI’s custom MCP server instructions, checked on 17 November 2026, and plugin quickstart for the current setup and access requirements.
Once connected, try:
Use Haptrix to create an engine-start haptic: four ignition taps, a rising rumble, then a steady idle. Show an animated preview and export the AHAP and Swift for my iOS game.
Ask for a softer, shorter or more gradual version in the same conversation. Play the result on an iPhone before deciding whether it feels right.
Use Haptrix in Claude Code
Add the hosted server from your terminal:
claude mcp add --transport http haptrix https://mcp.haptrix.com/mcp
Run claude mcp list to inspect the connection; inside a session, /mcp shows your servers. Then ask Claude Code to create a pattern, check it with Haptrix and save the returned AHAP and Swift into your project. Anthropic’s MCP reference covers scopes and connection options.
Preview it, then feel it on your iPhone
The preview shows the rhythm of taps, continuous events and curves. In supported chat clients it appears inside the conversation; the browser preview link opens the same player separately.
On your iPhone, choose Open in Haptrix from the preview. A version of Haptrix that supports preview imports opens the pattern and its attached audio in the editor. Press Play when you are ready. If you are on a computer, scan the preview’s QR code with your phone first.
If the chat client opens a browser instead of the app, use the app button on that page. If your installed app does not support this handoff, use the downloaded files and Haptrix’s Import option. A haptic-only pattern needs its AHAP; a pattern with attached sound also needs its audio files.
The browser cannot play the full Core Haptics pattern through your iPhone’s haptic hardware. The animation shows the rhythm. With attached audio the preview plays your sound file; otherwise it offers labelled illustrative sound. Haptrix on a supported iPhone is where you feel the pattern. A valid file still needs that physical check.
Once it is open, you can move taps, change intensity and sharpness, or reshape a curve in the editor. See designing haptics without writing code and playing on a paired iPhone for the next steps.
Add matching sound to your haptic
Ask for both in ordinary language:
Create a ball-bounce haptic and a matching sound. Make each bounce quieter and closer together, then show me the Haptrix preview.
The assistant must attach the actual audio file. A file shown elsewhere in your conversation does not automatically become part of the haptic. The preview labels included audio by filename; check that label before importing.
Supported attachments are PCM16 WAV files, up to four files and 1 MiB combined, within a pattern of at most 30 seconds. Haptrix scans and validates uploads before making them available to previews or exports. Sound generation is supplied by your assistant, not by Haptrix.
If Claude’s file environment cannot reach Haptrix, it may offer a browser upload page where you choose the original WAV. A permitted account can instead allow mcp.haptrix.com in Claude’s file-generation network settings; workspace policy may control this. Adding a connector alone does not grant that separate network access.
A haptic-only preview uses labelled illustrative sound. A preview with attached audio plays that file; if it cannot load the attachment, it stays silent and says so rather than playing a replacement.
Export AHAP and Swift for your app
Ask for an AHAP file, Swift that builds the pattern, and a playback example. With attached sound, download the package containing the AHAP and its audio assets together. An AHAP references those files; it does not embed their audio bytes.
Keep the audio assets with the pattern and include them in your Xcode project when using the exported code. The playback example checks hardware support and manages the Core Haptics engine. Test on a supported physical iPhone; the Simulator cannot reproduce the haptic.
AHAP files explained covers the format, and Core Haptics beyond UIFeedbackGenerator explains when a custom pattern is useful.
Your drafts and privacy
Preparing or exporting a pattern does not publish it. Creating a preview stores the draft and any attached sound temporarily, with a link anyone can use until it expires. Treat that link and its QR code like access to your draft; they are separate from your private Haptrix account library.
Haptrix counts valid draft revisions, previews and exports separately to understand usage. It does not save your conversation as part of those counts. See the privacy policy for temporary storage, audio scanning, retention and your assistant provider’s role.
Common questions
Do I have to write code to create a haptic?
You can describe it in chat and edit it visually in Haptrix. Exported AHAP and Swift are there when you want to integrate the result into your own app.
Can I feel the haptic inside Claude or ChatGPT?
The inline card is a web player, not a Core Haptics player. Use its app handoff on a compatible iPhone to feel the pattern. The conversation itself cannot tell you how it feels.
Why does Claude show an old preview or only a file?
In Claude’s Haptrix connector settings, use Refresh tools list, then request a fresh preview. Existing cards can retain an older player. If you asked for files only, ask for a preview and an iPhone link as well.
What happens when a preview link expires?
Preview links last one hour and anyone with the link can read them during that time. Ask for a fresh preview or keep your downloaded files. Link expiry prevents further access; storage cleanup is asynchronous, not an instant deletion promise. Creating a preview or uploading audio stores temporary data. Your chat remains subject to your assistant provider’s policies.
Is Haptrix listed in the Claude or ChatGPT directory?
Add Haptrix as a custom connector using the instructions above. Directory availability will be announced separately. If you cannot connect, check the full URL and authentication setting first, then contact Haptrix with the error you see.
Can I download community patterns through the connector?
You can search the library and open a haptic’s page. The MCP returns community details and page links, not their pattern files. Follow the download and licence information on the pattern’s page.
More to read
Design haptics in Haptrix
Design, edit and publish haptics on Mac, iPad and iPhone.
New articles by email
Email updates are not switched on yet.