softvoyagers/linkshrink-api-mcp
MCP server for LinkShrink (linkshrink.dev) — shorten URLs, get analytics, and unshorten links from Claude, Cursor, and any MCP-compatible AI assistant
Platform-specific configuration:
{
"mcpServers": {
"linkshrink-api-mcp": {
"command": "npx",
"args": [
"-y",
"linkshrink-api-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://www.npmjs.com/package/linkshrink-mcp) [](https://linkshrink.dev) [](https://linkshrink.dev/health)
Integrate LinkShrink into Claude, Cursor, VS Code, and any MCP-compatible AI assistant. Shorten URLs, retrieve click analytics, resolve shortened links, bulk shorten, and build UTM-tagged campaign URLs — all through natural language.
No API key required. Free forever.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"linkshrink": {
"command": "npx",
"args": ["-y", "linkshrink-mcp"]
}
}
}Then ask Claude:
> "Shorten https://example.com/very/long/path/to/resource"
> "Get click stats for code abc123"
> "Unshorten https://bit.ly/3xYz"
| Tool | Description | |------|-------------| | shorten_url | Shorten a URL with optional password protection, private stats, and preview page | | get_url_stats | Get click statistics for a shortened URL (clicks, referrers, countries, daily breakdown) | | unshorten_url | Resolve any shortened URL to its original destination with full redirect chain | | bulk_shorten | Shorten multiple URLs at once in a single request | | shorten_with_utm | Build UTM-tagged campaign URL and shorten it for marketing attribution |
Claude / Cursor / VS Code
|
| stdio (MCP protocol)
v
linkshrink-mcp
|
| HTTPS (REST API)
v
linkshrink.devThis is a thin stdio MCP client that translates tool calls into REST API requests against the LinkShrink API at https://linkshrink.dev. No data is stored locally — all operations are stateless pass-throughs.
| Environment Variable | Default | Description | |---------------------|----
Loading reviews...