
Claude Bridge Mcp
io.github.rahuljava2807Published by GitHub account rahuljava2807v2.2.0Updated Nov 3, 2026
Pipes Claude Code session output into Claude Chat — no more copy-paste between tools
The publisher's own server: Claude Platform Docs
Overview
Local MCP server that reads Claude Code session logs and exposes them to any MCP client, so assistant output can be pulled into Claude Chat without copy-paste.
- What you can do
- List and inspect local Claude Code sessions with project path, message count and timestamps
- Read the latest assistant message or the last N messages from a session for context
- Poll a session file and return only new messages since the previous call
- Snapshot recent messages to local markdown files and keep them refreshed on a timer
- Optionally upsert the snapshot to a Google Doc via the Drive API
- Queue a prompt for a specific Claude Code session through a filesystem inbox
- When to use it
- Useful when you work in Claude Code in a terminal and want Claude Chat, Claude Desktop, Cursor or a Claude Project to see what that session just did, or to hand a follow-up prompt back to it, without copying text between tools.
- Requirements
- Runs as a local Node.js process over stdio, installed from npm or built from source. Needs Claude Code session logs under the home directory's .claude/projects folder. Google Drive upload is optional and requires GOOGLE_DRIVE_ENABLED=true, a Google Cloud OAuth desktop client JSON and a one-time browser consent step. Desktop only.
Installation
In SourceWeft
- Open Claude Bridge Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
claude-code-bridge-mcp
[npm version] [License: MIT] [Node.js]
MCP server that pipes Claude Code session output directly into Claude Chat — no more copy-paste between tools.
claude-code-bridge-mcp is a Model Context Protocol (MCP) server that reads Claude Code's local session logs from ~/.claude/projects/<project-hash>/ and exposes them as tools to any MCP-compatible client (Claude Desktop, Claude Chat, Cursor, etc.). Run Claude Code in your terminal and pull its latest output into Claude Chat with a single tool call.
Features
get_latest_output— grab the most recent assistant message from any (or the most-recent) Claude Code session.list_sessions— enumerate all local sessions with project path, message count, and timestamps.get_session_context— fetch the last N messages from a session for context injection.watch_session— poll a session file every 2 seconds and drain new messages on demand.write_context(v2) — snapshot the last N messages into~/.claude/bridge-context.mdand~/Documents/claude-bridge-context.mdas clean markdown.start_auto_sync(v2) — keep that markdown snapshot live: rewrites both files every 30 seconds (configurable) so a synced folder stays current without manual calls.setup_drive_sync(v2.1) — authorize direct Google Drive upload. Each sync tick then upserts a Google Doc namedclaude-bridge-contextvia the Drive API — no Drive desktop client required.send_to_session(v2.2) — queue a prompt for a specific Claude Code session via a cooperative inbox at~/.claude/bridge-inbox/<session_id>.txt. Closes the read-only gap: Projects Claude → inbox → Claude Code acts on it.
What's new in v2.2 — send_to_session (cooperative dispatch)
v1 read sessions. v2 wrote context out to Drive. v2.2 lets the other side push prompts back in.
send_to_session overwrites ~/.claude/bridge-inbox/<session_id>.txt with the latest prompt and writes a human-readable receipt to ~/.claude/bridge-inbox/latest.md. The target Claude Code session picks it up via a one-time setup instruction that send_to_session returns in its response — paste that once into your Claude Code terminal (or add it to your project's CLAUDE.md) and every subsequent prompt arrives automatically.
Why cooperative instead of direct injection: Claude Code's JSONL is append-only from the CLI's perspective — it doesn't re-read the file mid-session. A real dispatch channel exists (POST /v1/sessions/{id} via Anthropic's relay, the same channel /remote-control uses) but is undocumented and requires reading the CLI's OAuth token from the macOS Keychain. Shipping against an undocumented internal API would break on every Claude Code release and leak credentials from every install — so v2.2 uses the filesystem inbox instead. See GitHub issue for the v3 path.
Example:
dry_run: true returns the same shape without touching the filesystem.
What's new in v2 — Google Drive bridge
Claude Projects can't talk to an MCP server directly, but it can read files from a connected Google Drive. v2 closes that loop:
No more copy-paste, and it works inside Projects too.
Workflow:
- Make
~/Documents(or any subfolder holdingclaude-bridge-context.md) part of your Google Drive sync. - Add this MCP server to Claude Desktop, Claude Code, or any MCP client.
- In that client, call
start_auto_synconce — it returns immediately and keeps the markdown fresh in the background. - In a Claude Project, add Google Drive as a source and point it at
claude-bridge-context.md. Ask Projects Claude what Claude Code is up to — it reads the live file.
What's new in v2.1 — Direct Drive API upload
v2 relied on the Google Drive desktop client to sync ~/Documents/claude-bridge-context.md up to Drive. v2.1 removes that dependency: the MCP server now talks to the Drive API itself and upserts a Google Doc named claude-bridge-context every sync tick.
Setup (one time):
-
Create OAuth credentials in Google Cloud Console:
- Go to console.cloud.google.com, create a project (or use an existing one).
- Enable the Google Drive API for the project.
- Under APIs & Services → Credentials, create an OAuth client ID of type Desktop app.
- Download the client JSON and save it to
~/.claude/bridge-google-credentials.json.
-
Enable the Drive sync and (re)start the MCP server with
GOOGLE_DRIVE_ENABLED=truein its environment. In Claude Desktop'sclaude_desktop_config.json: -
Call the
setup_drive_synctool from any connected client. It opens a browser tab for Google consent, saves the refresh token to~/.claude/bridge-google-token.json, and performs an initial upload. The response includes the Doc URL. -
Call
start_auto_sync. From now on, every tick writes the local markdown and pushes the same content to the Google Doc. The refresh token is reused silently on future server restarts.
What the user sees:
- A single Google Doc in Drive root named
claude-bridge-context, live-updated every 30s with the most recent Claude Code session output. - Add it as a source to any Claude Project, or open it directly — no Drive desktop client, no copy-paste.
Opting out: Omit GOOGLE_DRIVE_ENABLED (or set it to anything other than true) and the server behaves exactly like v2 — local markdown only, no Drive calls.
Installation
Add it to Claude Desktop
Edit claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop. The claude-bridge tools will appear in the tool picker.
Usage
Typical workflow:
- Run
claudein a terminal to start a Claude Code session and do some work. - In Claude Chat, ask:
"Use
list_sessionsto find my most recent Claude Code session, then callget_latest_outputon it and summarize what Claude Code just did." - For continuous streaming during a long-running Claude Code task, call
watch_sessionrepeatedly — each call returns only new messages since the last call.
Example tool call
Claude Code log format
Sessions are stored as JSONL at:
Each line is one JSON event with fields like type, role, content, and timestamp. The parser tolerates variations in shape and extracts assistant text from both string and content-block payloads.
Development
License
MIT — see LICENSE.
Source: README.md at commit 28ff778
Tools
0Version history
1- v2.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Claude integrations
Claude Platform Docs
com.claude.platformOfficial publisher
Remote MCP server that lets an assistant search and read the Claude Platform documentation and API reference.

Insta Edits for Claude
Published by GitHub account faisalkhanzemi
Bridges Claude Code to Instagram Edits for Mac, keeping the full 274-tool video editor in sync so an assistant can edit Reels.

Claude Checkpoint Mcp
Published by GitHub account daniel-munoz
Local MCP server that saves a Claude Code session's working state to a JSON file in the project and turns it back into a compact resume brief.

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
Published by GitHub account spk-c
Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen's local MCP server; no sign-in required; STDIO; 18 tools.

AVE for Claude Code — Local Video Editing
Published by GitHub account lemberalla
Local AVE timeline editing and exports for Claude Code only. Existing AVE connection required.