
URL Shortener API
This is a URL shortening service that generates hash-based short codes or lets you create custom aliases, backed by x402 micropayments. The server connects via SSE to a hosted API at url-shortener.api.klymax402.com, so you're calling a remote service rather than running something local. The GitHub repo is pretty bare, just TypeScript source without much documentation visible. You'd reach for this if you need programmatic URL shortening with payment integration built in, though the details on how x402 micropayments actually work or what they cost aren't clear from the available source. It's a straightforward shortener with an economic layer on top.
- tools
- 8
- transport
- SSE
- last updated
- May 16, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
shorten_urlShorten a long URL into a clean, short link. Supports optional custom slugs, password protection, expiry dates, click limits, and Android/iOS deep linking. The URL is validated for safety before shortening.8 params
Shorten a long URL into a clean, short link. Supports optional custom slugs, password protection, expiry dates, click limits, and Android/iOS deep linking. The URL is validated for safety before shortening.
androidUrlstringapikeystringcustomSlugstringexpiresAtstringiosUrlstringlongUrlstringmaxClicksintegerpasswordstringget_link_detailsGet full details of a previously shortened link by its short code (urlKey). Returns the destination URL, creation date, preview metadata, status, and all settings.2 params
Get full details of a previously shortened link by its short code (urlKey). Returns the destination URL, creation date, preview metadata, status, and all settings.
apikeystringurlKeystringlist_all_linksList all short links created with your API key. Returns an array of links with their details.1 params
List all short links created with your API key. Returns an array of links with their details.
apikeystringupdate_linkUpdate a short link's destination URL, active status, or device routing (Android/iOS URLs). You can only update links you created.6 params
Update a short link's destination URL, active status, or device routing (Android/iOS URLs). You can only update links you created.
androidUrlstringapikeystringiosUrlstringisActivebooleanlongUrlstringurlKeystringdelete_linkPermanently delete a short link. This action cannot be undone. You can only delete links you created.2 params
Permanently delete a short link. This action cannot be undone. You can only delete links you created.
apikeystringurlKeystringpreview_and_verify_urlScan a URL for safety threats, extract page metadata (title, description, image, favicon), check SSL certificate, follow redirects, and detect shortened URLs. Use BEFORE sharing or clicking any unknown link. Returns safety verdict from Google Safe Browsing, domain blacklist st...2 params
Scan a URL for safety threats, extract page metadata (title, description, image, favicon), check SSL certificate, follow redirects, and detect shortened URLs. Use BEFORE sharing or clicking any unknown link. Returns safety verdict from Google Safe Browsing, domain blacklist st...
apikeystringurlstringget_link_analyticsGet click analytics for a short link. Returns total clicks, unique visitors, country breakdown, device breakdown, browser breakdown, and recent click activity with timestamps, locations, and referrers. Use to check if a shared link was clicked.2 params
Get click analytics for a short link. Returns total clicks, unique visitors, country breakdown, device breakdown, browser breakdown, and recent click activity with timestamps, locations, and referrers. Use to check if a shared link was clicked.
apikeystringurlKeystringgenerate_qr_code_urlGet the URL to download a QR code image (PNG) for a short link. The returned URL can be embedded in documents, emails, or web pages. Use when you need a scannable QR code for a previously created short link.3 params
Get the URL to download a QR code image (PNG) for a short link. The returned URL can be embedded in documents, emails, or web pages. Use when you need a scannable QR code for a previously created short link.
apikeystringsizeintegerurlKeystringSponsors
Readme
URL Shortener API
Shorten URLs using hash-based approach. Returns a compact shortened URL. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Quickstart -- MCP
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
{
"mcpServers": {
"url-shortener": {
"url": "https://url-shortener.api.klymax402.com/mcp"
}
}
}
Quickstart -- HTTP (x402)
curl -X POST "https://url-shortener.api.klymax402.com/api/shorten" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
# -> 402 Payment Required, with an x402 payment challenge in the response body
Details
- Repository
- github.com/br0ski777/url-shortener-x402
- Website
- github.com/Br0ski777/url-shortener-x402
- Transport
- SSE
- Registry
- MCP registry, active
More from br0ski777
- User Agent Parser API
- UUID Generator API
- Vector Search API
- Weather API
- Web Search API
- Whale Alert API
- DeFi Yield Finder API
- DNS Lookup API
- Markdown to HTML API
- Web Scraper to Markdown API
- Cron Parser API1
- Hyperliquid Vaults API
- Language Detector API
- PDF Generator API
- QR Code Generator API
- Token Price API
- Address Validator API
- Color Palette Generator API
- Cross-Chain Bridge Route API
- Email Deliverability Audit API
- Email Finder API
- ENS Resolver API
- Event Resolver API
- HTML to Markdown API