Advanced time manipulation and conversion
## Chrono MCP Server: Natural Language Date Parsing The **Chrono MCP Server** integrates the powerful natural language date parser directly into Google Antigravity, enabling AI assistants to extract and interpret dates and times from human-readable text programmatically. This integration brings intelligent time parsing to your development workflow. ### Why Chrono MCP? - **Natural Language**: Parse dates from phrases like "next Tuesday" or "in 2 weeks" - **Multiple Formats**: Recognize various date formats including international variations - **Relative Dates**: Handle relative time expressions like "3 days ago" or "next month" - **Time Ranges**: Extract date ranges from expressions like "from Monday to Friday" - **Timezone Aware**: Parse dates with timezone context and conversion ### Key Features #### 1. Date Extraction ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Parse the date from: Meeting scheduled for next Wednesday at 3pm" }], tools=[{ "name": "chrono_parse", "description": "Parse natural language dates" }] ) ``` #### 2. Range Parsing ```python # Parse date ranges response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Extract the date range from: Available from December 15th through January 5th" }], tools=[{"name": "chrono_range", "description": "Parse date ranges"}] ) ``` #### 3. Relative Time ```python # Handle relative expressions response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Calculate the date for: The report is due in 2 weeks and 3 days" }], tools=[{"name": "chrono_relative", "description": "Relative time parsing"}] ) ``` #### 4. Multi-Date Extraction ```python # Extract multiple dates response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Find all dates in: We met on Jan 5th, followed up Feb 10th, closing March 1st" }], tools=[{"name": "chrono_multi", "description": "Extract multiple dates"}] ) ``` ### Configuration ```json { "mcpServers": { "chrono": { "command": "npx", "args": ["-y", "@anthropic/mcp-chrono"], "env": { "DEFAULT_TIMEZONE": "America/New_York" } } } } ``` ### Use Cases **Calendar Integration**: Parse natural language inputs for event scheduling. **Email Processing**: Extract dates and deadlines from email content. **NLP Applications**: Build applications that understand time references in text. **Reminder Systems**: Create reminders from natural language descriptions. The Chrono MCP Server brings natural language date parsing directly into your development workflow, enabling intuitive time handling.
{
"mcpServers": {
"chrono": {
"mcpServers": {
"chrono": {
"args": [
"-y",
"@JMoak/chrono-mcp"
],
"command": "npx"
}
}
}
}
}