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

@cookieless-tech/mcp

v0.0.2

Published

Model Context Protocol server for Cookieless analytics. Query your privacy-first analytics from any MCP client.

Readme

Cookieless MCP Server

npm

A Model Context Protocol server that lets any MCP client — Claude Desktop, Claude Code, Cursor, and others — query your Cookieless analytics in natural language.

Ask things like "What were my top pages last week?" and the assistant pulls the answer straight from your analytics.

It runs locally on your machine and talks directly to the Cookieless API over HTTPS. The only thing that leaves your computer is your API key — no analytics data passes through any third party.

Requirements

  • An active Cookieless account and an API key (below).
  • An MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.).
  • Node.js 20+ — used automatically when the client launches the server via npx.

Getting an API key

Create a key in your Cookieless dashboard:

The key scopes everything to its owner: a personal key sees your personal sites, a team key sees the team's sites. Creating and deleting sites with a team key requires an admin role.

Installation

Claude Desktop

Add the server to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "cookieless": {
      "command": "npx",
      "args": ["-y", "@cookieless-tech/mcp"],
      "env": { "COOKIELESS_API_KEY": "your-key" }
    }
  }
}

Restart Claude Desktop and the Cookieless tools will be available.

Claude Code

claude mcp add cookieless --env COOKIELESS_API_KEY=your-key -- npx -y @cookieless-tech/mcp

Other clients

Any MCP client works. Configure it to run npx -y @cookieless-tech/mcp over stdio with COOKIELESS_API_KEY set in the environment.

Configuration

| Env var | Required | Default | Description | | -------------------- | -------- | ----------------------------- | ---------------------------------------- | | COOKIELESS_API_KEY | Yes | — | Your Cookieless API key. | | COOKIELESS_API_URL | No | https://api.cookieless.tech | Advanced: override the API base URL. |

Tools

| Tool | What it does | | ------------- | ---------------------------------------------------------------------------------------------------- | | list_sites | List the sites your API key can access. | | get_stats | Query aggregated analytics — time ranges, group-bys, filters, funnels, and metrics like visitors, bounce rate, and session duration. | | create_site | Create a new site (requires an active subscription). | | delete_site | Permanently delete a site and all of its data. |

Example prompts

Once connected, try asking your assistant:

  • "List my Cookieless sites."
  • "What were my top 10 pages last week?"
  • "How many unique visitors did my blog get this month, broken down by country?"
  • "Show the bounce rate for /pricing over the past 30 days."
  • "Build a funnel from /signup to /checkout for the past 7 days."

Privacy

True to Cookieless's privacy-first model, this server adds no tracking and stores nothing. It runs entirely on your machine and communicates only with the Cookieless API using your key.

License

MIT