原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Calendar MCP

作者:deciduus版本 1.0.1i★ –i在你的电脑上运行
注册名称io.github.deciduus/calendar-mcp

安装

概览

作者提供的说明(英文原文)

Google Calendar for LLM agents: find, create, update, move, delete events; free/busy; scheduling.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公
  • 你需要填写:GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, TOKEN_FILE_PATH

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "calendar": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "your-value",
        "GOOGLE_CLIENT_SECRET": "your-value",
        "TOKEN_FILE_PATH": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add calendar --env GOOGLE_CLIENT_ID=your-value --env GOOGLE_CLIENT_SECRET=your-value --env TOKEN_FILE_PATH=your-value -- uvx calendar-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "calendar": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "your-value",
        "GOOGLE_CLIENT_SECRET": "your-value",
        "TOKEN_FILE_PATH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "calendar": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "your-value",
        "GOOGLE_CLIENT_SECRET": "your-value",
        "TOKEN_FILE_PATH": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GOOGLE_CLIENT_ID 必填 env
    OAuth 2.0 client ID for a Google Cloud project with the Google Calendar API enabled.
  • GOOGLE_CLIENT_SECRET 机密 必填 env
    OAuth 2.0 client secret matching GOOGLE_CLIENT_ID.
  • TOKEN_FILE_PATH env
    Path to the saved OAuth token file written by 'calendar-mcp auth'.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 deciduus 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3599 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3599 个服务器的 32% 更新
  • 基础检查结果等于或优于此分类中其他 3599 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Calendar MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.1)于2个月前进入注册中心。

哪些应用可以使用它?

支持 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

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

作者:BuilderIO广泛使用★ 76202个月前更新

在云端运行

Excel MCP Server

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

作者:haris-musa广泛使用↓ 5万/周★ 42768天前更新

在你的电脑上运行

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne正在增长↓ 4321/周★ 8475天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

calendar-mcp

An MCP server that gives an LLM client read and write access to your Google Calendar. It runs as a single process — stdio by default, streamable HTTP optionally — and exposes 23 tools with structured output: listing and searching calendars and events, creating, updating, moving, RSVPing to and deleting events, free/busy queries, busyness analysis, recurring-event projection, and finding a mutual slot and booking it. On top of that it has a scheduling brain that knows your working hours: finding and booking focus time, detecting double-bookings across several accounts at once, proposing better times for a meeting, and auditing where your week actually went. Authentication is Google OAuth 2.0 (Desktop app flow); tokens are cached locally, per account, and refreshed automatically.

A calendar task, end to end

Synthetic example, backed by offline tests; no real calendar data or live booking. Assume Thursday working hours of 09:00–17:00 UTC, one meeting at 11:00–12:00, no lunch or buffer, and a 60-minute minimum focus block.

“Find six hours of focus time on January 1, 2026. Show me the blocks first.”

An MCP client can call:

{

"tool": "block_focus_time", "arguments": { "time_min": "2026-01-01T00:00:00Z", "time_max": "2026-01-02T00:00:00Z", "hours_needed": 6, "dry_run": true } }

The preview selects 09:00–10:00 and 12:00–17:00: six hours, with the last selected block trimmed to the remaining hour. Both events have created: false. After the user approves the times, the client can call with dry_run: false; availability is read again before creating events. A preview does not reserve a slot.

Design decision: unknown availability is not free time. If a checked calendar returns an access error, disappears from the response, or has unreadable busy intervals, focus search and booking return an error before writing anything. The same check protects mutual scheduling and reschedule suggestions/application. For example, a notFound response for work@example.com becomes:

Availability is unknown: work@example.com: notFound. No scheduling changes were made.

Restore calendar access or retry the query.

Reproduce the preview and the safety regression without Google credentials (after the development install):

pytest -q tests/test_scheduling.py -k 'focus_time_dry_run or focus_refuses_unknown'

The regression verifies that partial, missing and errored availability never calls create_event, in both preview and booking modes. Successful empty busy lists still mean genuinely free time. Availability checks and writes are separate Google API calls, so another client can still book a competing event between them.

Quick start

1. Create Google OAuth credentials. In the Google Cloud console, enable the Google Calendar API, then create an OAuth client ID of type Desktop app. Copy the client ID and secret. (Details in Google Cloud setup.)

2. Set them in your environment, or in a .env file in the directory you run from (see example.env):

GOOGLE_CLIENT_ID='...'

GOOGLE_CLIENT_SECRET='...'

3. Sign in once, then add the server to your client:

uvx calendar-mcp-server auth

This opens a browser and saves a token in the config directory (see Accounts); if you already have a .gcp-saved-tokens.json or set TOKEN_FILE_PATH, that file is used instead. Verify it with calendar-mcp check. Add more Google accounts with calendar-mcp auth --account work. After that the server runs non-interactively — it never opens a browser on its own unless you set CALENDAR_MCP_ALLOW_BROWSER_AUTH=1.

The PyPI distribution is calendar-mcp-server. It installs two identical console scripts, calendar-mcp and calendar-mcp-server, so uvx calendar-mcp-server and a local calendar-mcp are the same command.

Client configuration

Claude Code

claude mcp add calendar \

--env GOOGLE_CLIENT_ID=... \ --env GOOGLE_CLIENT_SECRET=... \ -- uvx calendar-mcp-server

Claude Desktop — claude_desktop_config.json:

{

"mcpServers": { "calendar": { "command": "uvx", "args": ["calendar-mcp-server"], "env": { "GOOGLE_CLIENT_ID": "...", "GOOGLE_CLIENT_SECRET": "...", "TOKEN_FILE_PATH": "/absolute/path/to/.gcp-saved-tokens.json" } } } }

Cursor — .cursor/mcp.json (project) or ~/.cursor/mcp.json (global): same mcpServers block as above.

Any other client that speaks the standard mcpServers JSON takes the same entry. TOKEN_FILE_PATH is optional now that tokens default to the OS config directory, which does not depend on the working directory the client picks — but if you do set it, make it an absolute path.

Remote / HTTP mode

calendar-mcp --transport http --host 127.0.0.1 --port 8000

The MCP endpoint is then http://127.0.0.1:8000/mcp (change the path with --path).

There is no authentication layer on the HTTP transport yet. Anyone who can reach the endpoint gets full access to the calendar the saved token belongs to. Bind it to loopback, or expose it only behind a trusted reverse proxy that authenticates, or on a private network such as a tailnet. Do not put it on a public interface.

Tools

Read-only tools never change anything. "Writes" tools create or modify events; delete_event is the only one that destroys data.

Calendars and events

ToolDescription
list_calendarsreadList the calendars the user can see, with IDs and timezones.
find_eventsreadSearch a calendar for events, expanding recurring series into instances.
check_attendee_statusreadReport who accepted, declined or has not answered an invitation.
query_free_busyreadBusy intervals for one or more calendars, without event details.
analyze_busynessreadPer-day event count and total scheduled minutes over a range.
project_recurring_eventsreadCompute future occurrences from recurrence rules.
create_calendarwritesCreate a new secondary calendar.
create_eventwritesCreate an event with explicit start/end times and optional attendees.
quick_add_eventwritesCreate an event from a plain-English phrase, parsed by Google.
update_eventwritesChange fields on an event; omitted fields are left untouched.
move_eventwritesReschedule an event, and/or move it to another calendar.
add_attendeewritesInvite one or more people to an existing event.
respond_to_eventwritesSet your own RSVP (accepted/declined/tentative/needsAction).
schedule_mutualwritesFind the first slot where everyone is free, then book it.
`delete_event`destroysPermanently delete an event. Asks the client to confirm via elicitation when supported.

Scheduling brain — these read your saved preferences (working hours, lunch, buffer, minimum focus block).

ToolDescription
find_focus_timereadUninterrupted blocks in a window that could be used for deep work, longest first.
detect_conflictsreadDouble-bookings and too-tight transitions, across every signed-in account at once.
time_auditreadWhere the time went: meeting hours, by size, domain, recurrence and person.
suggest_reschedulewrites *(opt-in)*Ranked better times for an existing meeting. Suggests only, unless apply: true.
block_focus_timewritesBook the best free blocks as focus time. dry_run: true to preview.

Local configuration — no Google call, no account argument.

ToolDescription
list_accountsreadThe accounts you have signed in, and which is the default.
get_preferencesreadWorking hours, lunch, buffer, minimum focus block, focus calendar.
set_preferenceswritesUpdate and save those preferences. Local file only.

Every calendar tool takes an optional trailing account argument (detect_conflicts takes accounts, a list, because checking several at once is the point). All times are ISO 8601 strings — a naive timestamp is interpreted in the target calendar's own timezone.

Scheduling brain

The five scheduling tools share one idea: your calendar is not the same as your availability. They start from your working hours, subtract lunch, subtract what is already booked, and subtract the buffer you want around meetings — then reason about what is left.

Prompts that exercise them:

  • "Find me six hours of focus time next week and block it out — show me the times first."
  • "Is anything double-booked between my work and personal calendars this week?"
  • "My Thursday is back-to-back. Suggest better times for the design review."
  • "Where did my time go last month? Who am I spending it with?"
  • "I need a 90-minute deep work block before Friday. Is there one?"

find_focus_time reports what exists; block_focus_time defends it by creating events (busy, reminders off, nobody notified), trimming the last block so it books exactly the hours you asked for rather than a whole afternoon. detect_conflicts separates genuine overlaps from *tight* transitions that merely break your buffer, and ignores events you declined, events marked free, and (by default) all-day entries. suggest_reschedule keeps the meeting's duration, ranks candidate slots by fewest attendee conflicts and prefers the event's current day, and moves nothing unless you pass apply: true.

Time audit

time_audit answers "how much of my week is meetings?" in one pass, grouped by day or week:

2026-08-01 .. 2026-09-01, Europe/Berlin, grouped by week

Meetings: 41.5 h across 63 meetings Working hours: 152.0 h available (lunch removed) In working hours: 38.0 h -> 25% of the week Busiest week: 2026-W34, 14.0 h Heaviest day: 2026-08-20, 6.5 h By size: 1:1 18.0 h | small 15.5 h | large 8.0 h By recurrence: recurring 26.0 h | one-off 15.5 h Top people: a.schmidt@example.com 9.0 h | j.lee@example.com 7.5 h

Declined meetings, events marked free and all-day entries are left out by default; include_declined and include_all_day bring them back.

Safety
  • `delete_event` is the only destructive tool. It asks the client to confirm through MCP elicitation when the client supports it, and proceeds normally when it does not.
  • `block_focus_time` takes `dry_run`. Run it with dry_run: true to see the exact blocks it would book before anything is written. The destination calendar is always included in the availability check.
  • Scheduling fails closed on unknown availability. Focus search/booking, both mutual-scheduling paths, and reschedule suggestions/application require readable availability for every checked calendar. Errors are returned before writes, rather than warnings after booking. Restore access or retry before scheduling. Default focus-calendar discovery also refuses an incomplete, paginated calendar list; supply an explicit complete list with calendar_ids / check_calendar_ids in that case.
  • `suggest_reschedule` does not move anything by default. apply is false and has to be set explicitly, once the user has agreed to a time.
  • Everything else that writes is additive — creating or editing an event — and update_event leaves fields you omit untouched.
  • `list_accounts`, `get_preferences` and `set_preferences` never touch Google. They read and write local files in the config directory.

Accounts

You can sign in more than one Google account and pick between them per call.

calendar-mcp auth                    # the default account

calendar-mcp auth --account work # a second, named account calendar-mcp accounts

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx