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

@kieksme/swetrix-admin-mcp

v1.2.0

Published

MCP server for the Swetrix Admin API – manages projects, funnels, annotations, views and organisations

Readme

@kieksme/swetrix-admin-mcp

MCP server for the Swetrix Admin API — 34 tools for managing projects, funnels, annotations, views, and organisations.

Note: All tools require a valid SWETRIX_API_KEY. This server performs write operations — use with care.

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "swetrix-admin": {
      "command": "npx",
      "args": ["-y", "@kieksme/swetrix-admin-mcp"],
      "env": {
        "SWETRIX_API_KEY": "your-api-key",
        "SWETRIX_API_BASE_URL": "https://analytics.example.com"
      }
    }
  }
}

Claude Code

claude mcp add swetrix-admin -e SWETRIX_API_KEY=your-key -e SWETRIX_API_BASE_URL=https://analytics.example.com -- npx -y @kieksme/swetrix-admin-mcp

Environment variables

| Variable | Required | Description | |---|---|---| | SWETRIX_API_KEY | Yes | Your Swetrix API key (Account Settings → API keys) | | SWETRIX_API_BASE_URL | No | Custom API base URL for self-hosted Swetrix (default: https://api.swetrix.com) |

Tools

Projects

| Tool | Description | |---|---| | swetrix_list_projects | List all projects for the authenticated user | | swetrix_get_project | Get details for a single project | | swetrix_create_project | Create a new project | | swetrix_update_project | Update project name, settings, or configuration | | swetrix_delete_project | Delete a project permanently | | swetrix_pin_project | Pin a project to the top of the dashboard | | swetrix_unpin_project | Unpin a project | | swetrix_assign_project_org | Assign a project to an organisation |

Funnels

| Tool | Description | |---|---| | swetrix_list_funnels | List all funnels for a project | | swetrix_create_funnel | Create a new conversion funnel with ordered steps | | swetrix_update_funnel | Update funnel name or steps | | swetrix_delete_funnel | Delete a funnel |

Annotations

| Tool | Description | |---|---| | swetrix_list_annotations | List all annotations for a project | | swetrix_create_annotation | Add a dated annotation to the traffic timeline | | swetrix_update_annotation | Edit an annotation's text or date | | swetrix_delete_annotation | Delete an annotation |

Views

| Tool | Description | |---|---| | swetrix_list_views | List saved dashboard views for a project | | swetrix_get_view | Get a specific saved view | | swetrix_create_view | Create a new saved view with filters and settings | | swetrix_update_view | Update a saved view | | swetrix_delete_view | Delete a saved view |

Organisations

| Tool | Description | |---|---| | swetrix_list_organisations | List all organisations the user belongs to | | swetrix_get_organisation | Get details for a specific organisation | | swetrix_create_organisation | Create a new organisation | | swetrix_update_organisation | Update organisation name or settings | | swetrix_delete_organisation | Delete an organisation | | swetrix_invite_org_member | Invite a user to an organisation by email | | swetrix_update_org_member | Change a member's role within the organisation | | swetrix_remove_org_member | Remove a member from an organisation |

Example prompts

  • "List all my Swetrix projects."
  • "Create a new project called Marketing Site."
  • "Add a funnel for the checkout flow: /cart/checkout/thank-you."
  • "Annotate project abc123 on 2025-01-15 with Launched new homepage."
  • "Invite [email protected] to organisation my-org as a viewer."

License

GPL-3.0-only — see LICENSE