Personal MCP Server
个人 MCP 服务器
用于个人健康和幸福感追踪的模型上下文协议服务器。该服务器提供用于追踪锻炼、营养和每日日记的工具和资源,并通过 Claude 集成进行 AI 辅助分析。
特征
锻炼追踪
记录练习、组数和次数
追踪感知到的努力程度和锻炼后的感受
计算安全训练重量并考虑康复因素
历史锻炼分析
肩部康复支撑
基于RPE的负载管理
营养管理
记录膳食和单个食物项目
追踪蛋白质和卡路里摄入量
监测饥饿和满足程度
每日营养目标和进展
锻炼前/锻炼后营养追踪
进餐时间分析
期刊系统
每日记录心情和精力
睡眠质量和压力水平监测
基于标签的组织
趋势分析和见解
锻炼、营养和幸福感之间的相关性分析
情绪和能量水平的模式识别
Related MCP server: Hevy Fitness MCP Server
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装个人健康追踪器:
npx -y @smithery/cli install personal-mcp --client claude先决条件
Python 3.10 或更高版本
pip 或 uv 包管理器
使用 pip
pip install -e .开发安装
git clone https://github.com/yourusername/personal-mcp.git
cd personal-mcp
uv pip install -e ".[dev]"用法
基本服务器
使用默认设置运行服务器:
personal-mcp run开发模式
使用热重载运行以进行开发:
personal-mcp devMCP 检查器
使用 MCP 检查器进行调试:
personal-mcp inspectClaude 桌面集成
安装到 Claude 桌面:
personal-mcp install --claude-desktop配置选项
personal-mcp --help可用选项:
--name:设置服务器名称(默认值:“个人助理”)--db-path:指定数据库位置--dev:启用开发模式--inspect:使用 MCP 检查器运行-v, --verbose:启用详细日志记录
MCP 工具
健身工具
# Log a workout
workout = {
"date": "2024-01-07",
"exercises": [
{
"name": "Bench Press",
"sets": [
{"weight": 135, "reps": 10, "rpe": 7}
]
}
],
"perceived_effort": 8
}
# Calculate training weights
params = {
"exercise": "Bench Press",
"base_weight": 200,
"days_since_surgery": 90,
"recent_pain_level": 2,
"recent_rpe": 7
}营养工具
# Log a meal
meal = {
"meal_type": "lunch",
"foods": [
{
"name": "Chicken Breast",
"amount": 200,
"unit": "g",
"protein": 46,
"calories": 330
}
],
"hunger_level": 7,
"satisfaction_level": 8
}
# Check nutrition targets
targets = await mcp.call_tool("check_nutrition_targets", {"date": "2024-01-07"})期刊工具
# Create a journal entry
entry = {
"entry_type": "daily",
"content": "Great workout today...",
"mood": 8,
"energy": 7,
"sleep_quality": 8,
"stress_level": 3,
"tags": ["workout", "recovery"]
}
# Analyze entries
analysis = await mcp.call_tool("analyze_journal_entries", {
"start_date": "2024-01-01",
"end_date": "2024-01-07"
})发展
运行测试
# Run all tests
pytest
# Run with coverage
pytest --cov=personal_mcp
# Run specific test file
pytest tests/test_database.py代码质量
# Format code
black src/personal_mcp
# Lint code
ruff check src/personal_mcp
# Type checking
mypy src/personal_mcp项目结构
personal-mcp/
├── src/
│ └── personal_mcp/
│ ├── tools/
│ │ ├── workout.py
│ │ ├── nutrition.py
│ │ └── journal.py
│ ├── database.py
│ ├── models.py
│ ├── resources.py
│ ├── prompts.py
│ └── server.py
├── tests/
│ ├── test_database.py
│ ├── test_server.py
│ └── test_cli.py
├── pyproject.toml
└── mcp.json贡献
分叉存储库
创建功能分支
提交你的更改
推送到分支
创建拉取请求
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Log workouts and meals by telling your AI. 873 exercises, muscle diagrams, food lookup.
- SomviaOAuthapp.somvia
Private Apple Health metrics and workout detail for ChatGPT, Claude, and any MCP client.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that connects AI assistants to your MyFitnessPal data, enabling reading food diaries, nutrition goals, weight measurements, and more via MFP's web scraping.MIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol (MCP) server that provides AI assistants with access to the Hevy fitness tracking API. This allows you to log workouts, manage routines, browse exercises, and track your fitness progress directly through AI chat interfaces.12MIT
- FlicenseNot gradedqualityCmaintenanceA personal health and fitness MCP server that provides tools for managing profile data, goals, body measurements, nutrition, workouts, sleep, check-ins, life events, analytics, and coach memories via Supabase Postgres.1-
- AlicenseNot gradedqualityBmaintenanceSelf-hosted fitness tracking MCP server that gives AI assistants access to your nutrition, training, weight, sleep, and accomplishment data via 77 tools and 5 resources. Enables natural-language logging and querying of personal health metrics through Claude or ChatGPT.1BSD 2-Clause "Simplified"
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/evangstav/personal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server