About Time Service
Time Service is an MCP server in the AI category: a Model Context Protocol (MCP) server that provides time-related tools for Claude. It has been installed 0 times through Conduid.
Install
claude mcp add time-service -- npx -y @qiyuey/time-servicenpx -y @qiyuey/time-serviceThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Time Service
Powered by Claude · Grounded in docs
Security checks
- ·README presentNot checked yet.
- ·License declaredNot checked yet.
- ·Tests presentNot checked yet.
- ·Dependencies pinnedNot checked yet.
- ·No dynamic code executionNot checked yet.
- ·Scoped permissionsNot checked yet.
README
Time Service
🌍 The most comprehensive time handling MCP server - Beyond simple timezone conversion
Time Service is a powerful Model Context Protocol (MCP) server that brings enterprise-grade time manipulation capabilities to your AI assistant. With 8 specialized tools, it goes far beyond basic timezone queries to solve real-world scheduling, calculation, and business time challenges.
Quick Links: 📦 npm Package • 🐙 GitHub • 📝 Changelog • 📖 MCP Docs
✨ Why Time Service?
🎯 Complete Solution
Time Service provides 8 comprehensive tools covering every time-handling scenario:
- ✅ Time queries - Current time, timestamps, multiple timezones
- ✅ Time calculations - Add/subtract time, calculate differences
- ✅ Timezone operations - Convert between any timezones
- ✅ Business scenarios - Calculate business days, find next occurrences
🚀 Killer Features
🔄 Batch Operations Query multiple timezones in one call - reduce API requests and get instant global time overview:
One call → All timezones with UTC offsets
📅 Business Day Intelligence Automatically skip weekends when calculating deadlines - perfect for project management:
"Add 5 business days to today" → Automatically excludes weekends
⏰ Smart Scheduling Find next occurrence with flexible conditions:
"Next Monday at 2pm" ✓
"Next 15th of the month" ✓
"Next Friday at 14:00" ✓
🎨 Flexible Formatting 4 built-in formats plus custom configurations:
- ISO 8601:
2024-01-15T10:30:00Z - Unix timestamp:
1705315800 - Human-readable:
Monday, January 15, 2024 at 10:30:00 AM - Custom: Any format you need
💪 Production Ready
- ✅ 100% Test Coverage - 115 comprehensive test cases
- ✅ Fully Typed - Complete TypeScript type system
- ✅ Well Documented - Clear examples and guides
- ✅ Zero Installation - Use directly with npx/bunx
🛠️ Available Tools
| Tool | What It Does | Use Case |
|---|---|---|
| get_current_time | Get current time in any format/timezone | Check time across timezones |
| get_timestamp | Get Unix timestamp (seconds/milliseconds) | Generate timestamps for APIs |
| add_time | Add/subtract time periods | "What's the time 3 days from now?" |
| time_diff | Calculate time difference | "How many hours until deadline?" |
| convert_timezone | Convert time between timezones | "NYC 9am is what time in Tokyo?" |
| get_multiple_timezones | Get time in multiple zones at once | Display world clock |
| get_business_days | Calculate business days (skip weekends) | Project deadline calculations |
| next_occurrence | Find next specific day/date/time | "When's next Monday?", "Next 15th?" |
📦 Installation
Add to your MCP client configuration:
{
"mcpServers": {
"time-service": {
"command": "npx",
"args": ["-y", "@qiyuey/time-service"]
}
}
}
Supported runtimes: npm (Node.js), bun
🎯 Usage Examples
Real-World Scenarios
Scenario 1: Global Team Coordination
User: "What time is it in our offices in New York, London, and Tokyo?"
Time Service: Uses get_multiple_timezones
→ Returns all three times with UTC offsets in one response
Scenario 2: Project Deadline Calculation
User: "If we start today, what's the date 10 business days from now?"
Time Service: Uses get_business_days
→ Automatically skips weekends, returns exact date
Scenario 3: Meeting Scheduling
User: "Convert 2pm EST to Tokyo time"
Time Service: Uses convert_timezone
→ Handles daylight saving automatically
Scenario 4: Recurring Event Planning
User: "When's the next Monday at 9am?"
Time Service: Uses next_occurrence
→ Finds exact date and time
API Examples
Get time in multiple timezones:
{
"name": "get_multiple_timezones",
"arguments": {
"timezones": ["America/New_York", "Europe/London", "Asia/Tokyo"],
"format": "readable"
}
}
Calculate business days:
{
"name": "get_business_days",
"arguments": {
"startDate": "2024-01-15T00:00:00Z",
"days": 5,
"excludeWeekends": true
}
}
Find next occurrence:
{
"name": "next_occurrence",
"arguments": {
"dayOfWeek": 1,
"time": "14:00"
}
}
🗺️ Roadmap
P0 - Core Improvements ✅
- ✅ Code Optimization (v0.3.1) - Extracted shared utilities, achieved 100% function coverage
- ✅ Comprehensive Testing - 115 test cases covering all scenarios
P1 - High Priority (Coming Soon)
- 📚 Enhanced Documentation - Detailed guides and tutorials
- 🐳 Docker Support - Container deployment ready
- 🔌 Platform Integration Guides - Claude Desktop, Zed, VS Code
- ⚡ Performance Boost - Caching and optimization
P2 - Medium Priority (Future)
- 🌍 Internationalization - Multi-language support
- 📊 Advanced Calculations - Holiday support, working hours
- 📈 Analytics - Usage statistics and monitoring
- 🐍 Python Version - Expand to Python ecosystem
P3 - Long-term Vision
- 🔄 Auto-updating Timezone Database - Always current
- 🌐 Web API Service - HTTP API version
- 🎨 Custom Holiday Calendars - Region-specific holidays
- 🔗 Third-party Integrations - Calendar systems, project management tools
🤝 Contributing
We welcome contributions! Here's how you can help:
Priority Areas:
- 🐳 Docker deployment configurations
- 📖 Documentation and integration guides
- ✨ New time calculation features
- 🚀 Performance optimizations
How to Contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📚 Resources
🙋 FAQ
Q: What makes Time Service special?
A: We provide 8 comprehensive tools including business day calculations, batch timezone queries, smart occurrence finding, and flexible formatting options - a complete solution for all your time-handling needs.
Q: Do I need to install anything?
A: No! Use npx -y @qiyuey/time-service directly in your MCP configuration.
Q: What timezones are supported?
A: All IANA timezone names (e.g., America/New_York, Asia/Tokyo, Europe/London).
Q: Can I use custom date formats?
A: Yes! Supports ISO, Unix, human-readable, and custom Intl.DateTimeFormat configurations.
Q: Is it production-ready?
A: Absolutely! 100% function coverage, 115 test cases, fully typed, and actively maintained.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
This project also supports the Anti-996 License. By using this software, you agree to comply with labor laws and regulations, and not to force employees to work overtime without reasonable compensation.
Additional Terms:
- This software is for learning, research, and legitimate business use only
- Users must comply with local labor laws and regulations
- Prohibited from using this software to exploit workers or violate labor rights
MIT © qiyuey
Made with ❤️ for the MCP ecosystem
⭐ If you find this useful, please star it on GitHub! ⭐
README mirrored from the source repository 4 months ago. The original is authoritative.