Time MCP Server logo

Time MCP Server

by katsuobushiFPGA

The Time MCP Server provides current time information in various formats and a tool to search books from the National Diet Library. It is designed to be compatible with MCP clients.

View on GitHub

Last updated: N/A

What is Time MCP Server?

The Time MCP Server is a server that provides current time information in various formats (ISO, locale, UNIX timestamp) and allows searching for books from the National Diet Library. It is designed to be used with Model Context Protocol (MCP) clients.

How to use Time MCP Server?

  1. Clone the repository. 2. Install dependencies using npm install. 3. Build the project using npm run build. 4. Run the server using npm start. 5. Configure your MCP client (e.g., Claude) to use the server by adding it to the MCP configuration file, specifying the command and arguments to execute the server.

Key features of Time MCP Server

  • Provides current time in ISO, locale, and UNIX timestamp formats

  • Supports specifying a timezone for time display

  • Allows searching for books from the National Diet Library

  • Compatible with MCP clients via stdio

  • Easy to install and use with npm

Use cases of Time MCP Server

  • Integrating current time information into applications

  • Searching for books from the National Diet Library programmatically

  • Using with AI models that require access to current time and library resources

  • Building custom tools that leverage time and library data

  • Automating tasks that involve time-based actions and library searches

FAQ from Time MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol for communication between applications.

What time formats are supported?

The server supports ISO, locale, and UNIX timestamp formats.

How do I specify the timezone?

You can specify the timezone using the timezone parameter when calling the get_current_time tool. For example: Asia/Tokyo.

What is the default time format?

The default time format is locale.

How do I search for books?

Use the search_ndl_books tool with a query parameter. You can also specify the maxResults parameter to limit the number of results.