MCP server for time in cities around the world, time zones, DST, conversion, and meetings.
@findtime/mcp-server is a thin stdio MCP wrapper over the production findtime.io Time API at https://time-api.findtime.io.
The package intentionally proxies the production API instead of re-implementing time logic locally. Current time, DST, conversion, overlap, meeting search, and location resolution should stay aligned with the live API.
Published surfaces:
@findtime/mcp-serverhttps://github.com/hkchao/findtime-mcp-serverhttps://registry.modelcontextprotocol.io/?q=io.github.hkchao%2Ffindtime-mcp-serverio.github.hkchao/findtime-mcp-serveranswer_time_questionget_findtime_helptime_snapshotget_current_timeget_dst_scheduleconvert_timeget_overlap_hoursfind_meeting_timesearch_timezonesget_location_by_idPrefer answer_time_question for messy natural-language prompts such as "3pm PST to London", "what is the IANA timezone for San Francisco?", "working hours overlap for SF, Berlin, and Tokyo", or "what does CST mean?". The tool classifies the prompt through findtime.io's domain logic, dispatches to deterministic Time API behavior, and returns structured ambiguity or clarification when the world is genuinely ambiguous.
Use the published package through npx:
npx -y @findtime/mcp-server
For agent authors, include SKILL.md alongside the MCP config.
It gives Claude, Codex, Cursor, Cline, Windsurf, custom company bots, and other
LLM agents the operating rules for when to prefer findtime.io MCP, which tools
to call, and how to handle ambiguity or fallback.
Required runtime:
FINDTIME_TIME_API_KEY: a valid findtime.io developer key from https://findtime.io/developers/keys/Optional environment variables:
FINDTIME_TIME_API_BASE_URLTIME_API_BASE_URLTIME_API_TIMEOUT_MSFINDTIME_BINDING_TYPE for optional install/workspace binding context. Supported values: slack_team, workspace_id, install_id.FINDTIME_BINDING_VALUE for the install/workspace identifier that matches the selected binding type.FINDTIME_BINDING_HEADER to override the header name directly for custom enterprise environments.FINDTIME_MCP_CLIENT_ID or FINDTIME_MCP_INSTALL_ID to provide a stable client identifier. If omitted, the server creates one locally under the user's state directory. When present, the MCP wrapper forwards it to time-api as X-Findtime-User-ID for enterprise usage attribution.FINDTIME_MCP_CLIENT_TYPEFINDTIME_MCP_TOOL_MODE=answer-only to expose only answer_time_question, get_findtime_help, and get_api_diagnostics for enterprise bots that should route every natural-language request through the answer API.FINDTIME_MCP_INSTRUMENTATION_ENABLED=false to opt out of anonymous usage telemetry.FINDTIME_MCP_USAGE_TELEMETRY_URL to override the default telemetry endpoint.Multi-user MCP hosts such as Slack, Discord, and Teams bots can run one long-lived @findtime/mcp-server subprocess while still attributing each Time API call to the end-user who triggered it. Add an optional _endUserId field inside the MCP tool call arguments object. The server strips _endUserId from the tool parameters and forwards it only as the upstream X-Findtime-End-User-ID HTTP header.
await client.callTool({
name: "get_current_time",
arguments: {
city: "Tokyo",
_endUserId: "a3f2c1d4e5b6c7d8"
}
});
The field is optional and backward-compatible. If _endUserId is missing, null, or an empty string, the header is omitted and attribution falls back to the install-level FINDTIME_MCP_CLIENT_ID or FINDTIME_MCP_INSTALL_ID behavior.
Privacy contract: _endUserId must be an opaque token supplied by the MCP host, typically a SHA-256 hash of the platform user ID truncated to 16-32 hex characters. Do not send raw email addresses, names, Slack/Discord/Teams IDs, or other PII. Avoiding PII in this field is the host application's responsibility.
The server validates _endUserId defensively: it must be a string, at most 256 characters, and must not contain CR, LF, or other control characters. The raw value is never logged by the server.
{
"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"
}
}
}
}
[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"
{
"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"
}
}
}
}
Add findtime.io with:
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
If your Claude CLI uses JSON config instead, add:
{
"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"
}
}
}
}
For enterprise installs, the minimum credential is always the API key. If the install environment has a stable workspace or installation identifier, optionally add:
FINDTIME_BINDING_TYPE=workspace_id
FINDTIME_BINDING_VALUE=YOUR_WORKSPACE_ID
For Slack-specific installs:
FINDTIME_BINDING_TYPE=slack_team
FINDTIME_BINDING_VALUE=T01ABC123
Use an explicit tool-call prompt first:
Use the findtime.io MCP tool get_api_diagnostics.
Then:
Use the findtime.io MCP tool get_current_time for city "Tokyo" with countryCode "JP".
After that succeeds, switch back to normal natural-language prompts:
Best meeting time between New York, Sydney, and Mumbai?
Run the workspace version directly:
npm run mcp:start
The server attempts to load .env.development.local, .env.development, .env.local, and .env from:
services/mcp-serverProtocol and transport tests:
npm run test:mcp-server
Live production-parity smoke tests:
npm run test:mcp-server:smoke
The smoke suite checks:
search_timezonesanswer_time_questionget_current_timeget_dst_scheduleconvert_timeget_overlap_hoursfind_meeting_timeget_location_by_idThe canonical public source for this package now lives in:
https://github.com/hkchao/findtime-mcp-server@findtime/mcp-serverhttps://registry.modelcontextprotocol.io/?q=io.github.hkchao%2Ffindtime-mcp-serverPublish and version updates should happen from that public repo, not from this private app repo.
Standard publish flow in the public repo:
npm test
npm pack --dry-run
npm publish --access public
The equivalent local verification checks in this repo are:
npm run test:mcp-server
npm run mcp:pack
Treat this repo as the implementation source that originally produced the MCP package, not as the canonical public release source.
The npm package @findtime/mcp-server and GitHub repository
hkchao/findtime-mcp-server are the findtime.io MCP distribution channels.
Product documentation: https://findtime.io/developers/mcp/
All tools query time information, suggest meeting times, or return help and
diagnostics; they do not book meetings or modify calendars. They declare
readOnlyHint: true, destructiveHint: false, idempotentHint: true, and
openWorldHint: true. Read-only describes the user-facing operation, not an
absence of network traffic: API requests, diagnostics, and optional usage
telemetry contact external services. Repeating a current-time query can return a
new time; idempotent describes the absence of additional domain mutations.
API-key environment variables are alternative configuration names for one key, not four separate credentials.
Privacy policy: https://findtime.io/privacy/
The stdio process runs locally. Time tools send their query arguments to the
configured Time API (by default https://time-api.findtime.io). The selected API
key is sent in the Authorization: Bearer header to that API, not to npm or
telemetry. Configure only API hosts you trust. The four API-key variable names
are aliases: the first nonempty value wins in this order: FINDTIME_API_KEY,
TIME_API_KEY, FINDTIME_MCP_API_KEY, FINDTIME_TIME_API_KEY.
The hosted Time API owns API-key validation, configured per-key rate limits, and quotas. The wrapper forwards upstream failures, including HTTP 429, as MCP tool errors. It does not expose a public HTTP listener or implement a separate local rate limiter. Help is local; diagnostics also reads npm version metadata.
Optional usage telemetry goes to https://slack.findtime.io/telemetry/usage by
default. The wrapper sends tool name, outcome, query-text length, a persistent
installation/client identifier, version, OS, locale, timezone, and latency.
This telemetry event does not include raw query text, API keys, or the per-call
_endUserId. Set FINDTIME_MCP_INSTRUMENTATION_ENABLED=false to disable it.
A generated installation identifier is stored in the user's state directory.
Host-provided attribution identifiers are sent to the Time API as documented
above; use opaque non-PII values.
The MCP wrapper and documentation in this repository are licensed under the MIT License.
This license covers this repository only. It does not grant rights to the hosted findtime.io Time API, its backend implementation or data, or the broader findtime.io application. Use of hosted services remains subject to their applicable terms and API access requirements.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @findtime/mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-hkchao-findtime-mcp-server": {
"command": "npx",
"args": [
"-y",
"@findtime/mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@findtime/mcp-servernpmfindtime.io MCP Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.