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

hybrid-athlete-training-mcp

v0.2.0

Published

MCP server for Hybrid Athlete Training — lets AI agents read and author workouts

Readme

hybrid-athlete-training-mcp

MCP server for Hybrid Athlete Training — lets an AI agent plan, read, and edit your workouts through the app's agent REST API.

💼 Need a custom web app? I build production web applications for clients — get in touch at manuelcoffin.fr.

Hybrid Athlete Training is a training journal for hybrid athletes — strength sessions, endurance work, and the calendar that ties them together. This package exposes the app's /api/v1/agent/* API as Model Context Protocol tools over stdio so an agent (Claude Code, Claude Desktop, Cursor, …) can list and read workouts, search the exercise library, inspect per-exercise history, and create / update / delete workouts on your calendar.

Prerequisites

  1. An account on hybrid-athlete.training.
  2. An API key — create one in the app under Account → Integrations. It starts with hat_sk_.
  3. Node.js 18 or newer.

Configuration

The server reads two environment variables:

| Variable | Required | Description | | --- | --- | --- | | HYBRID_ATHLETE_TRAINING_TOKEN | yes | An API key from Account → Integrations (starts with hat_sk_). | | HYBRID_ATHLETE_TRAINING_URL | no | Base URL of the app. Defaults to http://localhost:3000. Set to https://www.hybrid-athlete.training to hit production. |

Claude Code

Register the server once, available across all your projects:

claude mcp add hybrid-athlete-training --scope user \
  --env HYBRID_ATHLETE_TRAINING_TOKEN=hat_sk_… \
  --env HYBRID_ATHLETE_TRAINING_URL=https://www.hybrid-athlete.training \
  -- npx -y hybrid-athlete-training-mcp

Or add it to an .mcp.json directly:

{
  "mcpServers": {
    "hybrid-athlete-training": {
      "command": "npx",
      "args": ["-y", "hybrid-athlete-training-mcp"],
      "env": {
        "HYBRID_ATHLETE_TRAINING_TOKEN": "hat_sk_…",
        "HYBRID_ATHLETE_TRAINING_URL": "https://www.hybrid-athlete.training"
      }
    }
  }
}

Claude Desktop

Add the same hybrid-athlete-training entry under mcpServers in claude_desktop_config.json.

Tools

| Tool | Description | | --- | --- | | list_workouts | List workouts on the calendar within a date range. | | get_workout | Read one workout as an ordered segment list. | | search_exercises | Search the exercise library by name. | | get_exercise_history | Recent completed sets of one exercise. | | create_workout | Create a workout from a list of segments. | | update_workout | Patch a workout by block id with ordered operations. | | delete_workout | Delete an uncompleted workout. |

Notes

  • Completed workouts are read-only. update_workout and delete_workout against a completed workout are rejected — a logged training result is never rewritten.
  • update_text is a lossy replace. It overwrites the targeted text segment with the Markdown you supply; pass the full intended text.
  • v1 authors strength only (SETS_REPS, TIME_HOLD). Endurance work is written as text prose with an endurance category.
  • The agent cannot create exercises — pick ids from search_exercises.

Building from source

From the repo root:

pnpm --filter hybrid-athlete-training-mcp build

This produces packages/mcp/dist/index.mjs — an executable stdio MCP server.