agentusecases.aiAll 2,263 use cases
Software & DevOps

Run a notebook on a TPU via Colab MCP from Claude Code

A step-by-step setup connecting Claude Code to Google's hosted Colab MCP endpoint, running a notebook on a fresh TPU v5e-1 and then deleting it. · Nov 18, 2026

Done withCCClaude Code

What they did
The author got a token with the colaboratory scope from the Colab CLI login and enabled the API in a quota project. A headersHelper script passed both to Claude Code, since its built-in OAuth failed. A Python runner then created a TPU v5e-1 runtime, opened one session, sent each notebook cell to execute_code, and deleted the runtime in a finally block.
How it went
A v5e-1 was ready in 4 seconds, and a 26-cell Gemma 4 notebook ran clean in 901 seconds. Its answers matched the Colab CLI run. Output comes back as text only, so HTML output was lost.
Worth knowing
Streams close at 300 seconds and interrupt the kernel, so split any longer cell. A plain gcloud ADC token is rejected for lacking the scope.

Try it yourself with Claude Code

Connect yourself to Google's hosted Colab MCP endpoint, walking me through any authentication I need to do. Then run my notebook [path or Colab link] on a fresh [TPU v5e-1 or other runtime] and show me the output. When it finishes, tell me which runtime you created and ask me to confirm before you delete it.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

Read the original ↗

Source: DEV · Nov 18, 2026

Related use cases

  • CC

    Turn tickets into merged pull requests

    Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.

    Claude CodeCodex

  • CC

    Automate lead research, CRM updates and enrichment

    Claude Code handles repetitive prospecting-adjacent workflows like lead research, reporting, CRM updates and enrichment.

    Claude Code

  • CC

    Schedule events and draft legal documents

    Users used Claude Code for scheduling events through Notion MCP and for drafting and analyzing legal documents in markdown.

    Claude Code

  • CL

    Build a C compiler with a team of parallel agents

    Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.

    Claude

  • DE

    Build a WordPress marketing site from Figma overnight

    bnistordev connected Devin to a Figma file via MCP and had it build an entire WordPress marketing site overnight.

    Devin

  • CX

    Make GitHub profile and repos English-first

    Codex inventoried the account, backed up content, and updated the profile, descriptions and README navigation across 87 public repos, then verified the changes against GitHub.

    Submitted by SvenKunkka

    Codex

Keep browsing

All 326 Claude Code use casesAll 427 Software & DevOps use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us