@mukundakatta/age-mcp
v0.1.0
Published
MCP server: compute the duration between two dates in years/months/days.
Maintainers
Readme
age-mcp
MCP server: compute the duration between two dates as years / months / days, plus total seconds / hours / days. Handles irregular month lengths and leap years correctly. No deps.
Tool
between
{ "from": "1990-05-10T00:00:00Z", "to": "2026-05-11T00:00:00Z" }→
{
"from": "1990-05-10T00:00:00.000Z",
"to": "2026-05-11T00:00:00.000Z",
"years": 36, "months": 0, "days": 1,
"total_days": 13150, "total_hours": 315600, "total_seconds": 1136160000,
"display": "36 years, 1 day"
}If to is omitted, defaults to now. If from > to, the result is negative.
Configure
{ "mcpServers": { "age": { "command": "npx", "args": ["-y", "@mukundakatta/age-mcp"] } } }License
MIT.
