- DATA
- LOGS
- ANALYSIS
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How do I turn my sleep timestamps into total hours?
Give your agent the time you went to bed and the time you woke up. It uses the get_sleep_duration tool to output the exact hours and minutes spent sleeping. You get a clear breakdown of your rest periods.
Where each calculation lands.
The outcomes of your sleep tracking.
Your agent processes raw timestamps into usable sleep metrics.
DATA
Total sleep time
Your agent uses get_sleep_duration to find the gap between your timestamps. You get a clean number of hours and minutes.
LOGS
Sleep history
Your agent organizes multiple sleep windows into a readable list. This helps you see patterns over several days.
ANALYSIS
Sleep trends
Your agent compares different sleep durations to show how your rest changes. You get a summary of your sleep consistency.
HUMAN
Manual adjustments
If your timestamps are messy or missing, you decide how to fix them. Your agent cannot guess when you actually fell asleep if the data isn't there.
The workflow
What your agent does when the timestamps arrive.
Your agent moves from raw data to a finished duration report.
Receive timestamps
Your agent takes the bedtimes and wake times you provide in chat.
get_sleep_durationCalculate duration
Your agent runs the math to find the exact time elapsed between those two points.
get_sleep_durationFormat results
Your agent converts the raw math into a human-readable format like '7 hours and 15 minutes'.
get_sleep_durationSummarize patterns
Your agent looks at your recent sleep windows to provide a total or average.
get_sleep_duration
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Sleep Window Duration tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to get your sleep math done immediately.
Starting points
Swap the bracketed info with your actual sleep times.
Sleep Window Duration Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_sjLCEGHMUx55YsHpQoBx3f58VTyrz0CJ02zUIlhT/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Sleep Window Duration capabilities are ready to use.
{
"mcpServers": {
"sleep-window-duration-mcp": {
"url": "https://edge.vinkius.com/vk_preview_sjLCEGHMUx55YsHpQoBx3f58VTyrz0CJ02zUIlhT/mcp"
}
}
}- 01
Calculate my sleep duration for when I went to bed at 10:30 PM and woke up at 6:45 AM.
- 02
How much sleep did I get if my sleep window was from 11:15 PM to 7:00 AM?
- 03
Check my sleep duration for these timestamps: Bedtime 11:00 PM, Wake time 6:30 AM.
- 04
Summarize my sleep duration for the last three entries I provided.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Sleep Window Duration once, then ask.
One click connects this MCP to your client. Your login stays encrypted and the setup is handled on our end.
Connect Sleep Window Duration to your agentFAQ
How this task behaves.
- 01
Can your agent calculate sleep if I only give it one timestamp?
No. Your agent needs both a bedtime and a wake time to calculate a duration.
- 02
Does your agent change my original sleep logs?
No. Your agent only reads the timestamps you provide to perform calculations. It does not modify your source data.
- 03
Can your agent tell me why I feel tired?
No. The tool only calculates the time between two timestamps. It cannot analyze your health or sleep quality.
- 04
Will it work with my existing sleep tracking app?
It works with any data you paste into the chat. It does not automatically pull data from third-party health apps unless you provide those timestamps.
- 05
Does it handle overnight sleep correctly?
Yes. The tool accounts for sleep windows that cross over midnight.
More questions about Sleep Window Duration? The Connector page answers them. See everything the Sleep Window Duration Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Sleep Window Duration to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Sleep Window Duration plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Sleep Window Duration to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









