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

segment-mcp-server

v1.0.0

Published

MCP server for Twilio Segment — sources, destinations, tracking plans, profile lookup, and server-side event tracking via the Model Context Protocol

Readme

segment-mcp-server

MCP server for Twilio Segment — manage sources, destinations, tracking plans, and send server-side events through Claude and other MCP clients.

Tools

Config API (requires SEGMENT_TOKEN)

| Tool | Description | |------|-------------| | list_sources | List all sources in the workspace | | get_source | Fetch a single source by ID | | create_source | Create a new source | | update_source | Rename, enable, or disable a source | | delete_source | Delete a source | | list_destinations | List all destinations in the workspace | | get_destination | Fetch a single destination by ID | | create_destination | Create a new destination and connect it to a source | | update_destination | Enable/disable a destination or update its settings | | list_destination_filters | List event filters on a destination | | list_tracking_plans | List all Protocols tracking plans | | get_tracking_plan | Fetch a tracking plan with its event rules | | list_tracking_plan_rules | List all event schemas in a tracking plan | | get_workspace | Fetch workspace name, slug, ID, and region |

Tracking API (also requires SEGMENT_WRITE_KEY)

| Tool | Description | |------|-------------| | track_event | Send a Track call (user action) | | identify_user | Send an Identify call (associate traits with a user) | | group_call | Send a Group call (associate a user with a company) | | page_call | Send a Page call (record a page view) |

Installation

npx segment-mcp-server

Environment variables

| Variable | Description | |----------|-------------| | SEGMENT_TOKEN | Personal Access Token — generate at app.segment.com → Settings → Access Management → Tokens | | SEGMENT_WRITE_KEY | Source write key — find at Source → Settings → API Keys (required only for Tracking API tools) |

Claude Desktop config

{
  "mcpServers": {
    "segment": {
      "command": "npx",
      "args": ["-y", "segment-mcp-server"],
      "env": {
        "SEGMENT_TOKEN": "your_personal_access_token",
        "SEGMENT_WRITE_KEY": "your_source_write_key"
      }
    }
  }
}

Links