A Model Context Protocol (MCP) server for analyzing 3D vector joint data to detect and provide feedback on yoga poses, exercise form, and posture.
This project provides a medical context analyzer for 3D vector joints that:
- Detects and tracks body postures and joint positions
- Analyzes yoga poses against ideal reference poses
- Provides feedback on pose accuracy and suggested corrections
- Generates comprehensive session reports with medical insights
- Calculates calories burned and exercise benefits
- Real-time Pose Analysis: Compares user poses against ideal reference poses
- Medical Context: Offers insights on health benefits and potential risks
- Exercise Tracking: Monitors pose transitions, pace, and exercise quality
- Comprehensive Reports: Generates detailed session summaries with metrics
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/your-username/ismar-mcp.git
cd ismar-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
The server implements the Model Context Protocol and runs over standard I/O:
node build/index.js
Alternatively, use the binary directly if it's installed globally:
yoga-analyzer
The MCP server provides the following tools:
- list-frames: Lists available yoga pose frames with pagination
- read-frame: Reads a specific yoga pose frame by URI
- generate-session-report: Generates a comprehensive report analyzing the yoga session
The server requires the following data files:
ideal_poses.json
: Contains reference poses for various yoga positionsyoga_medical_info.json
: Medical information about each pose, benefits, and calorie burn ratescurrent_frames.json
: Current session frame data captured from the user
This MCP server can be integrated with any MCP-compatible client, including:
- VR/AR applications
- Fitness tracking systems
- Telemedicine platforms
- Health monitoring applications
src/index.ts
: Main server implementationsrc/types.d.ts
: Type definitionssrc/ideal_poses.json
: Reference pose datasrc/yoga_medical_info.json
: Medical context informationsrc/current_frames.json
: Current session frame data
npm run build
This will generate the built files in the build
directory.
ISC License
@modelcontextprotocol/sdk
: Model Context Protocol SDKzod
: Schema validation library- TypeScript development environment