Provides a minimal, extensible Python library for URL shortening, supporting both built-in and custom providers, with an optional MCP server for LLM integration.
Shortl acts as a simple SDK for URL shortening. You provide a URL and a provider; shortl forwards the request to the provider and returns the shortened URL. It is designed to be lightweight, fast, and easy to extend. It supports popular built-in providers like is.gd and TinyURL, and allows users to register their own custom shortening logic. Additionally, it can be exposed as a Model Context Protocol (MCP) server, enabling seamless integration with Large Language Models and various automation workflows for on-demand URL shortening.