Skip to main content
Glama
KooLink

koolink

Official
by KooLink

koolink

Shorten any URL to a clean kool.ink/xyz link from your terminal. Free, unlimited, no signup. AI-agent ready.

npx @koolink/koolink https://example.com/very/long/path
# → https://kool.ink/abc123

Install

# one-off (no install)
npx @koolink/koolink https://example.com

# or install globally
npm install -g @koolink/koolink
koolink https://example.com

Related MCP server: url-shortener-mcp

Usage

# Shorten a URL (prints the short link, copies to clipboard on desktop)
koolink https://example.com/very/long/path

# Shorten from stdin (great for piping)
echo "https://example.com" | koolink

# Shorten a batch
cat urls.txt | xargs -I{} koolink {}

Flag

Description

--help / -h

Show help

--version / -v

Show version

Install as an MCP server

Point any MCP client (Claude Desktop, Cursor, Windsurf, etc.) at the hosted MCP server at https://mcp.kool.ink — no API key required for anonymous shortening.

{
  "mcpServers": {
    "koolink": {
      "url": "https://mcp.kool.ink"
    }
  }
}

Tools

This server exposes the following MCP tools:

Tool

Description

Input

shorten_url

Shorten a long URL and return a compact kool.ink short link.

{ "url": "<long-url>" }

  • Free forever — no account, no credit card, no limits

  • Clean, memorable URLskool.ink/xyz, not bit.ly/4xdK9qZ

  • AI-agent ready — same service over MCP at https://mcp.kool.ink, or the REST API

  • Analytics — every link is click-tracked with bot traffic filtered out

  • Creator Earning Programme — as traffic grows, you earn

API

The CLI calls the public anonymous endpoint:

curl -X POST https://kool.ink/api/links \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'

For AI agents, use the MCP server at https://mcp.kool.ink (no API key needed for anonymous shortening).

License

MIT

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that enables users to shorten long URLs into permanent, shareable links using the AceDataCloud API. It supports both single and batch URL shortening directly within MCP-compatible clients like Claude and VS Code.
    4
    1
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    MCP server for opn.onl, the open-source self-hostable URL shortener. Shorten links, read click analytics, generate branded QR codes, and manage links — against the hosted service or your own instance.
    24
    48
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Official MCP server for INBIO's URL shortener with click analytics and customizable QR codes. Enables link shortening, QR code generation, and link management with optional authentication for advanced features.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KooLink/koolink-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server