Data source: Algorithmic
https://context.gnist.ai/mcp/working-days/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (5)
count_working_daysCount business days between two dates (Monday–Friday only).
The range is [start, end) — start is inclusive, end is exclusive.
Returns a negative count if end is before start.
Args:
start: Start date in ISO 8601 format (YYYY-MM-DD).
end: End date in ISO 8601 format (YYYY-MM-DD), exclusive.
Returns:
Dictionary with count of working days and calendar days in the range.
| Parameter | Type | Required | Description |
|---|---|---|---|
start | string | required | |
end | string | required |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "count_working_days",
"arguments": {
"start": "example",
"end": "example"
}
}
}add_working_daysAdd N business days to a date and return the resulting date.
Skips weekends (Saturday and Sunday). Supports negative values to subtract days.
Args:
date: Starting date in ISO 8601 format (YYYY-MM-DD).
days: Number of business days to add (negative to subtract).
Returns:
Dictionary with the starting date, days added, and resulting date.
| Parameter | Type | Required | Description |
|---|---|---|---|
date | string | required | |
days | integer | required |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "add_working_days",
"arguments": {
"date": "example",
"days": 1
}
}
}is_working_dayCheck whether a given date is a business day (Monday–Friday).
Args:
date: Date to check in ISO 8601 format (YYYY-MM-DD).
Returns:
Dictionary with is_working_day boolean and day_of_week name.
| Parameter | Type | Required | Description |
|---|---|---|---|
date | string | required |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "is_working_day",
"arguments": {
"date": "example"
}
}
}get_working_days_in_monthList all working days (Monday–Friday) in a given year and month.
Args:
year: The year (e.g. 2026).
month: The month (1–12).
Returns:
Dictionary with count of working days and list of dates.
| Parameter | Type | Required | Description |
|---|---|---|---|
year | integer | required | |
month | integer | required |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_working_days_in_month",
"arguments": {
"year": 1,
"month": 1
}
}
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "report_feedback",
"arguments": {
"feedback": "example"
}
}
}Quick Start
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"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/working-days/",
headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "count_working_days",
"arguments": {
"start": "example",
"end": "example"
}
}
},
)
print(resp.json())