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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。