Skip to main content
Glama

@findtime/mcp-server

@findtime/mcp-server — это тонкая stdio-обёртка MCP поверх продакшн-API findtime.io Time API по адресу https://time-api.findtime.io.

Пакет намеренно проксирует продакшн-API вместо повторной реализации логики времени локально. Текущее время, переход на летнее время (DST), конвертация, пересечение, поиск встреч и определение местоположения должны оставаться согласованными с живым API.

Опубликованные поверхности:

  • npm: @findtime/mcp-server

  • GitHub: https://github.com/hkchao/findtime-mcp-server

  • Официальный реестр MCP: https://registry.modelcontextprotocol.io/?q=io.github.hkchao%2Ffindtime-mcp-server

  • Имя в реестре MCP: io.github.hkchao/findtime-mcp-server

Поверхность инструментов

  • answer_time_question

  • get_findtime_help

  • time_snapshot

  • get_current_time

  • get_dst_schedule

  • convert_time

  • get_overlap_hours

  • find_meeting_time

  • search_timezones

  • get_location_by_id

Отдавайте предпочтение answer_time_question для запутанных естественно-языковых запросов, таких как «3pm PST to London», «what is the IANA timezone for San Francisco?», «working hours overlap for SF, Berlin, and Tokyo» или «what does CST mean?». Инструмент классифицирует запрос через доменную логику findtime.io, направляет его к детерминированному поведению Time API и возвращает структурированную неоднозначность или уточнение, когда мир действительно неоднозначен.

Related MCP server: Time MCP Server

Установка в MCP-клиентах

Используйте опубликованный пакет через npx:

npx -y @findtime/mcp-server

Авторам агентов: разместите SKILL.md рядом с конфигурацией MCP. Он даёт Claude, Codex, Cursor, Cline, Windsurf, кастомным корпоративным ботам и другим LLM-агентам правила работы: когда предпочитать MCP findtime.io, какие инструменты вызывать и как обрабатывать неоднозначность или откат.

Требуемое окружение выполнения:

  • Node 20+

  • FINDTIME_TIME_API_KEY: действующий ключ разработчика findtime.io с https://findtime.io/developers/keys/

Необязательные переменные окружения:

  • FINDTIME_TIME_API_BASE_URL

  • TIME_API_BASE_URL

  • TIME_API_TIMEOUT_MS

  • FINDTIME_BINDING_TYPE для необязательного контекста привязки установки/рабочего пространства. Поддерживаемые значения: slack_team, workspace_id, install_id.

  • FINDTIME_BINDING_VALUE для идентификатора установки/рабочего пространства, соответствующего выбранному типу привязки.

  • FINDTIME_BINDING_HEADER для прямого переопределения имени заголовка в кастомных корпоративных средах.

  • FINDTIME_MCP_CLIENT_ID или FINDTIME_MCP_INSTALL_ID для предоставления стабильного идентификатора клиента. Если опущено, сервер создаёт его локально в каталоге состояния пользователя. При наличии обёртка MCP пересылает его в time-api как X-Findtime-User-ID для корпоративной атрибуции использования.

  • FINDTIME_MCP_CLIENT_TYPE

  • FINDTIME_MCP_TOOL_MODE=answer-only для раскрытия только answer_time_question, get_findtime_help и get_api_diagnostics для корпоративных ботов, которые должны направлять каждый естественно-языковой запрос через answer API.

  • FINDTIME_MCP_INSTRUMENTATION_ENABLED=false для отказа от анонимной телеметрии использования.

  • FINDTIME_MCP_USAGE_TELEMETRY_URL для переопределения конечной точки телеметрии по умолчанию.

Атрибуция конечного пользователя при каждом вызове

Многопользовательские MCP-хосты, такие как боты Slack, Discord и Teams, могут запускать один долгоживущий подпроцесс @findtime/mcp-server, при этом атрибутируя каждый вызов Time API конечному пользователю, который его инициировал. Добавьте необязательное поле _endUserId внутрь объекта arguments вызова инструмента MCP. Сервер удаляет _endUserId из параметров инструмента и пересылает его только как вышестоящий HTTP-заголовок X-Findtime-End-User-ID.

await client.callTool({
  name: "get_current_time",
  arguments: {
    city: "Tokyo",
    _endUserId: "a3f2c1d4e5b6c7d8"
  }
});

Поле необязательно и обратно совместимо. Если _endUserId отсутствует, равно null или пустой строке, заголовок опускается, и атрибуция возвращается к поведению на уровне установки через FINDTIME_MCP_CLIENT_ID или FINDTIME_MCP_INSTALL_ID.

Контракт конфиденциальности: _endUserId должен быть непрозрачным токеном, предоставленным хостом MCP, обычно SHA-256-хэшем идентификатора пользователя платформы, усечённым до 16–32 шестнадцатеричных символов. Не отправляйте сырые адреса электронной почты, имена, идентификаторы Slack/Discord/Teams или другие персональные данные (PII). Избегание PII в этом поле — ответственность хост-приложения.

Сервер защитно проверяет _endUserId: это должна быть строка длиной не более 256 символов, не содержащая CR, LF или других управляющих символов. Сырое значение никогда не логируется сервером.

Cursor

{
  "mcpServers": {
    "findtime": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@findtime/mcp-server"],
      "env": {
        "FINDTIME_MCP_CLIENT_TYPE": "cursor",
        "FINDTIME_TIME_API_BASE_URL": "https://time-api.findtime.io",
        "FINDTIME_TIME_API_KEY": "YOUR_FINDTIME_SECRET_KEY"
      }
    }
  }
}

Codex

[mcp_servers.findtime]
command = "npx"
args = ["-y", "@findtime/mcp-server"]
enabled = true

[mcp_servers.findtime.env]
FINDTIME_MCP_CLIENT_TYPE = "codex"
FINDTIME_TIME_API_BASE_URL = "https://time-api.findtime.io"
FINDTIME_TIME_API_KEY = "YOUR_FINDTIME_SECRET_KEY"
# Optional enterprise install binding:
# FINDTIME_BINDING_TYPE = "workspace_id"
# FINDTIME_BINDING_VALUE = "YOUR_WORKSPACE_ID"

Claude Desktop

{
  "preferences": {
    "...": "keep your existing preferences here"
  },
  "mcpServers": {
    "findtime": {
      "command": "npx",
      "args": ["-y", "@findtime/mcp-server"],
        "env": {
          "FINDTIME_TIME_API_BASE_URL": "https://time-api.findtime.io",
          "FINDTIME_TIME_API_KEY": "YOUR_FINDTIME_SECRET_KEY"
        }
      }
    }
  }

Claude CLI / Claude Code

Добавьте findtime.io с помощью:

claude mcp add --transport stdio \
  --env FINDTIME_TIME_API_BASE_URL=https://time-api.findtime.io \
  --env FINDTIME_TIME_API_KEY=YOUR_FINDTIME_SECRET_KEY \
  --env FINDTIME_MCP_CLIENT_TYPE=claude-cli \
  findtime -- npx -y @findtime/mcp-server

Если ваш Claude CLI использует JSON-конфигурацию, добавьте:

{
  "mcpServers": {
    "findtime": {
      "command": "npx",
      "args": ["-y", "@findtime/mcp-server"],
      "env": {
        "FINDTIME_TIME_API_BASE_URL": "https://time-api.findtime.io",
        "FINDTIME_TIME_API_KEY": "YOUR_FINDTIME_SECRET_KEY",
        "FINDTIME_MCP_CLIENT_TYPE": "claude-cli"
      }
    }
  }
}

Для корпоративных установок минимальным учётным данным всегда является ключ API. Если в среде установки есть стабильный идентификатор рабочего пространства или установки, опционально добавьте:

FINDTIME_BINDING_TYPE=workspace_id
FINDTIME_BINDING_VALUE=YOUR_WORKSPACE_ID

Для установок, специфичных для Slack:

FINDTIME_BINDING_TYPE=slack_team
FINDTIME_BINDING_VALUE=T01ABC123

Проверка установки

Сначала используйте явный запрос с вызовом инструмента:

Use the findtime.io MCP tool get_api_diagnostics.

Затем:

Use the findtime.io MCP tool get_current_time for city "Tokyo" with countryCode "JP".

После успеха переключитесь обратно на обычные естественно-языковые запросы:

Best meeting time between New York, Sydney, and Mumbai?

Локальная разработка

Запустите версию рабочего пространства напрямую:

npm run mcp:start

Сервер пытается загрузить .env.development.local, .env.development, .env.local и .env из:

  • текущего рабочего каталога

  • services/mcp-server

  • корня репозитория

Тесты

Тесты протокола и транспорта:

npm run test:mcp-server

Живые смоук-тесты паритета с продакшном:

npm run test:mcp-server:smoke

Смоук-набор проверяет:

  • search_timezones

  • answer_time_question

  • get_current_time

  • get_dst_schedule

  • convert_time

  • get_overlap_hours

  • find_meeting_time

  • get_location_by_id

Процесс релиза мейнтейнера

Канонический публичный исходный код этого пакета теперь находится в:

  • GitHub: https://github.com/hkchao/findtime-mcp-server

  • npm: @findtime/mcp-server

  • Официальный реестр MCP: https://registry.modelcontextprotocol.io/?q=io.github.hkchao%2Ffindtime-mcp-server

Публикация и обновления версий должны происходить из этого публичного репозитория, а не из этого приватного репозитория приложения.

Стандартный процесс публикации в публичном репозитории:

npm test
npm pack --dry-run
npm publish --access public

Эквивалентные локальные проверки в этом репозитории:

npm run test:mcp-server
npm run mcp:pack

Относитесь к этому репозиторию как к источнику реализации, который изначально создал пакет MCP, а не как к каноническому публичному источнику релизов.

Available Tools

15 tools
answer_time_questionA
Read-onlyIdempotent
Inspect

PREFERRED entry point for vague, messy, or mixed time/timezone/scheduling questions. findtime.io classifies intent and dispatches internally. Use this when the user gives a raw natural-language prompt with a day or date qualifier, such as "Tuesday", "next Friday", "tomorrow", "tonight", "this weekend", "in 3 weeks", or "last Monday". Do not use this to dump structured from/to/time fields; call convert_time, get_current_time, or find_meeting_time when those arguments are already known. If a city is unknown or ambiguous, read candidates and call search_timezones rather than guessing.

Inputs: query (required), now, date, locale, +2 more.

are_they_awakeA
Read-onlyIdempotent
Inspect

Say whether people in other cities are in work, awake, or sleep at a moment. Use for "3pm for me — can I ping Bangalore?". myTime defaults to now. Pass myTimezone as an IANA id or myCity as a place. Paste shareText. A rough window includes a plannerUrl with better aiSlots.

Inputs: date, myCity, myTime, workEnd, +7 more.

check_proposed_timeA
Read-onlyIdempotent
Inspect

Judge a proposed meeting instant for each city. Use when the user already has a clock time, such as "Tuesday 9am PT with London and Tokyo — is that bad?". Pass start as an ISO instant, or as a floating local time with home set to an IANA timezone. Paste shareText. Time API computes the UTC instant, local lines, verdicts, and up to three better aiSlots. Do not invent wall-clock times. If context is set, tell the user that sentence. It says whether daylight saving skipped the local time or made it happen twice.

Inputs: start (required), date, home, workEnd, +5 more.

convert_timeA
Read-onlyIdempotent
Inspect

Convert a source timezone local time into one or more target locations. Requires structured from, to, and time. Do not pass a whole sentence as from or to; use answer_time_question for vague prompts. If a city is unknown or ambiguous, call search_timezones and retry with a candidate suggestedQuery or countryCode instead of guessing. date may be ISO YYYY-MM-DD, or time may include a simple human date phrase such as "3pm Tuesday". When presenting results, copy localTime.weekday, localTime.date, localTime.time12h/time24h, timezone abbreviation, and UTC offset exactly from the tool output; do not recompute or shift day names during synthesis. Route vague or mixed-intent raw prompts to answer_time_question.

Inputs: to (required), from (required), time (required), date, +3 more.

find_meeting_timeA
Read-onlyIdempotent
Inspect

Return ranked meeting suggestions from the production meeting search endpoint. Use when you have structured locations and, optionally, a date. date may be ISO YYYY-MM-DD or a simple human day/date value such as "Thursday", "tomorrow", or "next Friday"; findtime.io resolves it relative to the first location timezone. Paste shareText to the user. plannerUrl carries aiCities, up to three UTC aiSlots, legacy aiTime, and ref=mcp-bot. Do not invent wall-clock times. Route vague or mixed-intent raw prompts to answer_time_question.

Inputs: date, locations, _endUserId, countryCodes, +1 more.

get_api_diagnosticsA
Read-onlyIdempotent
Inspect

Return MCP and findtime Time API diagnostics: running MCP version, latest published version, API base URL, auth configuration, and live health. Call this after auth or connectivity failures. It does not answer time questions.

Inputs: _endUserId.

get_current_timeA
Read-onlyIdempotent
Inspect

Return the production current time payload for a single already-identified city, query, or IANA timezone. Do not use this for conversions, overlaps, or meeting search. If the city is unknown or could be more than one place, call search_timezones and retry with suggestedQuery or countryCode; do not guess. Exact country-name queries may be retried through a canonical city when the resolver can do so deterministically. For relative-date inputs ("Tuesday", "next Friday", "tomorrow", "tonight"), route to answer_time_question.

Inputs: city, query, timezone, _endUserId, +3 more.

get_dst_scheduleA
Read-onlyIdempotent
Inspect

Return the production DST schedule payload, including current abbreviation and transition details. For relative-date inputs ("this week", "next Friday", "tomorrow"), route to answer_time_question, which resolves the relative date and dispatches internally.

Inputs: at, city, year, query, +3 more.

get_findtime_helpA
Read-onlyIdempotent
Inspect

Return enterprise-friendly findtime.io MCP usage help, including supported time-intelligence intents, answer API examples, ambiguity handling examples, and recommended answer-only deployment guidance.

Inputs: _endUserId.

get_location_by_idA
Read-onlyIdempotent
Inspect

Hydrate an exact production location record by stable findtime id returned from search_timezones. Do not invent ids. If search_timezones has not been called, call it first.

Inputs: id (required), _endUserId.

get_overlap_hoursA
Read-onlyIdempotent
Inspect

Return shared business-hours overlap across multiple locations using the production overlap endpoint. Use when you have structured locations and, optionally, a date. date may be ISO YYYY-MM-DD or a simple human day/date value such as "Thursday", "tomorrow", or "next Friday"; findtime.io resolves it relative to the first location timezone. Route vague or mixed-intent raw prompts to answer_time_question.

Inputs: locations (required), date, _endUserId, countryCodes.

rank_recurring_slotA
Read-onlyIdempotent
Inspect

Score who a weekly wall-clock time punishes, including a daylight-saving week when one falls in the next 26 weeks. Use for "Monday 9am PT standup for San Francisco, London, and Bangalore". weekday is a day name. time is a clock such as 9am. home is the IANA timezone of that clock. Paste shareText. The kinder slot and plannerUrl come from the meeting engine. If a week has context, tell the user that sentence. It says whether daylight saving skipped that local time or made it happen twice.

Inputs: home (required), time (required), weekday (required), now, +7 more.

search_timezonesA
Read-onlyIdempotent
Inspect

Disambiguate a city, country, abbreviation, or timezone before calling other tools. Use this when a lookup is unknown or ambiguous, then retry get_current_time, convert_time, or find_meeting_time with candidate.suggestedQuery, candidate.suggestedId, or countryCode. This does not return the current time.

Inputs: query (required), limit, _endUserId, countryCode, +2 more.

send_feedbackAInspect

Report a wrong, incomplete, or unhelpful findtime.io MCP answer. Call this after a tool result that you or the user judged incorrect. Required: tool, query, and whatWasWrong. Optional: expectedAnswer. Only the tool name is sent to findtime.io; the query, expected answer, and other free text stay local and are discarded. Never send names, emails, phone numbers, IP addresses, or raw user ids.

Inputs: tool (required), query (required), whatWasWrong (required), _endUserId, +1 more.

time_snapshotC
Read-onlyIdempotent
Inspect

Return the production time snapshot payload for one location or a list of locations.

Inputs: query, locations, _endUserId, countryCode, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools target clearly distinct time-intelligence operations, and descriptions explicitly route vague prompts to answer_time_question versus structured inputs to specific tools. However, time_snapshot versus get_current_time, and are_they_awake versus check_proposed_time, require careful reading to distinguish. The umbrella answer_time_question also intentionally overlaps many tools, which is helpful but adds some selection ambiguity.

    Naming Consistency4/5

    Names are predominantly snake_case and verb-led, such as get_current_time, convert_time, find_meeting_time, and search_timezones. Minor deviations include the noun-only time_snapshot and the question-style are_they_awake. Overall the convention is predictable despite a few exceptions.

    Tool Count5/5

    The 15 tools are well matched to the server's broad time and scheduling domain, covering lookup, conversion, DST, overlap, meeting search, proposed-time checks, recurring slots, diagnostics, help, and feedback. No obvious filler tools appear, and the count stays within a reasonable range for the scope.

    Completeness5/5

    The surface covers the full lifecycle of timezone and meeting questions: disambiguation, location hydration, current time, conversion, DST schedules, overlap hours, meeting finding, proposed-time judging, recurring-slot ranking, awake checks, natural-language Q&A, diagnostics, and feedback. There are no obvious dead ends for the stated domain.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Gives large language models time awareness capabilities through various time-related functions including current time retrieval, timezone conversion, and relative time calculations.
      6
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides time and timezone functionality for LLMs, enabling them to get current time information across different timezones and convert times between zones.
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to get current time information for any timezone worldwide, including available regions, cities, and ISO 8601 formatted timestamps with timezone offsets.
      8
      -
    • A
      license
      B
      quality
      D
      maintenance
      Provides current time information and timezone conversion capabilities using IANA timezone names with automatic system detection. It enables LLMs to fetch local or global times and convert specific timestamps between different regions.
      2
      2
      MIT