io.github.rog0x/time

السجل الرسمي الخرائط والسفر والطقس

Timezone, dates, cron, timestamps for AI agents

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @rog0x/mcp-time-tools
Claude Code
claude mcp add time -- npx -y @rog0x/mcp-time-tools@1.0.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "time": {
            "command": "npx",
            "args": [
                "-y",
                "@rog0x/mcp-time-tools@1.0.2"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mcp-time-tools
  2. Tools
  3. Setup
  4. Usage with Claude Desktop
  5. Development

mcp-time-tools

Date, time, and timezone tools for AI agents via the Model Context Protocol (MCP).

Built entirely with native JavaScript Date and Intl APIs -- no external date libraries required.

Tools

Timezone Converter
  • convert_timezone -- Convert a date/time from one timezone to another
  • list_timezones -- List common timezones with current UTC offsets
  • current_time_multi -- Show current time in multiple timezones at once
  • time_difference -- Calculate the time difference between two timezones
Date Calculator
  • date_add_subtract -- Add or subtract days, weeks, months, or years from a date
  • date_difference -- Calculate the difference between two dates in various units
  • business_days -- Count business days between dates or add business days to a date
Cron Parser
  • parse_cron -- Parse a cron expression into a human-readable description
  • cron_next_runs -- Calculate the next N execution times for a cron expression
  • validate_cron -- Validate a cron expression and explain any errors
  • generate_cron -- Generate a cron expression from a human-readable description
Timestamp Converter
  • timestamp_to_date -- Convert Unix timestamp (seconds or milliseconds) to readable formats
  • date_to_timestamp -- Convert a date/time string to Unix timestamps
  • current_timestamp -- Get the current Unix timestamp and formatted date/time
Duration Formatter
  • format_duration -- Convert seconds to human-readable duration (e.g. 2h 30m 15s)
  • parse_duration -- Parse a human-readable duration string to seconds
  • time_ago -- Calculate relative time description (e.g. "5 minutes ago")
  • countdown -- Calculate time remaining until a target date/time

Setup

npm install
npm run build

Usage with Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "time-tools": {
      "command": "node",
      "args": ["D:/products/mcp-servers/mcp-time-tools/dist/index.js"]
    }
  }
}

Development

npm install
npm run build
npm start

الأسئلة الشائعة

ما هو io.github.rog0x/time؟

Timezone, dates, cron, timestamps for AI agents

كيف أثبّت io.github.rog0x/time؟

يعمل على جهازك. في Claude Code: claude mcp add time -- npx -y @rog0x/mcp-time-tools@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.rog0x/time إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.rog0x/time مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون io.github.rog0x/time؟

ينشره rog0x. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.