这是一个模型上下文协议(MCP)服务器,允许 Claude 访问和管理您的本地 Microsoft Outlook 日历(仅限 Windows)。
npm install -g outlook-calendar-mcp
您也可以直接使用 npx 运行而无需安装:
npx outlook-calendar-mcp
npm install
npm start
要将此工具与 Claude 一起使用,需要将其添加到您的 MCP 设置配置文件中。
在您的 Claude 桌面配置文件(位于 %APPDATA%\Claude\claude_desktop_config.json
)中添加以下内容:
{
"mcpServers": {
"outlook-calendar": {
"command": "outlook-calendar-mcp",
"args": [],
"env": {}
}
}
}

{
"mcpServers": {
"outlook-calendar": {
"command": "npx",
"args": ["-y", "outlook-calendar-mcp"],
"env": {}
}
}
}

{
"mcpServers": {
"outlook-calendar": {
"command": "node",
"args": ["path/to/outlook-calendar-mcp/src/index.js"],
"env": {}
}
}
}

在您的 Claude VSCode 扩展 MCP 设置文件(位于 %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
)中添加以下内容:
{
"mcpServers": {
"outlook-calendar": {
"command": "outlook-calendar-mcp",
"args": [],
"env": {}
}
}
}

{
"mcpServers": {
"outlook-calendar": {
"command": "npx",
"args": ["-y", "outlook-calendar-mcp"],
"env": {}
}
}
}

{
"mcpServers": {
"outlook-calendar": {
"command": "node",
"args": ["path/to/outlook-calendar-mcp/src/index.js"],
"env": {}
}
}
}

对于源代码安装,请将 path/to/outlook-calendar-mcp
替换为您实际安装此工具的路径。
配置完成后,Claude 将可以访问以下工具:
list_events - startDate: Start date in MM/DD/YYYY format - endDate: End date in MM/DD/YYYY format (optional) - calendar: Calendar name (optional)
示例:"列出我下周的日历事件"
create_event - subject: Event subject/title - startDate: Start date in MM/DD/YYYY format - startTime: Start time in HH:MM AM/PM format - endDate: End date in MM/DD/YYYY format (optional) - endTime: End time in HH:MM AM/PM format (optional) - location: Event location (optional) - body: Event description (optional) - isMeeting: Whether this is a meeting with attendees (optional) - attendees: Semicolon-separated list of attendee email addresses (optional) - calendar: Calendar name (optional)
示例:"周五下午 2 点与 John 关于项目提案的会议"
find_free_slots - startDate: Start date in MM/DD/YYYY format - endDate: End date in MM/DD/YYYY format (optional) - duration: Duration in minutes (optional) - workDayStart: Work day start hour (0-23) (optional) - workDayEnd: Work day end hour (0-23) (optional) - calendar: Calendar name (optional)
示例:"这周我什么时候有空进行 1 小时的会议?"
get_attendee_status - eventId: Event ID - calendar: Calendar name (optional)
示例:"谁还没有回复我的团队会议邀请?"
重要提示:当使用需要事件 ID 的操作(如 update_event, delete_event, get_attendee_status)时,必须使用 list_events 响应中的
id
字段。这是 Outlook 用来标识事件的唯一 EntryID。
update_event - eventId: Event ID to update - subject: New event subject/title (optional) - startDate: New start date in MM/DD/YYYY format (optional) - startTime: New start time in HH:MM AM/PM format (optional) - endDate: New end date in MM/DD/YYYY format (optional) - endTime: New end time in HH:MM AM/PM format (optional) - location: New event location (optional) - body: New event description (optional) - calendar: Calendar name (optional)
示例:"将我明天的团队会议时间从下午 2 点改为下午 3 点"
get_calendars
示例:"显示我可用的日历"
我们欢迎对 Outlook Calendar MCP 工具做出贡献!请参阅我们的贡献指南以了解如何开始。
通过参与此项目,您同意遵守我们的行为准则。
此项目根据 MIT 许可证许可 - 详情请参见LICENSE文件。