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

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.

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

Connected in three steps

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

1

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

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

Ask your agent

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

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:

claude mcp add --transport http useclick https://useclick.io/api/mcp \
  --header "Authorization: Bearer uc_live_YOUR_API_KEY"

Cursor

Add to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "useclick": {
      "url": "https://useclick.io/api/mcp",
      "headers": {
        "Authorization": "Bearer uc_live_YOUR_API_KEY"
      }
    }
  }
}

VS Code and other JSON clients

Most clients that support remote MCP servers accept this shape:

{
  "mcpServers": {
    "useclick": {
      "type": "http",
      "url": "https://useclick.io/api/mcp",
      "headers": {
        "Authorization": "Bearer uc_live_YOUR_API_KEY"
      }
    }
  }
}

Claude API (MCP connector)

Building your own agent? Pass the server directly in the Messages API:

{
  "model": "claude-sonnet-5",
  "max_tokens": 1024,
  "messages": [{"role": "user", "content": "List my top links this week"}],
  "mcp_servers": [
    {
      "type": "url",
      "url": "https://useclick.io/api/mcp",
      "name": "useclick",
      "authorization_token": "uc_live_YOUR_API_KEY"
    }
  ]
}

Hermes, OpenClaw and other AI harnesses

Harnesses and agents that speak stdio MCP connect through the mcp-remote bridge:

{
  "mcpServers": {
    "useclick": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://useclick.io/api/mcp",
        "--header",
        "Authorization: Bearer uc_live_YOUR_API_KEY"
      ]
    }
  }
}

Seven 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

list_links

List your links with click counts, pagination and campaign filtering

get_link

Get the details of one link by its slug

update_link

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

delete_link

Permanently delete a link and its click history

get_link_analytics

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

get_account_info

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

See the full tool reference in the docs

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, keeps location data at country level 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.

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.

Nine 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 stays at country level, no cookies are set and no personal data is collected. Your agent queries aggregated numbers, not visitor profiles.