DateTime MCP Server
@bossjones
关于 DateTime MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"datetime-mcp-server": {
"command": "uv",
"args": [
"venv"
]
}
}
}工具
3Add a new note with a name and content
Get the current time in various formats (ISO, readable, Unix timestamp, RFC3339)
Format a date string according to a specified format pattern
概览
What is DateTime MCP Server?
A MCP (Model Context Protocol) server that provides datetime functionality along with simple note management. It implements the MCP protocol and can be used by any MCP client to access date and time information and manage notes.
How to use DateTime MCP Server?
Clone the repository, create a virtual environment with uv, and install dependencies using uv sync. Run the server with uv run python -m datetime_mcp_server.server. Connect using any MCP client, for example uv run mcp connect datetime-mcp-server. The server listens on stdin/stdout for MCP protocol messages.
Key features of DateTime MCP Server
- Provides datetime resources: current time, today’s date, current time in 24h format.
- Allows note management via
note://internal/{name}resources. - Offers tools:
add-note,get-current-time(ISO, readable, Unix timestamp, RFC3339),format-date. - Includes prompts:
summarize-notes,schedule-event. - Implements MCP protocol for client integration.
Use cases of DateTime MCP Server
- Retrieve current date/time in multiple formats from an MCP client.
- Format a date string with a custom pattern.
- Store and retrieve simple notes by name.
- Summarize all notes or schedule an event with a prompt.
- Integrate datetime and note capabilities into AI assistant workflows.
FAQ from DateTime MCP Server
How do I install and run DateTime MCP Server?
Clone the repo, create a virtual environment, and run uv sync to install dependencies. Start the server with uv run python -m datetime_mcp_server.server.
What data does the server provide?
It provides current date/time, today’s date in ISO format, current time in 24-hour format, and user-created notes.
How can I add a note or get the current time?
Use the add-note tool with name and content, or get-current-time with a format parameter (iso, readable, unix, rfc3339).
What dependencies are required?
Python, uv (package manager), and a virtual environment. All dependencies are managed via uv sync and a lockfile.
How can I debug the server?
Use the MCP Inspector by running npx @modelcontextprotocol/inspector uv --directory ... run datetime-mcp-server. It provides a browser-based debugging interface.
其他 分类下的更多 MCP 服务器
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
评论