Time.ir Calendar
概览
作者提供的说明(英文原文)
Read-only Time.ir Iranian calendar: Jalali/Gregorian/Hijri dates, holidays, events, prayer times.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 260/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
TIME_IR_MCP_PROXY
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"time-ir": {
"command": "uvx",
"args": [
"time-ir-mcp"
],
"env": {
"TIME_IR_MCP_PROXY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add time-ir --env TIME_IR_MCP_PROXY=your-value -- uvx time-ir-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"time-ir": {
"command": "uvx",
"args": [
"time-ir-mcp"
],
"env": {
"TIME_IR_MCP_PROXY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"time-ir": {
"type": "stdio",
"command": "uvx",
"args": [
"time-ir-mcp"
],
"env": {
"TIME_IR_MCP_PROXY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
TIME_IR_MCP_PROXYenvOptional HTTP proxy URL for the Time.ir requests; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 sepehr071 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3656 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3656 个服务器的 88% 更新
- 基础检查结果等于或优于此分类中其他 3656 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Time.ir Calendar 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.2.0)于3天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
time-ir-mcp: Time.ir Iranian calendar MCP server for AI agents
time-ir-mcp is an unofficial, read-only MCP server that gives AI agents the Iranian calendar of Time.ir (تایم، تقویم و ساعت ایران).
Its 13 tools give today's date in the Jalali, Gregorian and Hijri calendars, convert dates, show a month with its events,
list the occasions and official holidays of a day or a year, find the next holidays and return today's prayer times (اوقات شرعی) for Iranian cities, search occasions, count date differences and find long weekends.
No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.
For AI agents · Quick start · Tools · Good to know · فارسی
For AI agents
- What: unofficial MCP server (model context protocol) for time.ir: the date and time in Iran in three calendars, date conversion, official holidays, monthly and daily occasions (مناسبتها) and prayer times for Iranian cities.
- Install:
uvx time-ir-mcporclaude mcp add time-ir -- uvx time-ir-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
TIME_IR_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. Nothing is written anywhere, so no confirmation is needed before calling any tool.
- Tools: 13, all prefixed
ti_. Typical sequences:ti_today;ti_events(is it a holiday?);ti_upcoming_holidays;ti_cities->ti_prayer_times. - Use when: the user asks what the date is in Iran, to convert between Jalali (شمسی), Gregorian (میلادی) and Hijri (قمری) dates, whether a day is an official holiday, what occasions a day has, when the next holiday is, or the azan times of an Iranian city.
- Do not use when: the user wants other countries' holidays or times (Time.ir covers Iran's official calendar only).
- Output: compact JSON. Dates are
YYYY-MM-DDstrings in the Jalali, Gregorian and Hijri calendars; times are Iran local time (24 h). Titles and descriptions are Persian, as Time.ir has them.
Tools
| Tool | What it does |
|---|---|
ti_today | Get today's date in the Jalali, Gregorian and Hijri calendars with the Tehran time, weekday, zodiac sign and today's events |
ti_convert_date | Convert a date between the Jalali, Gregorian and Hijri calendars with time.ir's own converter |
ti_month | Show one Jalali month: Gregorian and Hijri spans, weekday of day 1, holidays, Fridays and every event |
ti_events | List the occasions and official holidays of one day, with a short description when time.ir has one |
ti_holidays | List all official holidays of a Jalali year with Gregorian and Hijri dates |
ti_upcoming_holidays | List the next official holidays in Iran with days until each |
ti_prayer_times | Get today's prayer times (fajr, sunrise, noon, sunset, maghrib, Islamic midnight, day length) for an Iranian city |
ti_cities | List Iran's provinces, or the cities of one province, with the ids the prayer tool takes |
ti_on_this_day | List today's historical events, births and deaths of notable people from time.ir's today page |
ti_search_events | Search all occasions of a Jalali year by keyword, holiday flag or calendar |
ti_date_difference | Count days between two dates and give Jalali years, months, days (age calculator) |
ti_long_weekends | Find runs of consecutive days off (holidays plus Fridays) in a Jalali year |
ti_qibla | Get the qibla bearing and distance to Mecca for an Iranian city (computed from the site's coordinates) |
All 13 tools are annotated readOnlyHint: true.
Quick start
You need uv. No API key or account.
claude mcp add time-ir -- uvx time-ir-mcp
Claude Desktop, Cursor, Windsurf and Gemini CLI take the same stdio entry:
{
"mcpServers": { "time-ir": { "command": "uvx", "args": ["time-ir-mcp"] } } }
Example prompts: "What is today's Jalali date?", "Is 25 December a holiday in Iran?", "When is the next official holiday?", "Convert 1405-01-01 to Gregorian and Hijri.", "Azan times in Mashhad today." «تاریخ امروز به شمسی چیست؟»، «اذان ظهر شیراز چه ساعتی است؟»، «تعطیلات رسمی بهمن ۱۴۰۵ کداماند؟»
How it works
time-ir-mcp runs locally and calls the same "server actions" the time.ir pages call (www.time.ir is a Next.js app; the site's server reads api.time.ir with its own key, which this server never sees). Requests go out through a Chrome-impersonating client, spaced at least one second apart, cached for 10 minutes (the current time is never cached), and only to www.time.ir. Action ids change when the site is redeployed; when the site rejects one, the server looks the new id up by function name in the site's scripts and retries once.
Good to know
- Iran's official calendar only. Holidays are Iran's; the Hijri date is Iran's (it can differ by a day from Saudi Arabia's). No world clock.
- Friday is the weekend and is not reported as a holiday on its own; a Friday that is also an occasion holiday is.
- Prayer times are for the Jalali date given (other calendars are converted first) in Iran local time. Cities that are not provincial capitals need
province. - Persian data. Titles and descriptions are Persian. Event descriptions are HTML on the site; the tool returns plain text, cut at 900 characters.
- Fragile by nature. The site has no public API; if it changes its pages, a tool can fail until the server is updated.
فارسی
time-ir-mcp یک سرور MCP غیررسمی و فقطخواندنی برای تایم (تقویم و ساعت ایران) است: تاریخ امروز به شمسی، میلادی و قمری، تبدیل تاریخ، مناسبتها و تعطیلات رسمی، و اوقات شرعی شهرهای ایران.
نصب (با uv): claude mcp add time-ir -- uvx time-ir-mcp. کلید API یا حساب لازم نیست. اگر شبکهٔ شما درخواستها را مسدود کرد، متغیر TIME_IR_MCP_PROXY را روی یک پراکسی HTTP بگذارید.
Development
uv sync
uv run ruff check . && uv run ruff format --check . uv run python -m pytest -q # offline tests on recorded time.ir answers uv run python -m pytest -m live -q # calls the real time.ir site uv build
Disclaimer
Unofficial and not affiliated with or endorsed by Time.ir or Radcom. It is read-only and uses the public pages of www.time.ir, which can change without notice. For religious or legal purposes check the official sources.
Author
Built and maintained by Sepehr Radmard (سپهر رادمرد). Connect on LinkedIn or follow @sepehr071 on GitHub for more MCP servers for Iranian websites, all listed in iran-mcp.