MCP Integration
Saturday provides a native Model Context Protocol (MCP) server, allowing AI agents to discover and use Saturday’s nutrition intelligence tools without custom API integration code.What is MCP?
MCP is an open standard that lets AI models discover and use external tools. Instead of writing custom API client code, an AI agent connects to Saturday’s MCP server and automatically discovers available nutrition tools — their inputs, outputs, descriptions, and safety constraints. Think of it as USB for AI tools: plug in and it works.Why use Saturday via MCP?
| Approach | Best for |
|---|---|
| Direct API | Traditional server-side integrations, custom UIs |
| SDK | TypeScript/Python applications with typed interfaces |
| MCP | AI agents, LLM-powered platforms, automated nutrition workflows |
Connecting to Saturday’s MCP server
Server configuration
Add Saturday to your MCP client configuration:Available tools
When your agent connects, it discovers tools including:| Tool | Description |
|---|---|
calculate_nutrition | Calculate fuel/hydration/electrolyte prescription for an activity |
compare_scenarios | Compare prescriptions across different conditions |
search_products | Search the curated nutrition product database |
get_athlete_profile | Retrieve an athlete’s profile and settings |
create_activity | Create an activity for an athlete |
get_prescription | Get the prescription for an existing activity |
infer_activity_type | Infer activity type from metadata |
search_knowledge | Search Saturday’s sports nutrition knowledge base |
Example: Claude agent with Saturday MCP
Here’s how a Claude-powered agent might use Saturday’s tools in a conversation: Athlete asks: “I have a 3-hour bike race on Saturday. It’s going to be 30C and humid. What should I eat?” Agent’s tool calls:calculate_nutritionwith{activity_type: "bike", duration_min: 180, intensity_level: 8, is_race: true, thermal_stress_level: 8}search_productswith{category: "gel", caffeine: false}(based on athlete preferences)
Safety-aware tool descriptions
Saturday’s MCP tools include safety metadata in their descriptions. This ensures AI agents know that:- Prescriptions are guidance for human consideration, not automated commands
- Safety warnings must be surfaced to the user
- The
not_instructions: truefield means “present this to the human, don’t execute it”
Tool call example
AI agent guidelines
When building AI agents that consume Saturday via MCP:Do
- Surface all safety warnings to the human user
- Present prescriptions as recommendations, not commands
- Include “Powered by Saturday” attribution for teaser-tier responses
- Cache results when inputs haven’t changed — prescriptions are deterministic
- Handle errors gracefully — if a tool call fails, explain why to the user
Don’t
- Don’t autonomously act on prescriptions (e.g., auto-ordering supplements)
- Don’t strip safety metadata from results before presenting to users
- Don’t modify prescription numbers based on your own logic
- Don’t use response data for ML training — this violates Saturday’s data policy
- Don’t make excessive tool calls — batch when possible
LLM discoverability
Saturday publishes machine-readable context files for AI agents:| File | URL | Purpose |
|---|---|---|
llms.txt | https://api.saturday.fit/llms.txt | Brief API overview for LLM context |
llms-full.txt | https://api.saturday.fit/llms-full.txt | Complete API documentation for LLM context |