Skip to content

AI & MCP Integration

Connect AI assistants like Claude, ChatGPT, and Cursor to your Hillory account using the MCP protocol.

What Is MCP?

MCP (Model Context Protocol) is an open standard that lets AI assistants interact with your apps securely. Think of it like giving your AI a "window" into your training data — it can read your plan, add exercises, log wellness, and more.

Your AI assistant does the thinking. Hillory just responds to structured requests — no AI runs on our server.

Getting Started

To connect an AI assistant to your account:

  1. Generate a Personal Access Token (PAT) via the API
  2. Choose which scopes (permissions) to grant
  3. Add the token to your AI client's MCP configuration

Your token looks like: mcp_aBcDeFgHiJk...

Claude Desktop Setup

Add this to your Claude Desktop config file (claude_desktop_config.json):

{
  "mcpServers": {
    "hillory": {
      "url": "https://hillory.run/mcp",
      "headers": {
        "Authorization": "Bearer mcp_YOUR_TOKEN_HERE"
      }
    }
  }
}

Config file location: macOS ~/Library/Application Support/Claude/claude_desktop_config.json

Cursor / Windsurf / Other MCP Clients

Any MCP-compatible client works. You need two things:

  • Server URL: https://hillory.run/mcp
  • Auth header: Authorization: Bearer mcp_YOUR_TOKEN

Scopes (Permissions)

When creating a token, choose only the scopes your AI needs:

Scope Allows
read:profileView profile, preferences, kettlebells
read:sessionsView workout sessions and exercise history
read:activitiesView running activities and splits
read:wellnessView sleep, soreness, energy, mood
read:fatigueView muscle fatigue levels
read:goalsView running goals
read:planView training plan and workouts
read:routesView running routes
write:sessionsPlan/start/complete sessions, add exercises, record sets
write:wellnessLog daily wellness check-ins
write:planCreate workouts, skip/complete planned workouts
write:goalsCreate, update, delete running goals
write:routesCreate and delete running routes

💡 Tip: Start with read-only scopes and add write permissions as needed.

What Can I Ask My AI?

Once connected, try natural language prompts like:

  • "Add calf raises as an optional exercise to my Thursday session"
  • "Show me my running goals and suggest a new weekly distance target"
  • "Log my wellness: slept great, no soreness, high energy"
  • "What workouts do I have this week?"
  • "Plan a kettlebell session focused on legs and core"
  • "How's my muscle fatigue looking — am I ready to train today?"
  • "Create an optional 20-minute core and calves workout for Friday"
  • "Skip tomorrow's tempo run — I'm feeling too sore"

The AI figures out which tools to call. You just speak naturally.

Security & Privacy

  • Your data only: tokens can only access your own data — never other users'
  • Scoped access: each token is limited to the permissions you grant
  • Revocable: revoke a token instantly if compromised
  • Expiring: tokens expire after 90 days by default (max 1 year)
  • Hashed storage: we store a SHA-256 hash — never your raw token
  • Rate limited: 120 requests/minute to prevent abuse
  • No AI on our side: we never send your data to any AI model — that's your client's job

FAQ

Do I need to pay for this?

No — the MCP integration is included for all Hillory users. You may need a paid AI subscription (Claude Pro, ChatGPT Plus, etc.) on the client side.

Can the AI delete my data?

Only if you grant write permissions. Read-only tokens cannot modify anything. Even with write access, actions are limited to what you can do in the app (e.g., delete a goal, not delete your account).

What if I lose my token?

Tokens are shown once when created. If lost, revoke the old one and create a new one. There's no way to recover a token after creation.

Can I have multiple tokens?

Yes — create separate tokens for different AI clients (e.g., one for Claude Desktop, one for Cursor). Each can have different scopes.

Does this use an internal AI provider?

No. The MCP server only returns your data and accepts writes you explicitly allow. Any AI processing happens in the client you choose to connect.

It's not working — what do I check?

Verify: (1) token starts with mcp_, (2) token hasn't expired, (3) correct URL, (4) the scope covers what you're asking. Check your AI client's MCP logs for error details.

Available Tools (28)

Read Tools

get_profile list_sessions get_session_detail list_activities get_activity_detail get_fatigue_state get_training_plan get_upcoming_workouts get_wellness list_exercises list_running_goals list_routes list_kettlebells

Write Tools

plan_session start_session record_set complete_session add_exercise_to_session remove_exercise_from_session submit_session_feedback log_wellness create_running_goal update_running_goal delete_running_goal create_workout add_workout_exercise complete_workout skip_workout associate_activity_with_workout create_route delete_route add_kettlebell remove_kettlebell