URL Shortener
Create short links via Web UI, REST API or MCP tool.
No account required.
/api/shorten
{
"targetUrl": "https://shar.re/long-url",
"expiresAt": "2026-12-31T23:59:59Z"
}
Paste your long URL and get a short link.
Multiple ways to create a short link.
Simple form right in your browser. No installation, get started immediately.
API is usable without API key.
Model Context Protocol for AI assistants like Cursor or Claude.
Three simple steps to a short link.
Paste your long URL into the form or API.
shar.re generates a unique 6-character short code.
Share the short link – it redirects automatically to the target URL.
Create short URLs via HTTP POST. No API key required.
POST /api/shorten
targetUrl and optional expiresAt
curl -X POST https://shar.re/api/shorten \
-H "Content-Type: application/json" \
-d '{"targetUrl":"https://shar.re"}'
Integrate the shorten tool into AI assistants like Cursor or Claude via Model Context Protocol. No API key required.
https://shar.re/mcp
shorten – creates short URLs from targetUrl and optional expirationDate
// Cursor: .cursor/mcp.json
{
"mcpServers": {
"sharre": {
"url": "https://shar.re/mcp"
}
}
}