Logotipo de Ultrahuman

Ultrahuman

Comunidad
Monasterolo21

A simple MCP server using the Ultrahuman API to retrieve fitness data from your ring and query information about it from your favorite LLM

EditorMonasterolo21
RepositorioUltrahuman-MCP
IdiomaJavaScript
Forks
5
Estrellas
20
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Ultrahuman ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    20 estrellas y 5 forks en el repositorio enlazado.

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:
    bash
    bun install
  3. Build the project:
    bash
    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:

json
{
  "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:

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

    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:

bash
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:
    bash
    npm login
  2. Build the project:
    bash
    bun run build
  3. Publish the package:
    bash
    npm publish

Installing from npm (after publishing)

Add to your Claude Desktop config:

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

Usa el MCP de Ultrahuman con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Ultrahuman, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Ultrahuman como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Ultrahuman.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "ultrahuman-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Ultrahuman y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Ultrahuman.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Ultrahuman para ayudarme con esta tarea?
Ultrahuman
Claro. Lo he leído.
Esto he encontrado usando Ultrahuman.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Ultrahuman?

Ultrahuman es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Ultrahuman con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Ultrahuman con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Ultrahuman con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Ultrahuman conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Ultrahuman a TypingMind?

Ultrahuman funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Ultrahuman en TypingMind?

Ultrahuman ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Ultrahuman?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Ultrahuman requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇