Manage Dub short links and their analytics: list and create links, look up a link, view click stats, and list domains.
95+ deploysclaude mcp add dub --url https://datafaucet.dev/api/mcp/t/dub
Run this command in your terminal · most users connect in under 60s
GET endpoints
dub_list_links
List short links in the workspace. Returns an array with id, domain, key, url (destination), shortLink, and clicks.
https://api.dub.co/links?pageSize=50
dub_get_link
Get a short link by its id. Returns domain, key, url, shortLink, clicks, and createdAt.
https://api.dub.co/links/info?linkId={link_id}
dub_get_link_analytics
Get click analytics for a link over the last 30 days. Returns the total click count for the interval.
https://api.dub.co/analytics?event=clicks&groupBy=count&linkId={link_id}&interval=30d
dub_list_domains
List the custom domains configured in the workspace. Returns each domain's slug and whether it is the primary.
https://api.dub.co/domains
POST endpoints
dub_create_link
Create a short link. Requires url (destination); key optional (custom slug, auto-generated if omitted). Returns the created shortLink and id.
https://api.dub.co/links
Run this in your terminal:
claude mcp add dub https://datafaucet.dev/api/mcp/t/dub
Connect Dub to your AI agent in under 60 seconds. No account required.
{notion_token}) with your real credentialsNeed API keys? Try our free sandbox templates first to see MCP in action with zero setup.
Replace these placeholders with your real values before deploying:
{dub_token}API settings page{key}Your value{link_id}Resource identifier{url}Your valuePreview:
GET https://api.dub.co/links?pageSize=50 Authorization: Bearer {dub_token}
claude mcp add dub --url https://datafaucet.dev/api/mcp/t/dubWhat your AI agent sees
I have access to 5 tools from Dub: dub_list_links, dub_create_link, dub_get_link, and 2 more.
“List short links in the workspace. Returns an array with id, domain, key, url (destination), shortLink, and clicks.”
Calling dub_list_links... Done. Here are the results.
Try these prompts
“Create a short link for this campaign URL with slug 'launch'”
Copy“List my links sorted by clicks”
Copy“How many clicks did link X get in the last 30 days?”
CopyClick any prompt to copy, then paste into your AI client.