Give Your AI Agent Biorhythm Intelligence with MCP
Connect your AI agent to biorhythm data via MCP. 6 tool calls, structured JSON, works with Claude, ChatGPT, Cursor, LangChain, and CrewAI.
TL;DR
- MCP (Model Context Protocol) lets AI agents call APIs as tools during conversations, no custom integration code needed
- RoxyAPI ships a remote MCP server for biorhythm with 6 tools: reading, daily, forecast, critical days, compatibility, and phases
- Structured JSON responses with rich field descriptions let agents decide WHEN to call and HOW to summarize results
- Build a biorhythm-aware AI agent in under 30 minutes with the RoxyAPI Biorhythm API
About the author: Brajesh Vashisht is a Vedic Astrologer and KP Systems Specialist with over 22 years of experience in Vedic astrology and Krishnamurti Paddhati. He holds an M.A. in Jyotish Shastra from Banaras Hindu University and has authored two books on KP sub-lord theory and nakshatra analysis.
What is MCP and why does it matter for biorhythm chatbots
Model Context Protocol (MCP) is an open standard that lets AI agents call external APIs as tools during a conversation. Instead of hardcoding HTTP requests into your agent logic, you register a tool server. The agent reads the tool descriptions, decides when a tool is relevant, calls it with the right parameters, and weaves the result into its response.
For biorhythm applications, this changes everything. A user says "How is my energy today?" and the agent calls getDailyBiorhythm, receives structured cycle data, and responds with a personalized wellness summary. No prompt engineering hacks. No static lookup tables. Real calculations, served in real time.
RoxyAPI ships remote MCP servers for every domain, including biorhythm. Six tools, one API key, zero local setup.
Ready to build this? RoxyAPI Biorhythm API gives you 10 cycle types, editorial interpretations, and sub-5ms responses. See pricing.
How the MCP biorhythm server works
The RoxyAPI MCP biorhythm server exposes 6 tools that map directly to the API endpoints:
| Tool (operationId) | What it does |
|---|---|
getReading | Complete 10-cycle analysis for any birth date and target date |
getDailyBiorhythm | Seeded daily reading for consistent check-in features |
getForecast | 90-day forecast with best and worst day identification |
getCriticalDays | Detect zero-crossing days in any date range |
calculateBioCompatibility | Two-person compatibility with per-cycle alignment scores |
getPhases | Lightweight single-day phase status for dashboards and widgets |
Each tool has typed parameters with descriptions. The agent reads these descriptions to decide which tool fits the user query. When a user asks "Am I compatible with my partner?", the agent matches on calculateBioCompatibility because its description mentions "two people", "alignment", and "relationship".
The server URL is:
https://roxyapi.com/mcp/biorhythm-api
No installation, no Docker, no local binary. Point your MCP client at the URL and authenticate with your API key.
Use case: daily energy check-in for wellness chatbots
The most natural biorhythm tool call is the daily check-in. A user opens your chatbot and asks:
"How is my energy today?"
Your agent calls getDailyBiorhythm with an optional seed (the user ID) and receives:
{
"date": "2026-04-11",
"seed": "user-abc-2026-04-11",
"energyRating": 7,
"overallPhase": "high_energy",
"spotlight": {
"cycle": "emotional",
"value": 72,
"phase": "high",
"message": "Your emotional sensitivity and creative energy are elevated..."
},
"quickRead": {
"physical": 45,
"emotional": 72,
"intellectual": -30
},
"dailyMessage": "Your energy is rated 7/10 today...",
"advice": "Engage in creative work and meaningful conversations today."
}
The agent summarizes this naturally: "Your energy is strong today at 7 out of 10. Your emotional cycle is the highlight, sitting at 72%. Great day for creative work and deep conversations. Your intellectual cycle is low, so save complex analysis for later this week."
Same seed and same date always produce the same result. This means your chatbot gives consistent answers if the user asks multiple times in one day.
Use case: relationship compatibility via tool call
A dating app chatbot or couples coaching agent can call calculateBioCompatibility when a user asks:
"Am I compatible with my partner born March 22, 1992?"
The agent sends both birth dates and receives:
{
"person1": { "birthDate": "1990-07-15" },
"person2": { "birthDate": "1992-03-22" },
"targetDate": "2026-04-11",
"overallScore": 72,
"rating": "Well Aligned",
"cycles": {
"physical": {
"person1Value": 74,
"person2Value": 55,
"difference": 19,
"alignment": 90,
"phase": "in_sync",
"description": "Both physical cycles are in their positive phase..."
},
"emotional": {
"alignment": 65,
"phase": "complementary"
},
"intellectual": {
"alignment": 78,
"phase": "in_sync"
}
},
"strengths": ["Strong physical alignment supports shared activities"],
"challenges": ["Emotional rhythms may diverge mid-month"],
"advice": "Plan active dates this week while physical sync is high."
}
The agent delivers: "You and your partner score 72 out of 100 today, rated Well Aligned. Your physical cycles are highly in sync at 90% alignment, making this a great week for shared activities. Watch for emotional divergence mid-month."
Per-cycle scores let the agent give specific, actionable guidance instead of vague compatibility statements.
MCP configuration for Claude Desktop and Cursor
Add this to your Claude Desktop claude_desktop_config.json or Cursor MCP settings:
{
"mcpServers": {
"biorhythm": {
"url": "https://roxyapi.com/mcp/biorhythm-api",
"headers": {
"X-API-Key": "your-api-key-here"
}
}
}
}
That is the entire setup. No npm install, no Docker container, no build step. The remote MCP server handles authentication, rate limiting, and response caching.
For programmatic agent frameworks (LangChain, CrewAI, OpenAI Agents SDK), you connect to the same URL using the framework MCP client. The tools auto-register from the server manifest.
Why structured JSON matters for AI agent biorhythm tools
Generic wellness APIs return paragraphs of text. An AI agent cannot reliably extract structured data from prose. The RoxyAPI biorhythm endpoints return typed JSON with consistent field names across every response:
energyRating(1 to 10): Agents use this for conditional logic ("if energy is below 4, suggest rest")overallPhase: One of four values (high_energy, mixed, recovery, critical) for routing conversation flowcycles.physical.value(-100 to 100): Precise numeric values agents can compare across dayscriticalAlerts[]: Array of alerts agents can surface proactively ("Heads up: your physical cycle crosses zero tomorrow")advice: Pre-written actionable guidance the agent can relay directly
Every field has an OpenAPI description. MCP clients expose these descriptions to the agent model. The agent reads "Overall energy score from 1 (deep recovery) to 10 (peak performance)" and knows exactly when getDailyBiorhythm is the right tool to call.
Deterministic responses also matter. Same input always produces the same output. No hallucination risk from the data layer. The agent can confidently attribute numbers to the API rather than generating them.
This design philosophy extends to every endpoint. The reading endpoint returns 10 cycles with values, phases, trends, and days-until-next-event counters. The compatibility endpoint returns per-cycle alignment scores, an overall rating, strengths, challenges, and advice. Every field is typed and documented. Your agent never has to parse free text or guess at structure.
Works with every major AI agent platform
The MCP biorhythm server works with any platform that supports MCP or HTTP tool calling:
- Claude (Anthropic): Native MCP support in Claude Desktop, Claude Code, and the API
- ChatGPT (OpenAI): Via Actions or OpenAI Agents SDK with MCP client
- Cursor: Native MCP configuration in settings
- LangChain: MCP tool integration via
langchain-mcp-adapters - CrewAI: MCP tools as crew member capabilities
- OpenAI Agents SDK: MCP server as a tool provider
- Windsurf and VS Code Copilot: MCP settings in editor configuration
This coverage means you build the biorhythm logic once and deploy across every agent surface your users prefer. The tool definitions remain identical regardless of which framework consumes them.
For platforms that do not yet support MCP natively, you call the REST API directly. The endpoints are standard POST requests with JSON bodies:
curl -X POST https://roxyapi.com/api/v2/biorhythm/reading \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"birthDate": "1990-07-15", "targetDate": "2026-04-11"}'
The response includes all 10 cycles, energy rating, interpretation, advice, and critical alerts. Everything your agent needs in a single call.
Building a biorhythm AI wellness tool: the full pattern
Here is the architecture for a production biorhythm chatbot:
- User profile stores birth date. Collected once during onboarding.
- Agent has MCP biorhythm tools registered. Six tools available in the tool manifest.
- User asks a wellness question. "How should I plan my week?" or "Is today good for a workout?"
- Agent calls the appropriate tool.
getDailyBiorhythmfor today,getForecastfor the week,getReadingfor a specific date. - Agent summarizes the structured response. Translates numbers and phases into natural language advice.
- Proactive alerts (optional). A background job calls
getCriticalDaysweekly and notifies users before zero-crossing days.
The entire data layer is handled by the API. Your agent code handles conversation flow and user context. Clean separation. No cycle math in your codebase.
Frequently Asked Questions
Q: What is an MCP biorhythm server?
A: An MCP biorhythm server is a remote tool provider that AI agents connect to for real-time biorhythm calculations. The agent calls tools like getDailyBiorhythm or calculateBioCompatibility during conversations and receives structured JSON responses it can summarize for users.
Q: How do I add biorhythm tool calls to my AI chatbot? A: Register the RoxyAPI MCP server URL (https://roxyapi.com/mcp/biorhythm-api) in your agent framework configuration with your API key. The 6 biorhythm tools auto-register and become available for your agent to call during conversations.
Q: Does the biorhythm MCP server work with LangChain and CrewAI?
A: Yes. Any framework with an MCP client can connect to the remote server. LangChain uses langchain-mcp-adapters, CrewAI registers MCP tools as crew capabilities, and OpenAI Agents SDK connects via its native MCP client.
Q: What biorhythm data can an AI agent access through MCP? A: Six tools covering all biorhythm use cases: complete 10-cycle readings, daily check-ins, 90-day forecasts, critical day detection, two-person compatibility scoring, and phase timelines. All responses include structured JSON with numeric values, phase labels, interpretations, and actionable advice.
Q: Is the biorhythm MCP server free? A: The MCP server requires a RoxyAPI subscription. Plans start at $39 per month for 5,000 requests and include access to all 10 MCP servers across every domain. See pricing for details.
Start building your biorhythm AI agent today
MCP biorhythm tool calls give your AI agent real wellness intelligence. No static content, no hallucinated numbers, no manual integration code. Six tools, structured JSON, deterministic results. Your agent asks, the API answers, your user gets personalized biorhythm guidance in natural conversation.
The combination of MCP native support and standard REST fallback means you can ship biorhythm intelligence to any agent framework available today. Whether you are building a wellness chatbot, a dating app with compatibility insights, or a productivity assistant that knows when your user should tackle hard problems, the data layer is ready.
Explore the full endpoint documentation at the Biorhythm API reference, see all features on the product page, or check pricing to get started.