Date Math Calculator

com.apishedPublished by apished.comOfficial publisherv1.0.0Updated Oct 28, 2026

Date arithmetic: day differences, business days, age, leap years, day-of-week, add/subtract.

The publisher's own server: APIShed

VerifiedStreamable HTTPWeb executableProductivity & WorkflowDeveloper Tools

Overview

AI-generated overview

Remote MCP server for calendar date arithmetic: add or subtract time, count business days, compute age, day differences, weekdays and leap years.

What you can do
  • Add or subtract years, months and days from a date, with end-of-month clamping
  • Compute age in whole years as of a given or current date
  • Count business days between two dates, with configurable weekdays and holidays
  • Get the day of the week and ISO weekday number for a date
  • Compute the whole-day difference between two dates, negative if reversed
  • Check whether a year is a leap year in the Gregorian calendar
When to use it
Useful when an assistant needs exact, deterministic calendar math rather than estimating: deadlines and business-day counts, age or tenure calculations, date differences, or weekday lookups.
Requirements
A remote streamable HTTP endpoint at apished.com; no package, account, API key or environment variable is declared.
Before you install
Results follow the server's stated conventions, such as end-of-month clamping and treating a Feb-29 birthday as March 1 in non-leap years, so check them against your own rules. Dates are handled as plain calendar dates, not time zones.

How AI overviews are written and checked

Installation

In SourceWeft

  1. Open Date Math Calculator in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.apished%2Fdate-math-calculator/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "date-math-calculator": {
      "type": "http",
      "url": "https://apished.com/mcp/v1/datemath"
    }
  }
}

Tools

6

datemath_add

Adds years/months/days to date. years/months are applied together with end-of-month clamping — e.g. 2026-01-31 + 1 month = 2026-02-28, not an overflowed 2026-03-03. days is then applied as plain calendar-day arithmetic.

Parametersdaterequireddaysyearsmonths

datemath_age

Age in whole years as of asOf (optional, defaults to the current UTC date). A Feb-29 birthDate is treated as falling on March 1 in a non-leap asOf year.

ParametersasOfbirthDaterequired

datemath_businessdays

Counts days in [from, to] (inclusive on both ends) whose weekday is in weekdays (default mon-fri) and which aren't in holidays.

Parameterstorequiredfromrequiredholidaysweekdays

datemath_dayofweek

Day of the week for date: both the weekday name and its ISO 8601 weekday number (1=Monday..7=Sunday).

Parametersdaterequired

datemath_diff

Day difference between two YYYY-MM-DD dates: to minus from, in whole days. Negative if to is before from.

Parameterstorequiredfromrequired

datemath_leapyear

Checks whether year is a leap year in the Gregorian calendar.

Parametersyearrequired

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.

How this score is calculated

Other Apished integrations