Skip to main content
Glama
picoli-mcp

picoli-mcp

by amaterous

picoli-mcp

MCP server for picoli.site — URL shortening and click analytics for AI agents.

Shorten URLs, track clicks, and analyze link performance directly from your AI assistant.

Setup

1. Get your API key

Create an account at picoli.site and get your API key from the dashboard.

2. Configure your MCP client

Claude Desktop / Claude Code

Add to your MCP configuration:

{
  "mcpServers": {
    "picoli": {
      "command": "npx",
      "args": ["-y", "picoli-mcp"],
      "env": {
        "PICOLI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "picoli": {
      "command": "npx",
      "args": ["-y", "picoli-mcp"],
      "env": {
        "PICOLI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Related MCP server: filoo MCP server

Tools

shorten_url

Create a short URL with an optional custom slug.

Example prompts:

shorten_urls

Create multiple short URLs at once (up to 500).

Example prompts:

  • "Shorten these 3 URLs: ..."

Get click statistics for specific links (bot traffic excluded).

Example prompts:

  • "How many clicks did my 'launch' link get?"

  • "Show me stats for these slugs: launch, demo, blog-post"

List all shortened URLs with click counts and pagination.

Example prompts:

  • "Show me all my short links"

  • "List my links sorted by clicks"

get_analytics

Get analytics overview: top 10 links, daily click trends, and totals.

Example prompts:

  • "Show me my link analytics for this week"

  • "What are my top performing links?"

  • "Give me click stats from 2026-01-01 to 2026-01-31"

Environment Variables

Variable

Required

Default

Description

PICOLI_API_KEY

Yes

—

Your picoli.site API key

PICOLI_BASE_URL

No

https://picoli.site

API base URL (for self-hosted instances)

Development

git clone https://github.com/yun/picoli-mcp.git
cd picoli-mcp
npm install
npm run build

Test locally:

PICOLI_API_KEY=your-key npx tsx src/index.ts

License

MIT

Available Tools

5 tools
get_analyticsGet AnalyticsA

Get analytics overview: top 10 links by clicks, daily click stats, and total link count. Defaults to last 7 days.

Inputs: end_date, start_date.

shorten_urlShorten URLB

Create a short URL using picoli.site. Optionally specify a custom slug. Returns the shortened URL and slug.

Inputs: url (required), slug.

shorten_urlsShorten Multiple URLsA

Create multiple short URLs at once (up to 500). Each URL can have an optional custom slug.

Inputs: links (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: creating single vs bulk short URLs, retrieving stats for specific links, listing all links, and getting an analytics overview. No ambiguity between them.

    Naming Consistency5/5

    All tool names follow a verb_noun snake_case pattern (shorten_url, shorten_urls, get_link_stats, list_links, get_analytics). The verbs and nouns are consistent and predictable.

    Tool Count5/5

    With 5 tools, the set is well-scoped for a URL shortener API. Each tool covers a necessary function without unnecessary bloat or gaps.

    Completeness4/5

    Core operations are covered: creating (single and bulk), listing, and retrieving stats/analytics. Missing delete or update functionality, but this is a minor gap for a typical URL shortener use case.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to create, manage, and analyze short URLs through complete URL shortening functionality. Supports batch operations, custom domains, click statistics, and comprehensive link management.
      6
      25 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to shorten URLs, manage links, and track click analytics through 8 first-class tools, designed for use with Claude Desktop, Cursor, and other MCP clients.
      9
      45 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to shorten links, bulk create URLs, generate QR codes, manage and disable links, and retrieve click analytics from MCP clients like Claude, ChatGPT, Cursor, and n8n.
      9
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables users to shorten links, bulk-create URLs, generate QR codes, and retrieve click analytics through MCP clients such as Claude, ChatGPT, Cursor, and n8n.
      9
      47 npm
      MIT