# KooLink URL Shortener [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/KooLink/koolink-cli  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/koolink-url-shortener

## Description
Shorten any long URL into a clean kool.ink link. Free, unlimited, no signup. AI-agent ready.

## Tools
Capabilities this server exposes over MCP:

- **shorten_url** — Shorten a long URL and return a compact kool.ink short link.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "koolink-url-shortener": {
    "command": "npx",
    "args": ["-y","@koolink/koolink"]
  }
}
```

## Documentation & README

# koolink

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

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

## Install

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

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

## Usage

```bash
# 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.

```json
{
  "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>" }` |

## Why KooLink

- **Free forever** — no account, no credit card, no limits
- **Clean, memorable URLs** — `kool.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:

```bash
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

