GnistAI GnistAI
Log in

Working Days Calculator

Business day calculator — count working days, add/subtract business days, check weekday status.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Utilities

Data source: Algorithmic

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/working-days/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-working-days": {
      "url": "https://context.gnist.ai/mcp/working-days/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/working-days/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "count_working_days", "arguments": {"start": "example", "end": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/working-days/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/working-days/count_working_days?start=example&end=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/working-days/count_working_days",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "start": "example",
        "end": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc working-days

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

count_working_days
Count business days between two dates (Monday–Friday only).
ParameterTypeRequiredDescription
startstringrequired
endstringrequired
add_working_days
Add N business days to a date and return the resulting date.
ParameterTypeRequiredDescription
datestringrequired
daysintegerrequired
is_working_day
Check whether a given date is a business day (Monday–Friday).
ParameterTypeRequiredDescription
datestringrequired
get_working_days_in_month
List all working days (Monday–Friday) in a given year and month.
ParameterTypeRequiredDescription
yearintegerrequired
monthintegerrequired
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related