Back to MCP Servers

Google Colab

Connect AI agents to Google Colab notebooks for running code, managing notebook cells, and executing data science workflows

googlecolabnotebooksdata-sciencecommunity

Installation

pip install colab-mcp

Configuration

{
  "mcpServers": {
    "google-colab": {
      "command": "uvx",
      "args": ["colab-mcp"],
      "env": {
        "GOOGLE_API_KEY": "your-google-api-key"
      }
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub