• COUNT
  • TARGET
  • REGIONAL
  • HUMAN

How to calculate workdays with your AI agent

Connect the Holiday API to your agent to handle complex scheduling and deadline math. It handles the regional holiday logic so you don't have to.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I calculate workdays with my AI?

Your agent uses the Holiday API to count business days between two dates or find a specific date in the future based on a workday count. It accounts for regional holidays to ensure your math is accurate. You'll see how your agent handles these calculations below.

The results

Where your scheduling tasks land.

Your agent processes your date requests and delivers these specific outcomes.

COUNT

Business day totals

Your agent calculates the exact number of working days between two specific dates. You get a clean number that ignores weekends and holidays.

TARGET

Future deadline dates

Tell your agent to find a date that is X workdays away. It skips holidays and weekends to give you the correct calendar date.

REGIONAL

Global holiday logic

Your agent applies holiday rules for different countries. This ensures your project timelines stay realistic across different regions.

HUMAN

Manual calendar review

You decide if the calculated dates fit your specific company policy or custom non-working days. Your agent handles the standard holidays, but you manage the internal exceptions.

The workflow

What your agent does when a date request arrives.

Your agent moves from raw dates to actionable business schedules using specific holiday data.

  1. Identify the date range

    Your agent looks at your start and end dates to prepare for the calculation.

    get_workdays_count
  2. Calculate the gap

    Your agent determines the number of business days by subtracting weekends and regional holidays from the total span.

    get_workdays_count
  3. Project future dates

    If you need to find a deadline, your agent counts forward from a start date until it hits the required number of workdays.

    get_next_workday
  4. Verify regional rules

    Your agent checks the specific holiday calendar for the country you mentioned to ensure accuracy.

    get_next_workdayget_workdays_count

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 Holiday API 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 trigger the Holiday API tools.

Starting points

Swap out the bracketed info for your actual dates and countries.

Holiday API Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_SMxFPybnCSX99kH0d7ecnowVLqRi196StERNKHpz/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Holiday API capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "holiday-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_SMxFPybnCSX99kH0d7ecnowVLqRi196StERNKHpz/mcp"
    }
  }
}
Copy into chat04
  • 01

    How many workdays are there between March 1st and April 15th in France?

  • 02

    What is the date 10 workdays from today in the United Kingdom?

  • 03

    Calculate the business days between October 1st and December 25th in the United States.

  • 04

    Find the next workday after July 4th in the US.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Holiday API once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted and secure.

Connect Holiday API to your agent

FAQ

How this task behaves.

  • 01

    Can your agent add my company's custom holidays?

    No. Your agent only uses the standard holiday calendars provided by the API.

  • 02

    Does your agent change my calendar events?

    No. Your agent only performs calculations and provides dates. It cannot write to or modify your calendar.

  • 03

    Can it calculate workdays for any country?

    Yes, as long as the country is supported by the Holiday API's data.

  • 04

    Will it include weekends in the count?

    No. The tools are specifically designed to exclude weekends and holidays from the workday count.

  • 05

    Can I ask for the number of workdays in a specific time zone?

    No. The tools calculate based on calendar dates and country-specific holidays, not time zone offsets.

  • More questions about Holiday API? The Connector page answers them. See everything the Holiday API 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 Holiday API 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 Connect

TypeScript · 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.

    Holiday API 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 Holiday API 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.