npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@linktwin/mcp

v1.0.0

Published

Model Context Protocol (MCP) server for LinkTwin — let Claude, Cursor and other AI agents create, edit and manage short links, deep links, QR codes, collections, pixels and analytics.

Readme

@linktwin/mcp

The official Model Context Protocol (MCP) server for LinkTwin. Give Claude, Cursor and other AI agents the ability to create, edit and manage your short links and deep links — including geo/device/language targeting, A/B testing, UTM parameters, collections, branded domains, retargeting pixels, QR codes and click analytics.

Install

No global install needed — run it on demand with npx. Add to your MCP client:

{
  "mcpServers": {
    "linktwin": {
      "command": "npx",
      "args": ["-y", "@linktwin/mcp"],
      "env": { "LINKTWIN_API_KEY": "your_api_key_here" }
    }
  }
}

Works with Claude Desktop, Claude Code, Cursor, Windsurf, Cline and any other MCP-compatible client.

Configuration

| Variable | Required | Default | Description | | --- | --- | --- | --- | | LINKTWIN_API_KEY | yes | — | Your API key from the LinkTwin Settings page | | LINKTWIN_BASE_URL | no | https://linktw.in | Site root (for self-hosted / custom domains) |

Tools

Linkscreate_link, list_links, get_link, update_link, delete_link, bulk_delete_links

Analyticsget_link_stats, get_dashboard_stats, get_detailed_stats, get_day_trend

Collectionslist_collections, get_collection, create_collection, update_collection, add_links_to_collection, delete_collection

Domainslist_domains, add_domain, update_domain, delete_domain

Pixelslist_pixels, get_pixel, create_pixel, update_pixel, delete_pixel, assign_pixel_to_links

QR codeslist_qr_codes, get_qr_code, create_qr_code, update_qr_code, delete_qr_code

Accountget_account, update_account_settings, switch_workspace

Each tool is a thin wrapper over the LinkTwin REST API with a zod-validated input schema. Errors (auth, rate limits, plan limits, validation) are returned as tool results flagged isError, so agents can react gracefully.

License

MIT