Overview
What is Time MCP Server?
The Time MCP Server is a Model Context Protocol server that provides current time information in multiple formats (ISO, locale, Unix timestamp) with support for specified time zones, and enables searching books from the National Diet Library of Japan. It is designed for MCP clients such as Claude.
How to use Time MCP Server?
Clone the repository, run npm install and npm build, then start the server with npm start. Add the server’s built index.js path to your MCP client’s settings file (e.g., {"mcpServers":{"time":{"command":"node","args":["/path/to/example-mcp-server/dist/index.js"]}}}). Invoke tools such as get_current_time (with optional format and timezone parameters) or search_ndl_books (with required query and optional maxResults).
Key features of Time MCP Server?
- Get current time in ISO, locale, or Unix format.
- Support for specified time zones (e.g., Asia/Tokyo).
- Search books from the National Diet Library of Japan.
- Configurable maximum search results (default 10).
- Uses stdio transport, compatible with MCP clients.
Use cases of Time MCP Server?
- Fetching the current time in a specific timezone for reports or logs.
- Converting timestamps into ISO, locale, or Unix formats programmatically.
- Searching for Japanese books or authors via an MCP‑enabled assistant.
- Integrating real‑time temporal data or library lookup into AI workflows.
FAQ from Time MCP Server?
What tools does Time MCP Server provide?
It provides two tools: get_current_time for time retrieval and search_ndl_books for searching the National Diet Library catalog.
What time formats are supported?
The get_current_time tool supports three formats: "iso" (ISO 8601),