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

fullstory-mcp-server

v1.0.4

Published

MCP Server for Fullstory analytics integration with Claude

Readme

Fullstory MCP Server

An MCP (Model Context Protocol) server that connects Claude to your Fullstory analytics data. Once configured, you and your team can ask Claude questions about user sessions, events, segments, and more.

Features

| Tool | Description | |------|-------------| | fullstory_get_user_sessions | Get session replays for a user | | fullstory_get_session_replay_url | Get direct URL to watch a session | | fullstory_get_user | Get user details and properties | | fullstory_search_users | Search users by email, name, or custom properties | | fullstory_get_user_events | Get events for a user within a time range | | fullstory_list_segments | List all saved segments | | fullstory_export_segment | Export segment data (users or events) | | fullstory_get_export_status | Check export job progress | | fullstory_download_export | Download completed export data | | fullstory_send_event | Send custom events to Fullstory |

Prerequisites

  • Node.js 18+
  • Fullstory account with API access
  • Admin or Architect API key (for full functionality)

Quick Start

1. Clone and Install

cd fullstory-mcp-server
npm install

2. Configure Environment

cp .env.example .env

Edit .env and add your Fullstory API key:

FULLSTORY_API_KEY=your_api_key_here
FULLSTORY_DATA_CENTER=na1

Getting your API key:

  1. Log into Fullstory
  2. Go to SettingsAPI Keys
  3. Create a new key with Admin or Architect role
  4. Copy the key (you won't be able to see it again)

3. Build

npm run build

4. Test Locally

npm start

Deployment Options

Option A: Shared Server (Recommended for Teams)

Deploy to a cloud server so all team members can use the same connection.

Using Docker

# Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY dist ./dist
ENV NODE_ENV=production
CMD ["node", "dist/index.js"]
docker build -t fullstory-mcp-server .
docker run -d \
  -e FULLSTORY_API_KEY=your_key \
  -e FULLSTORY_DATA_CENTER=na1 \
  --name fullstory-mcp \
  fullstory-mcp-server

Using PM2 (on a Linux server)

npm install -g pm2
pm2 start dist/index.js --name fullstory-mcp
pm2 save
pm2 startup

Option B: Local Machine (Per User)

Each team member runs the server on their own machine.

Connecting to Claude

For Claude Desktop App

Add to your Claude configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "fullstory": {
      "command": "node",
      "args": ["/path/to/fullstory-mcp-server/dist/index.js"],
      "env": {
        "FULLSTORY_API_KEY": "your_api_key_here",
        "FULLSTORY_DATA_CENTER": "na1"
      }
    }
  }
}

For Remote/Shared Server

If running on a shared server, configure the connection URL in your MCP client settings.

Usage Examples

Once connected, you can ask Claude things like:

  • "Show me the recent sessions for user [email protected]"
  • "What events did user 12345 trigger last week?"
  • "List all our Fullstory segments"
  • "Export the 'Power Users' segment as CSV"
  • "Get me the replay URL for session abc123"

API Key Permissions

| Feature | Required Role | |---------|---------------| | Sessions, Users, Events | Normal, Admin, Architect | | Segment Exports | Admin, Architect | | Audit Trails | Admin, Architect |

Troubleshooting

"Authentication failed"

  • Check that your API key is correct
  • Ensure the key hasn't been revoked
  • Verify the data center setting matches your account

"Rate limit exceeded"

  • Segment exports are limited to 2 requests/minute
  • Wait before making additional requests

"Access forbidden"

  • Your API key may not have sufficient permissions
  • Upgrade to Admin or Architect role for full access

Security Notes

  • Store API keys securely (use environment variables, not hardcoded values)
  • Rotate API keys periodically
  • Use the minimum required permission level
  • For team deployments, consider using a dedicated service account

Contributing

Feel free to extend this server with additional Fullstory API endpoints as needed.

License

MIT