Google Calendar MCP server

Integrates the Google Calendar API to enable querying, creation, and modification of calendar entries and events.
Back to servers
Setup instructions
Provider
Elias Rissanen Uran
Release date
Dec 13, 2024
Language
TypeScript
Package
Stats
680 downloads
3 stars

This server provides integration between Claude and Google Calendar through the Model Context Protocol (MCP). You can ask Claude to create events, check your availability, and manage your calendar through natural language commands, making it much easier to organize your schedule.

Requirements

  • Node.js >= v18.0.0
  • Claude Desktop

Installation

MacOS Installation

  1. Run the following command in your terminal:

    npx mcp-server-google-calendar init
    
  2. You'll need to set up a Google Cloud project to enable the Google Calendar API. Google requires this authentication step to allow the MCP server to access your calendar data.

  3. After completing the setup, restart Claude Desktop.

  4. The installation is complete. You can now interact with your Google Calendar through Claude.

Using Google Calendar MCP

Once installed, you can manage your calendar by asking Claude questions or giving commands in natural language. Here are some examples of what you can ask:

  • "Give me a list of all my events this week"
  • "Create an event called 'Chill' whenever I have time on Monday after 8pm"
  • "Check whenever both me and Arian are free this week between 9am and 5pm and schedule a meeting called 'Going over MCP'"

Example Commands

Simply type your calendar-related requests directly to Claude in plain language. The MCP server handles the translation between your natural language commands and the Google Calendar API.

Troubleshooting

If Claude doesn't seem to be connecting with your Google Calendar:

  1. Verify that Claude Desktop is running
  2. Ensure you've completed the Google Cloud project setup
  3. Try restarting Claude Desktop
  4. Check that you're using Node.js v18.0.0 or higher

Platform Support

Currently, this MCP server is fully supported on macOS. Windows and Linux support are coming soon.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "mcp-server-google-calendar" '{"command":"npx","args":["mcp-server-google-calendar"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "mcp-server-google-calendar": {
            "command": "npx",
            "args": [
                "mcp-server-google-calendar"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "mcp-server-google-calendar": {
            "command": "npx",
            "args": [
                "mcp-server-google-calendar"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later