Model Context Protocol (MCP)
AI Agent Integration
Connect AI agents like Claude, ChatGPT, and others directly to our nutrition database using the Model Context Protocol. Designed specifically for AI-to-API communication.
Why use MCP?
Native integration with popular AI assistants (Claude, ChatGPT, etc.)
JSON-RPC 2.0 protocol for seamless AI communication
Structured tool-based access to our data
Secure authentication with API keys
How to Connect
Endpoint
Use this endpoint to connect your AI agent
https://www.dietspremium.com/_mcp
Authentication
Use Bearer token authentication with your API key
Format: Authorization: Bearer client_id:secret_id
Available Tools
Your AI agent can use these tools to access our data
Foods
Search foods with filters (kcal, proteins, fats, carbs)
Recipes
Find and explore recipes
Articles
Access health and nutrition articles
Exercises
Search exercises and training info
Medications
Query medication interactions
Allergens
Get allergen information
Specialists
User profile data (requires auth)
Fitness Clubs
Company/specialist data (requires auth)
Quick Start Guide
1
Create an account or sign in
2
Generate MCP keys in your dashboard
3
Configure your AI agent with the endpoint
4
Start querying!