URL Shortener MCP

The URL shortener your AI agent can use

useClick includes a remote MCP server that turns short links and click analytics into tools for AI agents. Connect Claude, Cursor, VS Code or your own agent in a minute, then create links, manage campaigns and query your stats in plain language.

  • Remote MCP, nothing to install
  • Works with every MCP client
Free plan included
URL Shortener MCP

Eleven tools for links and analytics

Once connected, your agent can manage the full lifecycle of your short links and read your click analytics.

create_short_link

Create a short link with custom slug, title, campaign, UTM parameters, expiration and click limit

get_link_analytics

Aggregated analytics: totals, unique visitors, countries, browsers, devices, referrers and daily trends

list_links

List your links with click counts, pagination and campaign filtering

update_link

Update destination URL, title, campaign, expiration or click limit

get_account_info

  • get_link

    Get the details of one link by its slug

  • delete_link

    Permanently delete a link and its click history

  • list_websites

    List the websites you track with useClick Website Analytics (Starter and up)

  • get_website_analytics

    Website traffic: page views, unique visitors, top pages, referrers, UTM sources and daily trends

  • get_custom_events

    Your plan, feature availability, usage limits and API rate limit

Connected in three steps

The MCP server uses the same API keys as the REST API, available on every plan including Free.

  1. Step 01

    Get your API key

    Sign in and create a key in your dashboard under API Keys. Keys look like uc_live_ and work for both the REST API and the MCP server.

  2. Step 02

    Add the server to your client

    Point your AI client at the endpoint with your key as a bearer token. Copy-paste configs for the most popular clients are below.

  3. Step 03

    Ask your agent

    Request a new short link or your click stats. The agent picks the right tool automatically, no commands to learn.

One endpoint, every agent

The useClick MCP server runs at a single remote endpoint over Streamable HTTP. Authenticate with an API key as a bearer token. There is nothing to install, host or update.

https://useclick.io/api/mcp
Streamable HTTPBearer uc_live_…

Setup for your client

Copy the config for your tool and replace uc_live_YOUR_API_KEY with your key.

Claude Code

One command in your terminal:

bash
claude mcp add --transport http useclick https://useclick.io/api/mcp \
  --header "Authorization: Bearer uc_live_YOUR_API_KEY"
More clients in the MCP documentation: Codex CLI, stdio bridges and more

Talk to your links

Things you can ask your AI assistant after connecting:

  • “Create a short link for https://mysite.com/launch with the slug product-launch”

  • “How many clicks did my links get in the last 7 days, and from which countries?”

  • “Which of my links performed best this month?”

  • “Create 3 short links for my newsletter campaign with UTM source newsletter”

  • “Show me the daily click trend for the link black-friday over the last 30 days”

Privacy-first analytics

Analytics your agent can query, without tracking people

useClick never stores IP addresses, limits location data to country, region and city (never GPS) and works without cookies. Your agent gets the numbers it needs while your visitors stay anonymous.

  • No IP addresses stored

    Clicks are counted with anonymous SHA-256 fingerprints. GDPR-friendly by design.

  • Scoped access

    The agent only sees links belonging to your account or organization. Revoke access anytime by deleting the API key.

  • Plan limits enforced

    The MCP server respects the same feature gates and rate limits as the REST API.

Built for AI-first workflows

Wherever an agent touches links, useClick gives it real tools instead of copy-paste.

  • Agent builders

    Add link shortening and click analytics to your own agent with one MCP endpoint. No SDK, no webhook plumbing.

  • Marketers with AI assistants

    Ask Claude to create campaign links with UTM parameters and report which channels convert, right from your chat.

  • Automation and no-code teams

    Wire link creation into AI workflows. Every generated link is tracked and reportable from day one.

FAQ

Frequently Asked Questions

A URL shortener MCP server exposes link shortening and click analytics as tools that AI assistants can call through the Model Context Protocol. Instead of copying links into a dashboard, you ask your agent to create, update or analyze short links and it uses the tools directly. useClick runs a remote MCP server at useclick.io/api/mcp that works with any MCP-compatible client.

Create an API key in your useClick dashboard, then run one command in Claude Code: claude mcp add --transport http useclick https://useclick.io/api/mcp with your key as an Authorization header. Claude can then create short links and answer analytics questions for your account.

Every client that supports remote MCP servers over Streamable HTTP: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, OpenAI Codex CLI and the Claude API MCP connector. AI harnesses like Hermes and OpenClaw, and any other agent that only speaks stdio, connect through the mcp-remote bridge and can use your links and analytics in their skills, automations and reports.

Eleven tools cover the full link lifecycle and website traffic: create short links with custom slugs, UTM parameters and expiration, list and update existing links, delete links, read aggregated click analytics with country, device and referrer breakdowns, query cookie-free website analytics for your tracked sites, and check your account plan and limits.

Yes. API keys and MCP access are included on every plan, including the Free plan. Rate limits scale with your plan, from 100 requests per minute on Free to 3,000 on Business. Analytics queries have a daily quota per plan, from 25 per day on Free to 5,000 on Business, with results cached for five minutes so repeated queries are free.

useClick uses privacy-first analytics: no IP addresses are stored, location is limited to country, region and city (never GPS), no cookies are set and no personal data is collected. Your agent queries aggregated numbers, not visitor profiles.

Why all three, together

Your audience moves between links, bio and website. Now you can follow them.

A shortener, a bio tool and an analytics script each see one piece of the story. useClick runs all three in one account. When a short link brings someone to your site, the signup or sale they complete there is credited to that link.

  • Know which channel really works
  • Three tools, one account
  • Count everyone, skip the banner
  • Replace three subscriptions

Give your AI agent a link shortener

Create a free account, generate an API key and your agent is creating tracked short links in under a minute.