shorten_url
Shorten a long URL using KooLink and return a compact kool.ink short link. Use this whenever the user wants a shortened URL, a tidy link to share, or a redirect for a long destination.
urlrequiredlabelink.koolPublished by kool.inkOfficial publisherv1.2.0Updated Nov 2, 2026
Shorten any long URL into a clean kool.ink link. Free, unlimited, no signup. AI-agent ready.
KooLink shortens long URLs into kool.ink links and reports view analytics for the user's own links, over a hosted remote MCP endpoint.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/ink.kool%2Furl-shortener/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"koolink-url-shortener": {
"type": "http",
"url": "https://mcp.kool.ink/"
}
}
}Shorten any URL to a clean kool.ink/xyz link from your terminal. Free, unlimited, no signup. AI-agent ready.
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.
This server exposes the following MCP tools:
kool.ink/xyz, not bit.ly/4xdK9qZhttps://mcp.kool.ink, or the REST APIThe CLI calls the public anonymous endpoint:
For AI agents, use the MCP server at https://mcp.kool.ink (no API key needed for anonymous shortening).
MIT
Source: README.md at commit 20db946
Shorten a long URL using KooLink and return a compact kool.ink short link. Use this whenever the user wants a shortened URL, a tidy link to share, or a redirect for a long destination.
urlrequiredlabelGet view analytics for one of the user's own KooLink short links: total and valid (fraud-filtered) views, breakdowns by device, country and referrer, plus a trailing 7-day trend. Use this to answer 'how is my link performing'.
coderequiredList the user's short links with their valid view counts, most recent first. Useful to survey overall link performance or to find a code to dig into with link_stats.
limit100% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
npx @koolink/koolink https://example.com/very/long/path# → https://kool.ink/abc123# one-off (no install)npx @koolink/koolink https://example.com
# or install globallynpm install -g @koolink/koolinkkoolink https://example.com# 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 batchcat urls.txt | xargs -I{} koolink {}{ "mcpServers": { "koolink": { "url": "https://mcp.kool.ink" } }}curl -X POST https://kool.ink/api/links \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com"}'