QuestLife MCP
Provides tools for managing QuestLife data in a Supabase backend, including quests, habits, XP, levels, streaks, subtasks, and progress updates.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
QuestLife MCP
An MCP (Model Context Protocol) server that connects your LLM (Claude, etc.) to a QuestLife Supabase backend — letting you manage quests, habits, XP, and levels through natural language.
What is QuestLife?
QuestLife is a personal gamification system where you track life goals as RPG-style quests and build habits that earn XP. This MCP server acts as the bridge between any MCP-compatible LLM and your QuestLife Supabase database.
Related MCP server: Zenith MCP Server
Features
15 tools covering quests, habits, progress, and overview
Full CRUD for quests and habits
XP + level system with automatic calculation
Streak tracking with weekly bonus (+50 XP every 7 consecutive days)
Real-time sync with the QuestLife web app (same Supabase backend)
Works with Claude Desktop, Claude Code, and any MCP-compatible client
Tools Reference
Quests
Tool | Description |
| List quests with optional filters: |
| Get a single quest by ID |
| Create a new quest with title, description, XP reward, subtasks |
| Update any quest field |
| Permanently delete a quest |
Habits
Tool | Description |
| List all habits |
| Get a single habit by ID |
| Create a habit with frequency, XP per day, category |
| Update any habit field |
| Permanently delete a habit |
Progress
Tool | Description |
| Mark quest as completed and award XP |
| Change quest status ( |
| Mark/unmark habit completion for today, updates streak and XP |
| Toggle a subtask inside a quest or habit |
Overview
Tool | Description |
| Full snapshot: profile, quest summary, and all habits with today's status |
Prerequisites
A Supabase project with the QuestLife schema
Node.js >= 18
A QuestLife user ID (UUID from the
profilestable)
Required Supabase Tables
-- profiles: user XP and level
-- quests: user_id, quest_id, data (JSONB), updated_at
-- habits: user_id, habit_id, data (JSONB), updated_at
-- xp_log: user_id, date, amount, reason, created_atInstallation
Option A — npx (no install required)
npx questlife-mcpOption B — global install
npm install -g questlife-mcp
questlife-mcpOption C — from source
git clone https://github.com/jaara/questlife-mcp.git
cd questlife-mcp
npm install
npm run buildConfiguration
Create a .env file (copy from .env.example):
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_KEY=your-service-role-key-here
QUESTLIFE_USER_ID=your-user-uuid-hereSecurity note: The
SUPABASE_SERVICE_KEYis a service role key that bypasses Row Level Security. Keep it secret and never commit it to version control.
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Using npx (recommended)
{
"mcpServers": {
"questlife": {
"command": "npx",
"args": ["questlife-mcp"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_KEY": "your-service-role-key",
"QUESTLIFE_USER_ID": "your-user-uuid"
}
}
}
}Using a local build
{
"mcpServers": {
"questlife": {
"command": "node",
"args": ["/absolute/path/to/questlife-mcp/dist/index.js"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_KEY": "your-service-role-key",
"QUESTLIFE_USER_ID": "your-user-uuid"
}
}
}
}Restart Claude Desktop after saving the config.
Usage with Claude Code
Add this to your project's .mcp.json or global MCP config:
{
"mcpServers": {
"questlife": {
"command": "npx",
"args": ["questlife-mcp"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_KEY": "your-service-role-key",
"QUESTLIFE_USER_ID": "your-user-uuid"
}
}
}
}Example Prompts
Once connected to Claude, you can use natural language:
"Show me all my in-progress quests"
"Create a new quest called 'Learn Rust' with 500 XP reward"
"Mark the quest 'Build portfolio' as completed"
"I completed my meditation habit today"
"What's my current level and XP?"
"Give me a full overview of my quests and habits"
"Add a daily coding habit worth 100 XP per day"Data Model
Quest
{
id: string; // UUID
title: string;
description: string;
category: string;
act: number; // Story act / chapter
status: 'locked' | 'in_progress' | 'completed';
xpReward: number;
subtasks: { id: string; title: string; completed: boolean }[];
createdAt: string; // ISO 8601
completedAt: string | null;
}Habit
{
id: string; // UUID
title: string;
description: string;
category: string;
xpPerDay: number;
frequency: 'daily' | 'weekly';
streak: number; // Consecutive days completed
checkHistory: { [date: string]: boolean }; // "YYYY-MM-DD" keys
createdAt: string;
}XP & Level Formula
Level N requires: N * (N+1) / 2 * 500 cumulative XPLevel | Total XP required |
1 | 500 |
2 | 1,500 |
3 | 3,000 |
5 | 7,500 |
10 | 27,500 |
Development
# Install dependencies
npm install
# Run in development mode (no build step)
npm run dev
# Build TypeScript
npm run build
# Run compiled version
npm startContributing
Issues and pull requests are welcome. Please open an issue first to discuss significant changes.
License
MIT — see LICENSE
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Your planner in every AI chat: tasks, calendar, docs, habits, goals and memory, over MCP.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to interact with the Habitica API to manage tasks, track habits, and engage in gamified productivity features like pet raising and inventory management. It allows users to control their Habitica account through natural language for a personalized and automated productivity experience.2618 npm26MIT
- FlicenseAqualityDmaintenancePersonal habit tracking MCP server for a 90-day mission, tracking 6 non-negotiable habits with Supabase backend, exposes tools for logging and viewing progress.4-
- AlicenseAqualityCmaintenanceMCP server for managing Habitica as a daily execution layer, enabling agents to read and (with explicit confirmation) create, complete, and score tasks via the Habitica API.16MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible clients to read and write a gamified self-improvement RPG character sheet, including quest management, profile viewing, skills, social challenges, and leaderboards.1MIT