Integration · Marketing
Connect Claude & ChatGPT to Dub
Ask your AI to make a short link for a campaign, which links got the most clicks, or what a partner has earned. It can create, update and organize short links with tags, folders and UTM parameters, pull click, lead and sale analytics and list events. It can also make QR codes and read customers, partners, commissions and payouts.
Free plan, no credit card. Takes about a minute.
Try asking
“Make a short link to our pricing page with utm_source=newsletter.”
The AI creates the short link with the UTM parameters and returns the short URL.
“Which links got the most clicks last 30 days?”
It pulls analytics grouped by top links over that interval.
“Where do the clicks on our launch link come from?”
It reads the link's analytics grouped by country and device.
What your AI can do
Short links
Create, update, count and delete short links with custom domains, keys, UTM parameters, tags, folders, expiry and passwords.
Analytics and events
Pull click, lead and sale analytics by link, country, device or time, and list individual events.
Partners and customers
Add and list partners, read partner analytics, commissions and payouts, and look up tracked customers.
“Point go.example.com/demo to the new booking page.”
It finds the link and updates its destination URL.
“Make a QR code for our menu link.”
It creates a QR code image for the URL, with colors if you want.
“What are the pending payouts for our partners?”
It lists partner payouts filtered by status.
23 tools for Dub
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
count_linksCount short links, optionally filtered by domain, tags, folder or `search`, or grouped with `group_by`.create_folderChanges dataCreate a link folder with `name`, `description` and `access_level`.create_linkChanges dataCreate a short link to `url`, with optional custom `domain` and `key`, `tag_ids`, `folder_id`, UTM parameters, expiry, password and title.create_partnerChanges dataAdd a partner to your program with `email`, `name` and optional group and link settings.create_tagChanges dataCreate a link tag with `name` and optional `color`.delete_linkDeletesPermanently delete a short link by `link_id`. The short URL stops working.get_analyticsGet click, lead and sale analytics, filtered by link, domain, tag, country and date, grouped with `group_by` (e.g. timeseries, countries, devices, top_links) over an `interval`.get_customerGet one customer by `customer_id`.get_linkGet one short link by `link_id`, `external_id` or `domain` plus key, with destination, tags and click counts.get_partner_analyticsGet analytics for a partner by `partner_id` or `tenant_id`, grouped with `group_by` over an `interval`.get_qr_codeGet a QR code image for a `url`, with optional colors, logo and margin.list_commissionsList partner commissions, filtered by partner, customer, `status`, `type` and date.list_customersList customers tracked by Dub conversions, filtered by `email`, `external_id`, `link_id` or `search`.list_domainsList the custom domains in the workspace.list_eventsList individual click, lead or sale events (`event`), filtered by link, domain, country and date; paginate with `page` and `limit`.list_foldersList link folders, filtered by `search`.list_linksList short links, filtered by `search`, `domain`, `tag_ids`, `folder_id` or `show_archived`; paginate with `page` and `limit`.list_partnersList affiliate partners in your program, filtered by `search`, `email`, `status` or `country`.list_payoutsList partner payouts, filtered by `status`, partner or invoice.list_tagsList link tags, filtered by `search`.update_folderChanges dataUpdate a folder's name, description or access level by `folder_id`.update_linkChanges dataUpdate a short link by `link_id`: destination `url`, key, tags, folder, UTM parameters, expiry or archived state.update_tagChanges dataUpdate a tag's name or color by `tag_id`.
Set up in three steps
- 1
Pick the app
Create a free PipMCP account and choose Dub from the app list.
- 2
Paste your key
Paste a Dub API key. In your Dub workspace go to Settings > API Keys (app.dub.co/settings/tokens), create a key and copy it. It starts with dub_ and is tied to one workspace.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
- Click your name, then Settings › Connectors › Add custom connector.
- Paste your link as the Remote MCP server URL.
- Switch it on from the + menu in a chat.
Questions
What can the AI do in Dub?
It can read and count short links, analytics, events, domains, tags, folders, customers, partners, partner analytics, commissions and payouts, and make QR codes. It can create and update links, tags and folders, add partners and delete links.
Does the AI see my Dub credentials?
No. Your Dub credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on, so you can start with analytics only. Deleting a link is permanent and the short URL stops working, so it can require your approval before it runs. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Dub account.
Can I use more than one Dub workspace?
Each Dub API key is tied to one workspace, so the AI works in the workspace whose key you paste. To work in another workspace, you need an API key created in that workspace.
Let your AI work in Dub today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Dub freePipMCP is not affiliated with Dub. Product names are trademarks of their owners.






