{
  "markdown": "# koolink\n\nShorten any URL to a clean `kool.ink/xyz` link from your terminal. **Free, unlimited, no signup.** AI-agent ready.\n\n```bash\nnpx @koolink/koolink https://example.com/very/long/path\n# → https://kool.ink/abc123\n```\n\n## Install\n\n```bash\n# one-off (no install)\nnpx @koolink/koolink https://example.com\n\n# or install globally\nnpm install -g @koolink/koolink\nkoolink https://example.com\n```\n\n## Usage\n\n```bash\n# Shorten a URL (prints the short link, copies to clipboard on desktop)\nkoolink https://example.com/very/long/path\n\n# Shorten from stdin (great for piping)\necho \"https://example.com\" | koolink\n\n# Shorten a batch\ncat urls.txt | xargs -I{} koolink {}\n```\n\n| Flag | Description |\n|---|---|\n| `--help` / `-h` | Show help |\n| `--version` / `-v` | Show version |\n\n## Install as an MCP server\n\nPoint 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.\n\n```json\n{\n  \"mcpServers\": {\n    \"koolink\": {\n      \"url\": \"https://mcp.kool.ink\"\n    }\n  }\n}\n```\n\n## Tools\n\nThis server exposes the following MCP tools:\n\n| Tool | Description | Input |\n|---|---|---|\n| `shorten_url` | Shorten a long URL and return a compact kool.ink short link. | `{ \"url\": \"<long-url>\" }` |\n\n## Why KooLink\n\n- **Free forever** — no account, no credit card, no limits\n- **Clean, memorable URLs** — `kool.ink/xyz`, not `bit.ly/4xdK9qZ`\n- **AI-agent ready** — same service over MCP at `https://mcp.kool.ink`, or the REST API\n- **Analytics** — every link is click-tracked with bot traffic filtered out\n- **Creator Earning Programme** — as traffic grows, you earn\n\n## API\n\nThe CLI calls the public anonymous endpoint:\n\n```bash\ncurl -X POST https://kool.ink/api/links \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"url\":\"https://example.com\"}'\n```\n\nFor AI agents, use the MCP server at `https://mcp.kool.ink` (no API key needed for anonymous shortening).\n\n## License\n\nMIT\n",
  "bytes": 1949,
  "sha": "63c360c0961af6f47351dc607e5e10a80dee7907fdd7dd9827670d116b3900e8",
  "repo_slug": "koolink/koolink-cli",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ink_kool_url_shortener_38333245/readme"
}