@skhatri/date-mcp
v0.7.0
Published
MCP (Model Context Protocol) server for date and time operations
Maintainers
Readme
@skhatri/date-mcp
MCP (Model Context Protocol) server for date and time operations.
Features
- current_datetime: Get the current date and time
- format_date: Format a date string into different formats
- date_diff: Calculate difference between two dates
- add_time: Add time to a date
- is_valid_date: Check if a date string is valid
- days_since: Calculate days since a given date from now
- days_between: Calculate the number of days between two dates
- day_of_year: Get the day of the year (1-366) for a given date
Installation
npm install @skhatri/date-mcpUsage
Add to your MCP configuration:
{
"mcpServers": {
"date-operations": {
"command": "npx",
"args": ["@skhatri/date-mcp"]
}
}
}Development
npm run build
npm test
npm run dev # Watch modeLicense
MIT
