
yokingma/time-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
yokingma/time-mcp - кандидат на сервер MCP, импортированный из https://github.com/yokingma/time-mcp.
Обзор
yokingma/time-mcp - кандидат на сервер MCP, импортированный из https://github.com/yokingma/time-mcp.
Обзор (машинный перевод)
Реализация сервера Model Context Protocol (MCP), которая позволяет LLM-системам иметь возможности осознания времени.
Инструменты
- [[Т0]]: Получить текущее время (UTC и местное время)
- [[Т1]]: Относительное время
- [[Т2]]: Получить метки времени для времени
- [[Т3]]: Получить дни в месяц
- [[Т4]]: Преобразование времени между часовыми поясами
- [[Т5]]: Выберите неделю и IsoWeek года
##Установка
###Установка через Smithery
Чтобы установить Time-Mcp для Claude Desktop автоматически через Smithery:
ручная установка (необязательно)
Использование npx
##Бег по коду Клода
Чтобы добавить time-mcp в Claude Code, используйте следующую команду:
Для проверки установки:
Вы должны увидеть Time-Mcp, указанный с ✓ Подключенным статусом.
Использование кода Клода
После установки вы можете использовать инструменты time-mcp в разговорах с Claude Code. Например:
- “Какое сейчас время?”
- “Обратить 2:00 вечера из Нью-Йорка в токийское время” “Сколько дней в этом месяце?”
- “Какая сейчас неделя года?”
Сервер Time-Mcp автоматически предоставляет Клоду точную информацию о времени.
##Бег по курсору
Файл [6] будет выглядеть так:
Бег в виндсерфинге
Добавьте это к своему '.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
🚀 Time MCP Server: Giving LLMs Time Awareness Capabilities
A Model Context Protocol (MCP) server implementation that allows LLMs to have time awareness capabilities.
Tools
current_time: Get current time (UTC and local time)relative_time: Get relative timeget_timestamp: Get timestamp for the timedays_in_month: Get days in monthconvert_time: Convert time between timezonesget_week_year: Get week and isoWeek of the year
Installation
Installing via Smithery
To install time-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @yokingma/time-mcp --client claude
Manually install (Optional)
npm install -g time-mcp
using npx
npx -y time-mcp
Running on Claude Code
To add time-mcp to Claude Code, use the following command:
claude mcp add time-mcp -- npx -y time-mcp
To verify the installation:
claude mcp list
You should see time-mcp listed with a ✓ Connected status.
Usage in Claude Code
Once installed, you can use time-mcp tools in your conversations with Claude Code. For example:
- “What time is it now?”
- “Convert 2:00 PM from New York to Tokyo time”
- “How many days are in this month?”
- “What week of the year is it?”
The time-mcp server will automatically provide accurate time information to Claude.
Running on Cursor
Your mcp.json file will look like this:
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}
Running on Windsurf
Add this to your ./codeium/windsurf/model_config.json file:
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}
License
MIT License - see LICENSE file for details.
Установка
npx -y time-mcpКонфигурация
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}