Bring Fitness Tracking
to Pydantic AI
Create your Vinkius account to connect API Ninjas to Pydantic AI and start using all 8 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the API Ninjas MCP Server?
Connect to API Ninjas and access a comprehensive suite of health and fitness tools through natural conversation.
What you can do
- Exercise Search — Search 1000+ exercises by name, type, muscle group and difficulty with step-by-step instructions
- Calories Burned — Calculate calories burned for various activities based on weight and duration
- Body Fat — Estimate body fat percentage using the US Navy method
- BMR & TDEE — Calculate Basal Metabolic Rate and Total Daily Energy Expenditure
- Nutrition — Get nutritional info for any food item (calories, protein, carbs, fat)
- Sleep — Get recommended sleep duration based on age and gender
- Steps — Calculate calories burned and distance from step count
How it works
- Subscribe to this server
- Enter your API Ninjas API Key (free registration)
- Start exploring health data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Fitness Enthusiasts — discover exercises, track calories and calculate fitness metrics
- Personal Trainers — find exercises by muscle group, calculate client BMR and TDEE
- Nutritionists — look up nutritional info for food items and estimate body fat
Built-in capabilities (8)
Requires weight (kg), height (cm), age and gender. Returns BMR value in calories/day. Calculate Basal Metabolic Rate
Requires waist, neck and height measurements (in cm). For women, also requires hip measurement. Returns body fat percentage and category (lean, fitness, acceptable, obese). Estimate body fat percentage
Requires activity name, weight (kg) and duration (minutes). Returns activity name, duration, calories burned and MET value. Calculate calories burned for an activity
Supports filtering by name, type (cardio, olympic_weightlifting, plyometrics, powerlifting, strength, stretching, strongman), muscle (abdominals, abductors, adductors, biceps, calves, chest, forearms, glutes, hamstrings, lats, lower_back, middle_back, neck, quadriceps, traps, triceps) and difficulty (beginner, intermediate, expert). Returns exercise name, type, muscle worked, equipment needed, difficulty level and step-by-step instructions. Search exercises by name, type, muscle or difficulty
Returns calories, protein, carbohydrates, fat, saturated fat, cholesterol, sodium, potassium, fiber and sugar per 100g serving. Get nutrition info for a food item
Returns recommended sleep range and whether current sleep is adequate. Get recommended sleep duration
Requires step count and optionally weight (kg), height (cm), age and gender for more accurate calculations. Calculate calories and distance from steps
Requires weight (kg), height (cm), age, gender and activity level. Returns TDEE value in calories/day with breakdown by activity level. Calculate Total Daily Energy Expenditure
Why Pydantic AI?
Pydantic AI validates every API Ninjas tool response against typed schemas, catching data inconsistencies at build time. Connect 8 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your API Ninjas integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your API Ninjas connection logic from agent behavior for testable, maintainable code
API Ninjas in Pydantic AI
Why run API Ninjas with Vinkius?
The API Ninjas connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 8 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect API Ninjas using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
API Ninjas and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect API Ninjas to Pydantic AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
API Ninjas for Pydantic AI
Every request between Pydantic AI and API Ninjas is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get an API Ninjas key?
Sign up for free at api-ninjas.com/register. Free tier includes 10,000 requests/month.
What exercises are available?
The database includes 1000+ exercises covering cardio, strength training, stretching, plyometrics, powerlifting, Olympic weightlifting and strongman. Each exercise includes step-by-step instructions and equipment needed.
How can I calculate my daily calorie needs?
Use the calculate_bmr tool to find your Basal Metabolic Rate, then multiply it by your activity level to get your TDEE (Total Daily Energy Expenditure). This tells you exactly how many calories you need to maintain your current weight.
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your API Ninjas MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Stirling PDF
11 toolsManage PDF documents via Stirling PDF — add watermarks, convert images to PDF, sign documents with certificates, and monitor server metrics directly.

NationBuilder
12 toolsOrganize communities, run campaigns, and mobilize supporters with a platform built for political and nonprofit leadership.

Typesense Cloud
6 toolsAutomate search cluster workflows via Typesense Cloud — monitor performance metrics, check cluster health, manage aliases, and execute multi-searches.

Alchemy
6 toolsManage blockchain data — audit wallets, NFTs, and transactions via AI.
