MCP.so
登录

DateTime Tools for Langflow

@natapone

关于 DateTime Tools for Langflow

Test Simple MCP server

基本信息

分类

开发工具

运行时

python

传输方式

stdio

发布者

natapone

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is DateTime Tools for Langflow?

A custom component for Langflow that provides datetime-related tools with timezone support, including getting the current date/time and week number.

How to use DateTime Tools for Langflow?

Copy the contents of langflow_component.py, open Langflow, click "+ Custom Component", paste the code, and click "Check & Save". Then instantiate DateTimeTools() and call get_current_datetime(timezone) or get_week_number(timezone).

Key features of DateTime Tools for Langflow

  • Get current date and time with timezone support
  • Get current week number with timezone support
  • Simple error handling for invalid timezones

Use cases of DateTime Tools for Langflow

  • Display current time in a specific timezone in a Langflow workflow
  • Calculate the current week number for scheduling or reporting applications
  • Validate and handle timezone inputs in custom Langflow components

FAQ from DateTime Tools for Langflow

What timezones does DateTime Tools for Langflow support?

It supports all timezones available in the IANA Time Zone Database, such as UTC, America/New_York, America/Los_Angeles, Europe/London, Asia/Tokyo, and Australia/Sydney.

How does error handling work for invalid timezones?

Invalid timezones will return an error message for date/time requests or -1 for week number.

What dependencies are required?

The component requires the Python packages pytz and datetime (built-in) to be installed in your Langflow environment.

How do I install DateTime Tools for Langflow?

Copy the component code from langflow_component.py, open Langflow, click the "+ Custom Component" button, paste the code into the editor, and click "Check & Save".

评论

开发工具 分类下的更多 MCP 服务器