Price Per TokenPrice Per Token
URL2QR

URL2QR

by guangxiangdebizi

GitHub 4 24 uses Remote
0

About

URL2QR converts URLs into scannable QR codes with shareable download links. Generate codes for websites, apps, forms, and digital content to streamline distribution across print materials, packaging, signage, and events. Key features of URL2QR: - Convert any URL to a QR code image with customizable error correction levels and dimensions - Receive HTTP download links for generated QR codes - Support for streamable HTTP transport protocol - Optional hosted remote service available for immediate use without installation - Compatible with Claude Desktop and other MCP-compatible AI assistants

README

🔗 URL2QR MCP Server

[](https://www.npmjs.com/package/@xingyuchen/url2qr-mcp) [](LICENSE) [](https://modelcontextprotocol.io)

A powerful MCP (Model Context Protocol) server that converts URLs into QR codes with downloadable links. Built with Express and TypeScript, providing seamless integration with AI assistants like Claude.

[](https://smithery.ai/server/@guangxiangdebizi/url2qr-mcp)

✨ Features

  • 🔗 URL to QR Code Conversion - Transform any URL into a scannable QR code
  • 📥 Downloadable Links - Get HTTP download links for generated QR codes
  • ⚙️ Customizable Options - Control error correction level and image size
  • 🚀 Streamable HTTP - Modern MCP transport protocol support
  • 🌍 Remote Service Available - Use our hosted service at http://47.79.147.241:3055/mcp
  • 🔌 Easy Integration - Works with Claude Desktop and other MCP clients
  • 🎨 Clean API - RESTful endpoints for health checks and file serving
  • 📦 Installation

    Installing via Smithery

    To install URL2QR automatically via Smithery:

    npx -y @smithery/cli install @guangxiangdebizi/url2qr-mcp
    

    Via npm (Global)

    npm install -g @xingyuchen/url2qr-mcp
    

    Via npm (Local Project)

    npm install @xingyuchen/url2qr-mcp
    

    From Source

    git clone https://github.com/guangxiangdebizi/URL2QR-MCP.git
    cd URL2QR-MCP
    npm install
    npm run build
    

    🚀 Quick Start

    Option 1: Use Remote Service (Recommended for Quick Testing) 🌍

    No installation needed! We provide a hosted service for immediate use:

    Add to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json):

    {
      "mcpServers": {
        "url2qr": {
          "type": "streamableHttp",
          "url": "http://47.79.147.241:3055/mcp",
          "timeout": 600
        }
      }
    }
    

    That's it! You can now use the QR code generation tool without running your own server.

    Tip: When self-hosting on a public server, remember to set the PUBLIC_BASE_URL environment variable so that generated download links use your public domain instead of localhost.

    Option 2: Run Your Own Local Server

    #### 1. Start the Server

    # If installed globally
    url2qr-mcp

    If installed locally or from source

    npm start

    For development

    npm run dev

    The server will start on http://localhost:3000 by default.

    #### 2. Configure MCP Client

    Add to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json):

    {
      "mcpServers": {
        "url2qr": {
          "type": "streamableHttp",
          "url": "http://localhost:3000/mcp",
          "timeout": 600
        }
      }
    }
    

    3. Use the Tool

    In Claude Desktop or any MCP-compatible client:

    Convert https://github.com to a QR code
    

    The AI will use the url_to_qrcode tool and provide you with a download link!

    🔧 API Reference

    Tool: url_to_qrcode

    Converts a URL into a QR code image.

    Parameters:

    | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | url | string | ✅ Yes | - | The URL to convert into a QR code | | errorCorrectionLevel | string | ❌ No | "M" | Error correction level: "L" (7%), "M" (15%), "Q" (25%), "H" (30%) | | width | number | ❌ No | 300 | Width of the QR code image in pixels |

    Example Response:

    ✅ QR Code Generated Successfully

    Original URL: https://github.com

    Download Link: http://localhost:3000/qrcodes/qr-abc123.png

    QR Code Details:

  • Filename: qr-abc123.png
  • Size: 300x300px
  • Error Correction: M
  • 🌐 HTTP Endpoints

    GET /

    API information and documentation.

    GET /health

    Health check endpoint.

    Response:

    {
      "status": "healthy",
      "transport": "streamable-http",
      "activeSessions": 2,
      "serverName": "URL2QR-MCP",
      "version": "1.0.0"
    }
    

    POST /mcp

    MCP protocol endpoint (JSON-RPC).

    GET /qrcodes/:filename

    Download generated QR code images.

    ⚙️ Configuration

    Create a .env file in the project root:

    PORT=3000
    QR_OUTPUT_DIR=./qrcodes
    

    PUBLIC_BASE_URL is optional - auto-detected from request headers by default

    PUBLIC_BASE_URL=http://localhost:3000

    Environment Variables:

  • PORT - Server port (default: 3000)
  • QR_OUTPUT_DIR - Directory for storing QR code images (default: ./qrcodes)
  • PUBLIC_BASE_URL - Optional. External base URL for download links. If not set, the server automatically detects the URL from incoming request headers (supports reverse proxies with X-Forwarded-Host and X-Forwarded-Proto)
  • 🎯 Auto-Detection Feature

    The server automatically detects its public URL from incoming HTTP requests, so you don't need t

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81