LevelUp.log
An MCP server that gamifies your daily activities by automatically recording achievements as you interact with AI assistants, turning tasks into XP, levels, and titles.
README
LevelUp.log
Turn your daily grind into a game. An MCP Server for AI assistants that silently records your micro-achievements between conversations.
"I did so much today but it feels like I did nothing." — Sound familiar? LevelUp.log fixes that.
Quick Start
npx @levelup-log/mcp-server init
Auto-detects your AI tools (Claude Desktop, Claude Code, Cursor, Windsurf) and configures MCP in one command.
What is this?
LevelUp.log is an MCP (Model Context Protocol) Server. Once installed, your AI assistant automatically turns everyday activities into game-style achievements:
- Wrote code? +50 XP — "Bug Slayer"
- Took care of the kids? +30 XP — "Parenting Hero"
- Went for a run? +25 XP — "Morning Warrior"
- Learned something new? +40 XP — "Knowledge Seeker"
Your age is your level (28 years old = Lv.28). XP unlocks titles, climbs leaderboards, and powers your yearly review.
Why MCP?
Traditional habit trackers fail because recording itself is a chore. With MCP, logging happens as a byproduct of conversation. Just talk to your AI assistant as you normally do — achievements drop automatically, like loot in an RPG.
Zero friction. Pure dopamine.
Features
| Feature | Description |
|---|---|
| Achievements | 15 categories (code, life, health, learn, creative...) |
| XP System | 5-500 XP per achievement, cumulative + yearly + seasonal |
| Level System | Age = Level. Auto "level up" on your birthday |
| Titles | 15 titles (common → legendary), auto-unlock when conditions are met |
| Streaks | Daily streak tracking. Your AI coach won't let you break it |
| Leaderboard | Season / monthly / all-time rankings |
| Public Profile | /u/yourname — share your achievement page |
| AI Coach | Not empty praise — specific recognition with personality |
How It Works
You talk to AI → AI detects an achievement → MCP records it → XP + title check
→ Streak update
→ Leaderboard sync
- Install the MCP Server in your AI tool
- First use triggers Google OAuth login
- Your AI assistant records achievements as you work and live
- Visit your profile page to see your progress
Achievement Categories
| Category | What counts |
|---|---|
code |
Writing code, shipping features |
fix |
Bug fixes |
deploy |
Deployments, releases |
test |
Writing tests |
docs |
Documentation |
refactor |
Code refactoring |
review |
Code reviews |
learn |
Learning something new |
ops |
DevOps, infrastructure |
milestone |
Major milestones |
life |
Daily life (parenting, errands, chores) |
health |
Exercise, diet, medical |
finance |
Budgeting, saving, investing |
social |
Helping others, meetups |
creative |
Writing, drawing, making videos |
Tech Stack
Monorepo (pnpm + Turborepo)
├── MCP Server — TypeScript + @modelcontextprotocol/sdk ^1.27.0 + Zod 4
├── Frontend — Next.js 15 (App Router) + Tailwind CSS v4 + @supabase/ssr
├── Backend — Supabase (PostgreSQL + Edge Functions + Auth)
└── CI/CD — GitHub Actions + Vercel
MCP Tools
| Tool | Description |
|---|---|
record_achievement |
Record an achievement (category, title, description, XP 5-500) |
get_my_stats |
View level, total XP, yearly XP, streak, active title |
get_recent |
Recent achievements (filter by category / days / count) |
check_unlocks |
Check newly unlocked titles + progress to next title |
leaderboard |
Rankings (season / monthly / all-time) with your position |
Manual Setup
Add to your MCP config file:
{
"mcpServers": {
"levelup-log": {
"command": "npx",
"args": ["-y", "@levelup-log/mcp-server@latest", "serve"]
}
}
}
Config file locations:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) - Claude Code:
~/.claude/settings.json - Cursor:
~/.cursor/mcp.json - Windsurf:
~/.windsurf/mcp.json
Project Structure
levelup-log/
├── packages/
│ ├── mcp-server/ # npm: @levelup-log/mcp-server
│ │ ├── src/server.ts # 5 MCP tools + 1 prompt
│ │ ├── src/auth/ # OAuth + PKCE + keychain
│ │ ├── src/init/ # npx init setup wizard
│ │ ├── src/utils/ # API, config, rate-limiter, logger
│ │ └── tests/ # 41 Vitest tests
│ └── web/ # Next.js 15 frontend
│ └── src/app/ # 9 routes (home, login, dashboard, leaderboard, profile...)
├── supabase/
│ ├── migrations/ # 9 tables + RLS + Triggers
│ ├── functions/ # 5 Edge Functions
│ └── seed.sql # 15 seed titles
└── .github/workflows/ # CI + npm publish
Development
Prerequisites
- Node.js >= 20
- pnpm 10+
- Supabase CLI (for local development)
Commands
pnpm install # Install dependencies
pnpm dev # Start all packages in dev mode
pnpm build # Build all packages
pnpm test # Run all tests
Per-package
# MCP Server
cd packages/mcp-server
pnpm dev # tsx watch mode
pnpm test # vitest (41 tests)
pnpm inspect # MCP Inspector
# Frontend
cd packages/web
pnpm dev # next dev --turbopack
pnpm build # next build
Environment Variables
# Frontend (packages/web)
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
# MCP Server: anon key is hardcoded in config.ts (public key, safe to embed)
Deployment
| Component | Platform |
|---|---|
| Frontend | Vercel (auto-build from packages/web) |
| Backend | Supabase (hosted) |
| MCP Server | npm (@levelup-log/mcp-server) |
| CI | GitHub Actions |
npm Publishing
git tag mcp-server@0.1.0
git push --tags
# GitHub Actions auto-publishes to npm
Security
- 3-layer rate limiting: Local 60s cooldown → Edge Function 20/hr → Database RLS
- Auth: Google OAuth + PKCE flow, tokens stored locally at
~/.levelup/credentials.json - RLS: All database operations bound to
auth.uid()— users can only access their own data - Sanitization: Edge Functions filter sensitive patterns (emails, IPs, API keys) before storage
License
MIT
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.