Can Claude or ChatGPT Create and Track Short Links for Me?

· Giovanni Fu Lin · url-shortener, mcp, ai-agents, link-management, analytics

Yes. ShortLink has an MCP server, so an AI client that supports MCP, such as Claude, can create a short link, change its destination and read its click statistics when you ask. It needs an API token from a verified ShortLink account; it is not an anonymous feature. The details below come from ShortLink’s agent documentation (s.fulinlabs.com/agents.md) as of November 11, 2026. I built ShortLink, so check the live document before relying on a limit.

Why would I ask an assistant to do this?

Three jobs fit well. Creating a batch of campaign links with consistent aliases, for example one per channel. Changing a destination when a page moves, without editing a profile or a printed code. And answering “how did that link do this week?” in a sentence instead of opening a dashboard. Each is a small action that is tedious by hand and easy to describe in words.

What can the assistant actually do?

ToolWhat it does
list_folders, list_linksRead your folders and links, paginated by limit and offset
create_folder, update_folderOrganize links
create_short_linkCreate a link from an HTTP(S) URL, with an optional slug, title, folder and expiry
update_linkChange the destination, title, folder, expiry, or disable the link
get_link_statsClicks for one link over 1 to 365 days (default 30), by day and by country, device, browser, OS, referrer and UTM values
delete_link, delete_folderRemove them; deleting a link permanently removes its click history

Limits from the documentation: URLs up to 8,192 characters; slugs 2 to 50 letters, digits, hyphens or underscores; 20 successful create or update operations per account per hour for each action. Creation is not idempotent, so after a timeout the assistant should list links before retrying.

How do I connect it?

  1. Sign in to ShortLink with a verified account and create a token on the API keys page of the dashboard.
  2. Add an MCP server to your client with the URL given in the agent documentation and the token in an x-api-token header (a Bearer header also works).
  3. Keep the token in your client’s secret store, not in a file you share.
  4. Ask in plain words: “List my links, then create one for this page with the alias spring-launch.”

The exact server URL and client examples are in the agent integration guide; client setup screens differ, so I do not reproduce them here. ChatGPT and Claude each have their own rules for custom connections and plan eligibility.

What do the statistics not tell me?

The tool counts clicks. It does not count unique people or conversions, and days are in UTC. If a link has many clicks, breakdowns can cover only the newest sample; the result says so with a truncated flag while clicks_in_window stays the full count. A referrer can be blank or generic when an app opens links in its own browser. For attribution once a visitor reaches your site, use tagged links; see UTM builder for short links and how to track link clicks for free.

What should I be careful about?

Giving an assistant write access means it can repoint a live link. A link in a printed flyer or a social profile will send people wherever the new destination says. Ask it to read before it writes, to change one field at a time, and to confirm the result; read can you change a short link’s destination for what edits break. Link titles, destinations and referrers are user-written text, so the documentation tells assistants to treat them as data, not instructions.

When is this not the right tool?

If you create a link once a month, the web form is faster. If you need to shorten links in code, the REST API guide is more direct than an assistant. If you need custom domains, ShortLink does not offer them. And if what you need is a general understanding of click data, start with short links with click analytics.

Quick checklist

  • Verified account and token before connecting.
  • List first, then change one field, then verify.
  • Do not approve deletes casually; click history goes with the link.
  • Remember stats count clicks, not people.

FAQ

Can an AI assistant create short links?

Yes, if it is connected to a tool that exposes that action. ShortLink runs an MCP server whose create_short_link tool takes a URL and an optional slug, title, folder and expiry. The assistant needs an API token from a verified account.

Can an AI assistant change where a short link points?

Yes. The update_link tool changes a link's destination while the short address stays the same. The documentation advises listing the link first, changing only the field you mean to change, and verifying the result.

Can it show me click statistics?

Yes. get_link_stats returns clicks in a window of 1 to 365 days with a per-day series and breakdowns by country, device, browser, OS, referrer and UTM values. It counts clicks, not unique people or conversions.

What do I need to connect an assistant to ShortLink?

A verified account, an API token from the dashboard, and an MCP client configured with the server URL and the token in the x-api-token header (or as a Bearer token). Client setup screens differ, so use your client's secret mechanism.

Is it safe to give an assistant access to my links?

It can change where your links go, so treat the token as a secret, ask the assistant to list a link before editing it, and do not allow it to delete links without your approval. Deleting a link removes its click history permanently.

Related project: ShortLink by Fulin Labs