# 1p.io - URL Shortener > 1p.io is a free URL shortening service with click analytics, QR code generation, and API/MCP access for AI agents. ## Features - Instant URL shortening - Click analytics and statistics - QR code generation (PNG/SVG) - REST API for programmatic access - MCP (Model Context Protocol) server for AI agents ## API - REST endpoint: `POST https://1p.io/api/shorten` - MCP endpoint: `POST https://1p.io/api/mcp` (JSON-RPC 2.0) - OpenAPI spec: `https://1p.io/api/openapi` ## Authentication - **Guest mode:** No API key needed, 3 links/day limit per IP - **Authenticated:** Unlimited access with Bearer token - Get your API key at: https://1p.io/profile ## MCP Setup For Claude Code/Desktop/Cursor, add to MCP config: ```json { "mcpServers": { "1p-io": { "url": "https://1p.io/api/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } ``` ## Links - Website: https://1p.io - API Docs: https://1p.io/api/openapi - Privacy: https://1p.io/privacy - Terms: https://1p.io/terms