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

xeve-mcp-server

v1.0.0

Published

MCP server for xeve — query your personal analytics from any AI assistant

Downloads

53

Readme

xeve-mcp-server

MCP server for xeve — query your personal analytics from any AI assistant (Claude Desktop, Claude Code, etc.)

Ask questions like:

  • "How much did I code today?"
  • "What's my productivity trend this week?"
  • "What music was I listening to yesterday?"
  • "Does my sleep correlate with coding output?"

Setup

1. Get your access token

Go to xeve.io/dashboard/settingsAPI Access and copy your access token.

2. Configure Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "xeve": {
      "command": "npx",
      "args": ["-y", "xeve-mcp-server"],
      "env": {
        "XEVE_ACCESS_TOKEN": "your-access-token-here"
      }
    }
  }
}

3. Configure Claude Code

claude mcp add xeve -e XEVE_ACCESS_TOKEN=your-access-token-here -- npx -y xeve-mcp-server

Tools

| Tool | Description | |------|-------------| | get_productivity_summary | Screen time, productive time, distracted time, top categories | | get_app_usage | Which apps you used and for how long | | get_coding_summary | Coding time by project and language | | get_health_summary | Steps, energy, sleep, heart rate from HealthKit | | get_music_history | Spotify listening history, top artists, recent tracks | | get_github_activity | Commits, PRs, reviews, lines changed, active repos | | get_correlations | Statistical correlation between any two metrics | | get_daily_trend | Day-by-day breakdown of all metrics | | get_recent_sessions | Most recent app sessions with window titles |

All tools accept optional from and to parameters (YYYY-MM-DD) to filter by date range. Defaults to today.

Examples

"How productive was I this week?" → Calls get_productivity_summary with this week's date range

"What projects did I code on yesterday?" → Calls get_coding_summary with yesterday's date

"Does sleep affect my coding output?" → Calls get_correlations with metric_a: "sleep_ms", metric_b: "coding_ms"

"Show me my daily trend for March" → Calls get_daily_trend with from: "2026-03-01", to: "2026-03-31"

Available correlation metrics

total_tracked_ms, productive_ms, distracted_ms, communication_ms, app_switches, coding_ms, listening_ms, tracks_played, recovery_score, strain, hrv, sleep_ms, step_count, active_energy_kcal, commits, prs_opened, prs_merged, avg_heart_rate

Development

git clone https://github.com/xeveio/xeve-mcp-server.git
cd xeve-mcp-server
npm install
npm run build
XEVE_ACCESS_TOKEN=your-token node dist/index.js

License

MIT