About Timegangster
Timegangster is an MCP server in the AI category: mCP server for time-related functionalities and timezone conversions.
Install
claude mcp add timegangster -- npx -y mcp-timegangsternpx -y mcp-timegangsterThis 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 Timegangster
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
MCP TimeGangster
A Node.js MCP (Model Context Protocol) server for time-related functionalities and timezone conversions. This package allows LLMs to:
- Get the current time in any timezone
- Convert times between different timezones
Features
- Get current time in any timezone
- Convert time between different timezones
- Support for DST (Daylight Saving Time) awareness
- ISO 8601 compliant datetime output
Installation
# Install globally
npm install -g mcp-timegangster
# Or as a dependency in your project
npm install mcp-timegangster
Usage
As a CLI tool
# Start the MCP server
timegangster
As a module in your project
import { main, getCurrentTimeTool, convertTimeTool } from 'mcp-timegangster';
// Start the MCP server
main();
// Or use the tools directly in your own MCP server
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
const server = new McpServer({
name: 'your-server-name',
version: '1.0.0',
tools: [getCurrentTimeTool, convertTimeTool]
});
Available Tools
1. get_current_time
Get the current time in a specified timezone.
{
"name": "get_current_time",
"arguments": {
"timezone": "Europe/Warsaw" // Optional
}
}
Output:
{
"timezone": "Europe/Warsaw",
"datetime": "2025-04-05T15:30:45.123+02:00",
"is_dst": true
}
2. convert_time
Convert time between different timezones.
{
"name": "convert_time",
"arguments": {
"source_timezone": "America/New_York",
"time": "16:30",
"target_timezone": "Asia/Tokyo"
}
}
Output:
{
"source": {
"timezone": "America/New_York",
"datetime": "2025-04-05T16:30:00.000-04:00",
"is_dst": true
},
"target": {
"timezone": "Asia/Tokyo",
"datetime": "2025-04-06T05:30:00.000+09:00",
"is_dst": false
},
"time_difference": "+13.0h"
}
Development
Building
npm run build
Testing
npm test
Linting
npm run lint
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.