CodeTour
Enables creating interactive, narrated walkthroughs of GitHub pull requests by fetching PR metadata and diffs from the GitHub API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CodeTourGive me a narrated tour of pull request #42"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CodeTour
Animated, LLM-driven "explain like I'm five" tours of GitHub pull requests.
CodeTour is an MCP server paired with a local browser viewer. Claude (or any MCP-driving LLM) calls CodeTour's tools step by step; the viewer animates through the pull request — file tree, diffs, pulsing line highlights — while the narration is shown as captions and spoken aloud via the browser's built-in text-to-speech. Every stop links back to GitHub so viewers can dig into the detail themselves.
How it works
Claude ──(MCP stdio)──▶ codetour ──(WebSocket)──▶ your browser
│
└──(REST)──▶ GitHub APIThe LLM calls
get_pr_info/get_file_diffto read the PR through CodeTour, so its narration matches exactly what is displayed.start_touropens the viewer in your browser and waits for you to click Start (the click also enables audio).show_overviewand a series ofshow_stepcalls animate through the changes. Each call blocks until the narration finishes speaking, so the tour paces itself naturally.end_tourshows a closing summary with a link to the PR on GitHub.
Installation
Requires Python 3.11+ and uv.
git clone <this repo> && cd CodeTour
uv syncRegister with Claude Code at user scope, so the tools are available in every repo:
claude mcp add --scope user codetour -- uv --directory /path/to/CodeTour run codetourThen just ask:
Give me an executive tour of https://github.com/owner/repo/pull/123
The codetour skill
The repo ships a Claude Code skill (skills/codetour/SKILL.md)
that teaches Claude the craft of a good tour: auto-detecting the current branch's PR via
gh, planning 3–7 stops before opening the viewer, ELI5 narration style rules, and how
to recover when the viewer is closed. Install it by linking (or copying) it into your
personal skills directory:
ln -s /path/to/CodeTour/skills/codetour ~/.claude/skills/codetourWith the skill installed, a plain "tour this PR" in any repo does the right thing. Restart your Claude Code session after installing the MCP server or the skill.
GitHub authentication
Public PRs work unauthenticated (low rate limit). For private repos or a higher limit,
CodeTour uses the first of: GITHUB_TOKEN, GH_TOKEN, or the gh CLI's stored token
(gh auth login).
Configuration
Env var | Default | Meaning |
|
| Viewer port (probes upward if busy) |
| unset | Set to |
|
| Max changed files fetched per PR |
|
| Per-file diff cap before truncation |
Development
uv run pytest # unit tests
uv run ruff check . # lint
uv run codetour --demo # web viewer only, replays a canned tour on a loopDemo mode is the quickest way to iterate on the frontend: it needs no MCP client and no GitHub access — open the printed URL, click Start, and watch the canned tour.
MCP tools
Tool | Purpose |
| PR metadata + per-file hunk line ranges (call first) |
| Full parsed diff for one file |
| Open the viewer, wait for Start |
| PR summary card, spoken |
| Animated stop on a file/lines |
| Closing card with GitHub link |
| Diagnostics |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Browser-backed QA with evidence and fix-ready reports for coding agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/benstaniford/CodeTour'
If you have feedback or need assistance with the MCP directory API, please join our Discord server