@findtime/mcp-server
@findtime/mcp-server
@findtime/mcp-server es un wrapper MCP stdio ligero sobre la API de tiempo de producción de findtime.io en https://time-api.findtime.io.
El paquete actúa intencionalmente como proxy de la API de producción en lugar de reimplementar la lógica de tiempo localmente. La hora actual, el horario de verano (DST), la conversión, la superposición, la búsqueda de reuniones y la resolución de ubicaciones deben mantenerse alineados con la API en vivo.
Superficies publicadas:
npm:
@findtime/mcp-serverGitHub:
https://github.com/hkchao/findtime-mcp-serverRegistro oficial de MCP:
https://registry.modelcontextprotocol.io/?q=io.github.hkchao%2Ffindtime-mcp-serverNombre en el registro de MCP:
io.github.hkchao/findtime-mcp-server
Superficie de herramientas
answer_time_questionget_findtime_helptime_snapshotget_current_timeget_dst_scheduleconvert_timeget_overlap_hoursfind_meeting_timesearch_timezonesget_location_by_id
Prefiere answer_time_question para consultas complejas en lenguaje natural como "3pm PST a Londres", "¿cuál es la zona horaria IANA para San Francisco?", "superposición de horas laborales para SF, Berlín y Tokio" o "¿qué significa CST?". La herramienta clasifica la consulta mediante la lógica de dominio de findtime.io, la envía al comportamiento determinista de la API de tiempo y devuelve ambigüedad estructurada o aclaraciones cuando el mundo es genuinamente ambiguo.
Related MCP server: Time MCP Server
Instalar en clientes MCP
Usa el paquete publicado a través de npx:
npx -y @findtime/mcp-serverPara autores de agentes, incluye SKILL.md junto con la configuración de MCP. Proporciona a Claude, Codex, Cursor, Cline, Windsurf, bots empresariales personalizados y otros agentes LLM las reglas operativas sobre cuándo preferir findtime.io MCP, qué herramientas llamar y cómo manejar la ambigüedad o el respaldo.
Entorno de ejecución requerido:
Node 20+
FINDTIME_TIME_API_KEY: una clave de desarrollador válida defindtime.iodesdehttps://findtime.io/developers/keys/
Variables de entorno opcionales:
FINDTIME_TIME_API_BASE_URLTIME_API_BASE_URLTIME_API_TIMEOUT_MSFINDTIME_BINDING_TYPEpara contexto opcional de instalación/vinculación de espacio de trabajo. Valores admitidos:slack_team,workspace_id,install_id.FINDTIME_BINDING_VALUEpara el identificador de instalación/espacio de trabajo que coincide con el tipo de vinculación seleccionado.FINDTIME_BINDING_HEADERpara sobrescribir el nombre del encabezado directamente en entornos empresariales personalizados.FINDTIME_MCP_CLIENT_IDoFINDTIME_MCP_INSTALL_IDpara proporcionar un identificador de cliente estable. Si se omite, el servidor crea uno localmente en el directorio de estado del usuario. Cuando está presente, el wrapper MCP lo reenvía atime-apicomoX-Findtime-User-IDpara la atribución de uso empresarial.FINDTIME_MCP_CLIENT_TYPEFINDTIME_MCP_TOOL_MODE=answer-onlypara exponer soloanswer_time_question,get_findtime_helpyget_api_diagnosticspara bots empresariales que deben enrutar cada solicitud en lenguaje natural a través de la API de respuestas.FINDTIME_MCP_INSTRUMENTATION_ENABLED=falsepara optar por no participar en la telemetría de uso anónima.FINDTIME_MCP_USAGE_TELEMETRY_URLpara sobrescribir el endpoint de telemetría predeterminado.
Atribución de usuario final por llamada
Los hosts MCP multiusuario, como los bots de Slack, Discord y Teams, pueden ejecutar un subproceso de larga duración de @findtime/mcp-server mientras atribuyen cada llamada a la API de tiempo al usuario final que la desencadenó. Agrega un campo opcional _endUserId dentro del objeto arguments de la llamada a la herramienta MCP. El servidor elimina _endUserId de los parámetros de la herramienta y lo reenvía solo como el encabezado HTTP X-Findtime-End-User-ID ascendente.
await client.callTool({
name: "get_current_time",
arguments: {
city: "Tokyo",
_endUserId: "a3f2c1d4e5b6c7d8"
}
});El campo es opcional y compatible con versiones anteriores. Si _endUserId falta, es null o una cadena vacía, el encabezado se omite y la atribución vuelve al comportamiento a nivel de instalación de FINDTIME_MCP_CLIENT_ID o FINDTIME_MCP_INSTALL_ID.
Contrato de privacidad: _endUserId debe ser un token opaco proporcionado por el host MCP, típicamente un hash SHA-256 del ID de usuario de la plataforma truncado a 16-32 caracteres hexadecimales. No envíes direcciones de correo electrónico sin procesar, nombres, IDs de Slack/Discord/Teams u otra PII. Evitar PII en este campo es responsabilidad de la aplicación host.
El servidor valida _endUserId de manera defensiva: debe ser una cadena, de máximo 256 caracteres, y no debe contener CR, LF u otros caracteres de control. El valor sin procesar nunca se registra en el servidor.
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
Agrega findtime.io con:
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-serverSi tu Claude CLI usa configuración JSON en su lugar, agrega:
{
"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"
}
}
}
}Para instalaciones empresariales, la credencial mínima es siempre la clave de API. Si el entorno de instalación tiene un identificador de espacio de trabajo o instalación estable, opcionalmente agrega:
FINDTIME_BINDING_TYPE=workspace_id
FINDTIME_BINDING_VALUE=YOUR_WORKSPACE_IDPara instalaciones específicas de Slack:
FINDTIME_BINDING_TYPE=slack_team
FINDTIME_BINDING_VALUE=T01ABC123Verificar instalación
Usa primero una solicitud explícita de llamada a herramienta:
Use the findtime.io MCP tool get_api_diagnostics.Luego:
Use the findtime.io MCP tool get_current_time for city "Tokyo" with countryCode "JP".Después de que eso tenga éxito, vuelve a las solicitudes normales en lenguaje natural:
Best meeting time between New York, Sydney, and Mumbai?Desarrollo local
Ejecuta la versión del espacio de trabajo directamente:
npm run mcp:startEl servidor intenta cargar .env.development.local, .env.development, .env.local y .env desde:
el directorio de trabajo actual
services/mcp-serverla raíz del repositorio
Pruebas
Pruebas de protocolo y transporte:
npm run test:mcp-serverPruebas de humo de paridad de producción en vivo:
npm run test:mcp-server:smokeLa suite de humo verifica:
search_timezonesanswer_time_questionget_current_timeget_dst_scheduleconvert_timeget_overlap_hoursfind_meeting_timeget_location_by_id
Flujo de lanzamiento del mantenedor
La fuente pública canónica de este paquete ahora vive en:
GitHub:
https://github.com/hkchao/findtime-mcp-servernpm:
@findtime/mcp-serverRegistro oficial de MCP:
https://registry.modelcontextprotocol.io/?q=io.github.hkchao%2Ffindtime-mcp-server
Las publicaciones y actualizaciones de versión deben realizarse desde ese repositorio público, no desde este repositorio de aplicación privado.
Flujo de publicación estándar en el repositorio público:
npm test
npm pack --dry-run
npm publish --access publicLas verificaciones locales equivalentes en este repositorio son:
npm run test:mcp-server
npm run mcp:packTrata este repositorio como la fuente de implementación que originalmente produjo el paquete MCP, no como la fuente de lanzamiento pública canónica.
Available Tools
15 toolsanswer_time_questionARead-onlyIdempotentInspect
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_awakeARead-onlyIdempotentInspect
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_timeARead-onlyIdempotentInspect
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_timeARead-onlyIdempotentInspect
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_timeARead-onlyIdempotentInspect
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_diagnosticsARead-onlyIdempotentInspect
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_timeARead-onlyIdempotentInspect
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_scheduleARead-onlyIdempotentInspect
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_helpARead-onlyIdempotentInspect
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_idARead-onlyIdempotentInspect
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_hoursARead-onlyIdempotentInspect
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_slotARead-onlyIdempotentInspect
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_timezonesARead-onlyIdempotentInspect
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_snapshotCRead-onlyIdempotentInspect
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
Scored across 15 tools
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.
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.
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.
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
Related MCP Connectors
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Current time, timezone conversion & date math for AI agents. On Cloudflare Workers.
Deterministic time tools for AI agents: timezone conversion, business-day math, cron interpretation.
Convert times across timezones with DST, and find meeting slots across working hours and holidays.
Related MCP Servers
- AlicenseBqualityDmaintenanceGives large language models time awareness capabilities through various time-related functions including current time retrieval, timezone conversion, and relative time calculations.6MIT
- AlicenseBqualityDmaintenanceProvides time and timezone functionality for LLMs, enabling them to get current time information across different timezones and convert times between zones.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to get current time information for any timezone worldwide, including available regions, cities, and ISO 8601 formatted timestamps with timezone offsets.8-
- AlicenseBqualityDmaintenanceProvides 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.22MIT