Ultrahuman MCP Server

Ultrahuman MCP Server

Enables fetching health and fitness metrics from the Ultrahuman API, including heart rate, sleep, steps, temperature, and HRV data.

Category
Visit Server

README

Ultrahuman MCP Server

A Model Context Protocol (MCP) server for fetching health and fitness metrics from the Ultrahuman API. Built with TypeScript and designed for production use.

๐Ÿš€ Quick Start

  1. Clone the repository
  2. Install dependencies:
    bun install
    
  3. Build the project:
    bun run build
    
  4. Configure your environment variables (see Configuration section)
  5. Add to Claude Desktop (see Usage section)

๐Ÿ”‘ Getting Started with Ultrahuman API

Before you can use this MCP server, you'll need to obtain your Ultrahuman credentials. Follow these steps:

Step 1: Get Your Ultrahuman Email

  1. Open the Ultrahuman app on your device
  2. Navigate to the Profile tab at the bottom of the screen
  3. Tap the settings icon (cog icon) in the top left corner
  4. Your email address will be displayed at the top of the settings screen
  5. Copy this email address - you'll need it for configuration

Step 2: Request API Key and Partner ID

You must obtain an API key and Partner ID from Ultrahuman by contacting them through one of these methods:

  • Email: Send a request to support@ultrahuman.com
  • In-app chat: Use the customer service chat within the Ultrahuman app

Important: Make sure to include your Ultrahuman email address in your request to speed up the response time.

Once you receive your API key and Partner ID, keep them secure and private.

Step 3: Configure Partner ID in App

  1. Open the Ultrahuman app on your device
  2. Navigate to the Profile tab at the bottom of the screen
  3. Tap the settings icon (cog icon) in the top left corner
  4. Scroll down to find the Partner ID field
  5. Enter the Partner ID code you received from Ultrahuman

Step 4: Configure the MCP Server

Now you can configure this MCP server with your credentials:

  1. Set your environment variables (see Configuration section below)
  2. Build and run the server
  3. Add it to Claude Desktop with your API credentials

You're all set to start fetching your health data!

โœจ Key Features

  • Fetch comprehensive health metrics from Ultrahuman API
  • Heart rate, sleep, steps, temperature, and HRV monitoring
  • Built with TypeScript for type safety
  • Bun for fast testing and development
  • Biome for linting and formatting
  • Clean, maintainable project structure

๐Ÿ“‚ Project Structure

ultrahuman-mcp/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ tools/          # MCP tools implementation
โ”‚   โ”‚   โ””โ”€โ”€ ultrahumanMetrics/  # Ultrahuman API integration
โ”‚   โ”œโ”€โ”€ utils/          # Shared utilities
โ”‚   โ”œโ”€โ”€ main.ts         # Server entry point
โ”‚   โ””โ”€โ”€ types.ts        # Shared type definitions
โ”œโ”€โ”€ scripts/            # Build and utility scripts
โ”œโ”€โ”€ biome.json          # Linting configuration
โ”œโ”€โ”€ tsconfig.json       # TypeScript configuration
โ””โ”€โ”€ package.json        # Project dependencies

โš™๏ธ Configuration

This server requires environment variables to authenticate with the Ultrahuman API:

  • ULTRAHUMAN_AUTH_TOKEN: Your Ultrahuman API authorization token
  • ULTRAHUMAN_USER_EMAIL: The email address of the Ultrahuman user whose data you want to fetch

The API base URL is configured to https://partner.ultrahuman.com/api/v1.

๐Ÿ”ง Available Tools

ultrahuman_metrics

Fetches health and fitness metrics from the Ultrahuman API for a specific date. The user email is configured via environment variable, so you only need to specify the date to retrieve comprehensive health data.

Parameters:

  • date: Date in YYYY-MM-DD format to fetch metrics for (e.g., '2025-06-19')

Example Usage:

{
  "name": "ultrahuman_metrics",
  "arguments": {
    "date": "2025-06-19"
  }
}

๐Ÿ“Š Available Health Data

The API provides comprehensive health metrics including:

  • Heart Rate: Continuous heart rate monitoring with timestamps
  • Skin Temperature: Body temperature variations throughout the day
  • HRV (Heart Rate Variability): Heart rate variability measurements
  • Steps: Step count data with activity tracking
  • Sleep Data: Detailed sleep analysis including:
    • Sleep stages (Deep, Light, REM, Awake)
    • Sleep efficiency and quality metrics
    • Heart rate and HRV during sleep
    • Temperature variations during sleep
  • Recovery Index: Overall recovery score
  • Movement Index: Activity and movement metrics
  • VO2 Max: Cardiovascular fitness indicator

๐Ÿ’ป Usage with Claude Desktop

  1. Build the project:

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

    {
      "mcpServers": {
        "ultrahuman": {
          "command": "node",
          "args": ["/path/to/your/project/dist/main.js"],
          "env": {
            "ULTRAHUMAN_AUTH_TOKEN": "your_token_here",
            "ULTRAHUMAN_USER_EMAIL": "your_email@example.com"
          }
        }
      }
    }
    

๐Ÿงช Testing

You can test the server by running it directly:

node dist/main.js

The server will listen for MCP requests on stdio and provide the ultrahuman_metrics tool to fetch health data from the API.

๐Ÿ› ๏ธ Development

  • Run tests: bun test
  • Format code: bun run format
  • Lint code: bun run lint
  • Build project: bun run build

๐Ÿ“œ Version Management

This project uses standard-version for automated version management. Run bun run release to create a new version.

Commit Message Format

  • feat: New feature (bumps minor version)
  • fix: Bug fix (bumps patch version)
  • BREAKING CHANGE: Breaking change (bumps major version)

๐Ÿ“ฆ Publishing to npm

  1. Ensure you're logged in to npm:
    npm login
    
  2. Build the project:
    bun run build
    
  3. Publish the package:
    npm publish
    

Installing from npm (after publishing)

Add to your Claude Desktop config:

{
  "mcpServers": {
    "ultrahuman": {
      "command": "npx",
      "args": ["-y", "ultrahuman-mcp"],
      "env": {
        "ULTRAHUMAN_AUTH_TOKEN": "your_token_here",
        "ULTRAHUMAN_USER_EMAIL": "your_email@example.com"
      }
    }
  }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured